aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2024-01-21 17:09:11 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2024-01-21 17:43:26 +0000
commit6edcf0a9edb3742edf00e291a7eb0be954fdba96 (patch)
treede674ee81577616e0ad21c625b03adb6c491a871
parent56e96750419cbae8ad13016a42f800325d4f5ccc (diff)
downloadports-6edcf0a9edb3742edf00e291a7eb0be954fdba96.tar.gz
ports-6edcf0a9edb3742edf00e291a7eb0be954fdba96.zip
net/tsocks: Move manpages to share/man
-rw-r--r--net/tsocks/Makefile5
-rw-r--r--net/tsocks/pkg-plist6
2 files changed, 7 insertions, 4 deletions
diff --git a/net/tsocks/Makefile b/net/tsocks/Makefile
index 54df3d255855..8afff55a97b5 100644
--- a/net/tsocks/Makefile
+++ b/net/tsocks/Makefile
@@ -1,6 +1,6 @@
PORTNAME= tsocks
DISTVERSION= 1.8.b5
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= net security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.8%20beta%205 \
http://ftp1.sourceforge.net/tsocks/ \
@@ -37,6 +37,9 @@ MUTE_CONFIGURE_ON= --disable-debug
OLDMETHOD_CONFIGURE_ON= --enable-oldmethod
SOCKSDNS_CONFIGURE_ON= --enable-socksdns
+# remove after manprefix migration
+GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' ${WRKSRC}/tsocks
diff --git a/net/tsocks/pkg-plist b/net/tsocks/pkg-plist
index 1589e0fc5248..c3230ac4f472 100644
--- a/net/tsocks/pkg-plist
+++ b/net/tsocks/pkg-plist
@@ -4,9 +4,9 @@ bin/validateconf
etc/tsocks.conf.sample
lib/libtsocks.so
lib/libtsocks.so.1
-man/man1/tsocks.1.gz
-man/man5/tsocks.conf.5.gz
-man/man8/tsocks.8.gz
+share/man/man1/tsocks.1.gz
+share/man/man5/tsocks.conf.5.gz
+share/man/man8/tsocks.8.gz
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tsocks.conf.complex.example
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tsocks.conf.simple.example