svn commit: r355772 - head/sysutils/password-store

Adam Weinberger adamw at FreeBSD.org
Fri May 30 03:44:44 UTC 2014


Author: adamw
Date: Fri May 30 03:44:44 2014
New Revision: 355772
URL: http://svnweb.freebsd.org/changeset/ports/355772
QAT: https://qat.redports.org/buildarchive/r355772/

Log:
  Add DOCS and EXAMPLES to OPTIONS_DEFINE, and avoid using :MDOCS to
  determine whether to install EXAMPLES. It still seems really strange
  to have the manpage listed under %%PORTDOCS%% though.

Modified:
  head/sysutils/password-store/Makefile

Modified: head/sysutils/password-store/Makefile
==============================================================================
--- head/sysutils/password-store/Makefile	Fri May 30 03:04:23 2014	(r355771)
+++ head/sysutils/password-store/Makefile	Fri May 30 03:44:44 2014	(r355772)
@@ -17,7 +17,7 @@ RUN_DEPENDS=	bash>=0:${PORTSDIR}/shells/
 		pwgen>=0:${PORTSDIR}/sysutils/pwgen \
 		tree>=1.7:${PORTSDIR}/sysutils/tree
 
-OPTIONS_DEFINE=		GIT XCLIP CONTRIB
+OPTIONS_DEFINE=		GIT XCLIP CONTRIB DOCS EXAMPLES
 OPTIONS_SUB=	yes
 
 GIT_DESC=		Enable git storage
@@ -59,10 +59,8 @@ do-install:
 	@(cd ${WRKSRC}/contrib && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
 	@(cd ${WRKSRC}/src/completion && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
 .endif
-.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	@${INSTALL_MAN} ${WRKSRC}/man/example-filter.sh ${STAGEDIR}${EXAMPLESDIR}
 	@${INSTALL_MAN} ${WRKSRC}/man/pass.1 ${STAGEDIR}${MANPREFIX}/man/man1/pass.1
-.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list