net-im/toxic: Sanitize MANPREFIX

Approved by:    portmgr (blanket)
This commit is contained in:
Muhammad Moinur Rahman 2024-01-22 17:22:13 +01:00
parent 6da31d572b
commit f33aa2274c
2 changed files with 5 additions and 5 deletions

View file

@ -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>

View file

@ -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