diff options
author | imil <imil@pkgsrc.org> | 2015-01-05 11:32:49 +0000 |
---|---|---|
committer | imil <imil@pkgsrc.org> | 2015-01-05 11:32:49 +0000 |
commit | f89edfae05a7e3ea0f43f974ec7dba0dcabc69c5 (patch) | |
tree | 51ced9f6e254000fd91a69bffc970d25c4d03a51 /security | |
parent | acc0e8fbde533b32ee0a49496a582a80a20c41ce (diff) | |
download | pkgsrc-f89edfae05a7e3ea0f43f974ec7dba0dcabc69c5.tar.gz |
Forgot to add / commit options.mk
Diffstat (limited to 'security')
-rw-r--r-- | security/password-store/Makefile | 4 | ||||
-rw-r--r-- | security/password-store/options.mk | 17 |
2 files changed, 19 insertions, 2 deletions
diff --git a/security/password-store/Makefile b/security/password-store/Makefile index 33a7c924b75..683f300410f 100644 --- a/security/password-store/Makefile +++ b/security/password-store/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2015/01/05 11:03:47 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2015/01/05 11:32:49 imil Exp $ DISTNAME= password-store-1.6.3 CATEGORIES= security @@ -32,7 +32,7 @@ SUBST_FILES.fixsh= src/password-store.sh SUBST_SED.fixsh+= -e 's,GETOPT="getopt",GETOPT="${PREFIX}/bin/getopt",' SUBST_SED.fixsh+= -e "s,SHRED=\"shred -f -z\",SHRED=\"${RM} -f -P\"," -#.include "options.mk" +.include "options.mk" do-install: ${INSTALL_SCRIPT} ${WRKSRC}/src/password-store.sh \ diff --git a/security/password-store/options.mk b/security/password-store/options.mk new file mode 100644 index 00000000000..575b77d4cc9 --- /dev/null +++ b/security/password-store/options.mk @@ -0,0 +1,17 @@ +# $NetBSD: options.mk,v 1.1 2015/01/05 11:32:49 imil Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.pass + +PKG_SUPPORTED_OPTIONS= git xclip +PKG_SUGGESTED_OPTIONS= git + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mxclip) +DEPENDS+= xclip>=0.12:../../x11/xclip +.endif + +.if !empty(PKG_OPTIONS:Mgit) +.include "../../devel/git/Makefile.version" +DEPENDS+= git-base>=${GIT_VERSION}:../../devel/git-base +.endif |