aboutsummaryrefslogtreecommitdiff
path: root/net/socks5
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-05-17 07:34:47 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-05-17 07:34:47 +0000
commit99990b94b57ef7e7a08943ddc001cfdc3e1c9b70 (patch)
treec5bfbc1539ef255a65bd5ce8512ab326aaae728e /net/socks5
parentff5e6dff63bb9be1dcbc7bbdf84e85b0b114321d (diff)
downloadports-99990b94b57ef7e7a08943ddc001cfdc3e1c9b70.tar.gz
ports-99990b94b57ef7e7a08943ddc001cfdc3e1c9b70.zip
Notes
Diffstat (limited to 'net/socks5')
-rw-r--r--net/socks5/Makefile12
-rw-r--r--net/socks5/pkg-plist16
2 files changed, 25 insertions, 3 deletions
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 <bsd.port.pre.mk>
.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