From 5aa64d8ee670dd7965a81c50fb2dd3d4ea1afb6c Mon Sep 17 00:00:00 2001 From: ijliao Date: Thu, 17 May 2001 07:34:47 +0000 Subject: installs examples and docs Bump PORTREVISION PR: 27083 Submitted by: Dimitry Andric --- net/socks5/Makefile | 12 ++++++++++-- net/socks5/pkg-plist | 16 +++++++++++++++- 2 files changed, 25 insertions(+), 3 deletions(-) (limited to 'net') diff --git a/net/socks5/Makefile b/net/socks5/Makefile index 14d885752686..af207b1d9242 100644 --- a/net/socks5/Makefile +++ b/net/socks5/Makefile @@ -7,7 +7,7 @@ PORTNAME= socks5 PORTVERSION= 1.0.11 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net security DISTNAME= socks5-v1.0r11 @@ -33,9 +33,17 @@ CONFIGURE_ARGS= --with-libconffile=${PREFIX}/etc/libsocks5.conf \ --with-srvidtfile=/var/run/socks5.ident \ ${EXTRA_CONFIGURE_ARGS} MAN1= runsocks.1 socks5.1 stopsocks.1 socks5_clients.1 -MAN5= libsocks5.conf.5 socks5.conf.5 +MAN5= libsocks5.conf.5 socks5.conf.5 socks5.passwd.5 CONFIGURE_ENV= LIBS=-lcrypt +.if !defined(NOPORTDOCS) +post-install: + @${MKDIR} ${PREFIX}/share/examples/socks5 + ${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/socks5 + @${MKDIR} ${PREFIX}/share/doc/socks5 + ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/socks5 +.endif + .include .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) diff --git a/net/socks5/pkg-plist b/net/socks5/pkg-plist index 81193bb83360..a2e73a15cf39 100644 --- a/net/socks5/pkg-plist +++ b/net/socks5/pkg-plist @@ -9,6 +9,20 @@ bin/rtelnet bin/rtraceroute bin/rwhois include/socks.h -man/man5/socks5.passwd.5 lib/libsocks5.a lib/libsocks5_sh.so +%%PORTDOCS%%share/examples/socks5/README +%%PORTDOCS%%share/examples/socks5/multiple_server.example +%%PORTDOCS%%share/examples/socks5/server_2_multiple_server.example +%%PORTDOCS%%share/examples/socks5/single_homed_host.example +%%PORTDOCS%%share/examples/socks5/socks5.conf.dualhomed +%%PORTDOCS%%share/examples/socks5/socks5.conf.gssapi +%%PORTDOCS%%share/examples/socks5/socks5.conf.multipleservers +%%PORTDOCS%%share/examples/socks5/socks5.conf.server2server +%%PORTDOCS%%share/examples/socks5/socks5.conf.singlehomed +%%PORTDOCS%%@dirrm share/examples/socks5 +%%PORTDOCS%%share/doc/socks5/rfc1928.txt +%%PORTDOCS%%share/doc/socks5/rfc1929.txt +%%PORTDOCS%%share/doc/socks5/rfc1961.txt +%%PORTDOCS%%share/doc/socks5/socks.faq +%%PORTDOCS%%@dirrm share/doc/socks5 -- cgit