git: f33aa2274cd3 - main - net-im/toxic: Sanitize MANPREFIX
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Jan 2024 16:52:56 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f33aa2274cd3a74ff286cf5e042056932ff9eb05
commit f33aa2274cd3a74ff286cf5e042056932ff9eb05
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 16:22:13 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 16:52:33 +0000
net-im/toxic: Sanitize MANPREFIX
Approved by: portmgr (blanket)
---
net-im/toxic/Makefile | 6 +++---
net-im/toxic/pkg-plist | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/net-im/toxic/Makefile b/net-im/toxic/Makefile
index 9fefd0551146..60b64b5e3e87 100644
--- a/net-im/toxic/Makefile
+++ b/net-im/toxic/Makefile
@@ -1,7 +1,7 @@
PORTNAME= toxic
PORTVERSION= 0.11.3
DISTVERSIONPREFIX= v
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= net-im
MAINTAINER= thierry@FreeBSD.org
@@ -44,7 +44,7 @@ CFLAGS+= -I${NCURSESINC} -pthread
LDFLAGS+= -L${NCURSESLIB}
LDFLAGS_i386= -Wl,-znotext
MAKE_ENV= USER_CFLAGS="${CFLAGS}" USER_LDFLAGS="${LDFLAGS}" \
- MANDIR="${MANPREFIX}/man"
+ MANDIR="${PREFIX}/share/man"
SUB_FILES= pkg-message
pre-configure-PYTHON-on:
@@ -58,7 +58,7 @@ pre-configure:
${WRKSRC}/cfg/global_vars.mk
post-install:
- ${RM} ${STAGEDIR}${MANPREFIX}/man/man1/toxic.1-e ${STAGEDIR}${MANPREFIX}/man/man5/toxic.conf.5-e
+ ${RM} ${STAGEDIR}${PREFIX}/share/man/man1/toxic.1-e ${STAGEDIR}${PREFIX}/share/man/man5/toxic.conf.5-e
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/toxic
.include <bsd.port.mk>
diff --git a/net-im/toxic/pkg-plist b/net-im/toxic/pkg-plist
index c7263178b3f7..e24be007c149 100644
--- a/net-im/toxic/pkg-plist
+++ b/net-im/toxic/pkg-plist
@@ -1,6 +1,6 @@
bin/toxic
-man/man1/toxic.1.gz
-man/man5/toxic.conf.5.gz
+share/man/man1/toxic.1.gz
+share/man/man5/toxic.conf.5.gz
share/applications/toxic.desktop
%%DATADIR%%/nameservers
%%DATADIR%%/sounds/ToxicContactOffline.wav