aboutsummaryrefslogtreecommitdiffstats
path: root/net/socks5
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-05-17 15:34:47 +0800
committerijliao <ijliao@FreeBSD.org>2001-05-17 15:34:47 +0800
commit5aa64d8ee670dd7965a81c50fb2dd3d4ea1afb6c (patch)
treeb3af1152649942b216fb476f50503443b1cc8caa /net/socks5
parent35b60f2e33a7730e4c6dd53deea946c5189553a2 (diff)
downloadfreebsd-ports-gnome-5aa64d8ee670dd7965a81c50fb2dd3d4ea1afb6c.tar.gz
freebsd-ports-gnome-5aa64d8ee670dd7965a81c50fb2dd3d4ea1afb6c.tar.zst
freebsd-ports-gnome-5aa64d8ee670dd7965a81c50fb2dd3d4ea1afb6c.zip
installs examples and docs
Bump PORTREVISION PR: 27083 Submitted by: Dimitry Andric <dim@xs4all.nl>
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