git: 6edcf0a9edb3 - main - net/tsocks: Move manpages to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Jan 2024 17:43:47 UTC
The branch main has been updated by ehaupt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6edcf0a9edb3742edf00e291a7eb0be954fdba96
commit 6edcf0a9edb3742edf00e291a7eb0be954fdba96
Author: Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-01-21 17:09:11 +0000
Commit: Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-01-21 17:43:26 +0000
net/tsocks: Move manpages to share/man
---
net/tsocks/Makefile | 5 ++++-
net/tsocks/pkg-plist | 6 +++---
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