Skip to content

Commit

Permalink
ports-mgmt/wanted-ports: Man page cleanup
Browse files Browse the repository at this point in the history
Move the man page to ${PREFIX}/share/man/man1
  • Loading branch information
infracaninophile committed Jan 21, 2024
1 parent 6664372 commit 494dab0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ports-mgmt/wanted-ports/Makefile
@@ -1,5 +1,5 @@
PORTNAME= wanted-ports
PORTVERSION= 0.2
PORTVERSION= 0.3
#PORTREVISION is set from ${CFGFILE}
CATEGORIES= ports-mgmt
MASTER_SITES= # none
Expand All @@ -18,7 +18,7 @@ SUB_LIST= PORTNAME=${PORTNAME} \
PKGNAME=${PKGNAME}
PLIST_SUB= PORTNAME=${PORTNAME}
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz
share/man/man1/${PORTNAME}.1.gz

.if defined(WANTEDPORTSCFG)
CFGFILE= ${WANTEDPORTSCFG}
Expand All @@ -32,6 +32,6 @@ CFGFILE?= /var/db/${PORTNAME}.conf

do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_MAN} ${WRKDIR}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1/
${INSTALL_MAN} ${WRKDIR}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1/

.include <bsd.port.mk>

0 comments on commit 494dab0

Please sign in to comment.