misc/ondir: Update manpages path

Move manpages to ${PREFIX}/share/man

Sponsored by:	Rubicon Communications, LLC ("Netgate")
2024Q2
Renato Botelho 2024-01-08 12:08:46 -03:00
parent c881adf9ce
commit 579e5a9c21
1 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= ondir
PORTVERSION= 0.2.4
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= misc
MASTER_SITES= http://swapoff.org/files/${PORTNAME}/
@ -17,10 +17,11 @@ MAKE_ARGS= PREFIX="${PREFIX}" \
CFLAGS="${CFLAGS} -DVERSION=\\\"${PORTVERSION}\\\" -DGLOBAL_CONF=\\\"${PREFIX}/etc/ondirrc\\\"" \
LDFLAGS="${LDFLAGS}"
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
PLIST_FILES= bin/${PORTNAME} share/man/man1/${PORTNAME}.1.gz
do-install:
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \
${STAGEDIR}${PREFIX}/share/man/man1
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>