Skip to content

Commit

Permalink
net-im/toxic: Sanitize MANPREFIX
Browse files Browse the repository at this point in the history
Approved by:    portmgr (blanket)
  • Loading branch information
5u623l20 committed Jan 22, 2024
1 parent 6da31d5 commit f33aa22
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions 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
Expand Down Expand Up @@ -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:
Expand All @@ -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>
4 changes: 2 additions & 2 deletions 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
Expand Down

0 comments on commit f33aa22

Please sign in to comment.