diff --git a/ports-mgmt/pkgs_which/Makefile b/ports-mgmt/pkgs_which/Makefile index e45be319ddd4..5802a9117391 100644 --- a/ports-mgmt/pkgs_which/Makefile +++ b/ports-mgmt/pkgs_which/Makefile @@ -1,32 +1,31 @@ PORTNAME= pkgs_which PORTVERSION= 0.4.1 +PORTREVISION= 1 CATEGORIES= ports-mgmt perl5 MASTER_SITES= # none DISTFILES= # none MAINTAINER= mandree@FreeBSD.org COMMENT= Quickly find out which ports contributed to a file tree LICENSE= GPLv3 USES= perl5 NO_BUILD= yes PLIST_FILES= bin/${PORTNAME} OPTIONS_DEFINE= DOCS -.include +DOCS_PLIST_FILES= share/man/man1/${PORTNAME}.1.gz -.if ${PORT_OPTIONS:MDOCS} -PLIST_FILES+= man/man1/${PORTNAME}.1.gz -.endif +.include 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