ports-mgmt/pkgs_which: Sanitize MANPREFIX
Approved by: portmgr (blanket)
This commit is contained in:
parent
9da38f6b0b
commit
95891a30fd
1 changed files with 6 additions and 7 deletions
|
@ -1,5 +1,6 @@
|
|||
PORTNAME= pkgs_which
|
||||
PORTVERSION= 0.4.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= ports-mgmt perl5
|
||||
MASTER_SITES= # none
|
||||
DISTFILES= # none
|
||||
|
@ -15,18 +16,16 @@ PLIST_FILES= bin/${PORTNAME}
|
|||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
DOCS_PLIST_FILES= share/man/man1/${PORTNAME}.1.gz
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
PLIST_FILES+= man/man1/${PORTNAME}.1.gz
|
||||
.endif
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${FILESDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
do-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/man/man1
|
||||
${LOCALBASE}/bin/pod2man ${FILESDIR}/${PORTNAME} >${STAGEDIR}${PREFIX}/man/man1/${PORTNAME}.1
|
||||
.endif
|
||||
${LOCALBASE}/bin/pod2man ${FILESDIR}/${PORTNAME} >${STAGEDIR}${PREFIX}/share/man/man1/${PORTNAME}.1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue