diff --git a/sysutils/password-store/Makefile b/sysutils/password-store/Makefile index 0caf6457e616..656fe4ac9ff3 100644 --- a/sysutils/password-store/Makefile +++ b/sysutils/password-store/Makefile @@ -2,6 +2,7 @@ PORTNAME= password-store PORTVERSION= 1.6.3 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://git.zx2c4.com/password-store/snapshot/ @@ -16,7 +17,7 @@ RUN_DEPENDS= bash>=0:${PORTSDIR}/shells/bash \ pwgen>=0:${PORTSDIR}/sysutils/pwgen \ tree>=1.7:${PORTSDIR}/sysutils/tree -OPTIONS_DEFINE= GIT XCLIP CONTRIB EXAMPLES +OPTIONS_DEFINE= GIT XCLIP CONTRIB DOCS EXAMPLES OPTIONS_SUB= yes GIT_DESC= Enable git storage @@ -58,10 +59,9 @@ do-install: @(cd ${WRKSRC}/contrib && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) @(cd ${WRKSRC}/src/completion && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) .endif -.if ${PORT_OPTIONS:MEXAMPLES} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - @${INSTALL_DATA} ${WRKSRC}/man/example-filter.sh ${STAGEDIR}${EXAMPLESDIR} -.endif + @${INSTALL_MAN} ${WRKSRC}/man/example-filter.sh ${STAGEDIR}${EXAMPLESDIR} @${INSTALL_MAN} ${WRKSRC}/man/pass.1 ${STAGEDIR}${MANPREFIX}/man/man1/pass.1 .include diff --git a/sysutils/password-store/pkg-plist b/sysutils/password-store/pkg-plist index 3e7f1b732722..e54bb4854f98 100644 --- a/sysutils/password-store/pkg-plist +++ b/sysutils/password-store/pkg-plist @@ -22,8 +22,8 @@ %%CONTRIB%%@dirrmtry %%DATADIR%%/dmenu %%CONTRIB%%@dirrmtry %%DATADIR%%/emacs %%CONTRIB%%@dirrmtry %%DATADIR%%/importers +%%PORTDOCS%%man/man1/pass.1.gz %%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-filter.sh %%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%% bin/pass libexec/pass -man/man1/pass.1.gz