diff options
author | tonio <tonio> | 2005-08-30 16:14:53 +0000 |
---|---|---|
committer | tonio <tonio> | 2005-08-30 16:14:53 +0000 |
commit | f11ccc7c487a4b0a9487cdf64c4d8f256e2d1989 (patch) | |
tree | e814bfa93b58e444dc8f7cb049c697749f7f690f /databases/lbdb/options.mk | |
parent | 26afc8c9c3e15c8b495cfd5bb6bd3c6a3c73e4c7 (diff) | |
download | pkgsrc-f11ccc7c487a4b0a9487cdf64c4d8f256e2d1989.tar.gz |
Update databases/lbdb to 0.30
Make it use the option framework, to enable/disable abook and gnupg plugins and
dependancies
fix PR 29879, applying the appended patch
approved by cube@
Diffstat (limited to 'databases/lbdb/options.mk')
-rw-r--r-- | databases/lbdb/options.mk | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/databases/lbdb/options.mk b/databases/lbdb/options.mk new file mode 100644 index 00000000000..2b78f13c158 --- /dev/null +++ b/databases/lbdb/options.mk @@ -0,0 +1,33 @@ +# $NetBSD: options.mk,v 1.1 2005/08/30 16:14:53 tonio Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.lbdb +PKG_SUPPORTED_OPTIONS= osx-addressbook gnupg abook +PKG_SUGGESTED_OPTIONS= gnupg abook + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mosx-addressbook) +CONFIGURE_ARGS+= --with-osx-addressbook +PLIST_SUBST+= OSXADDRESSBOOK="" +.else +CONFIGURE_ARGS+= --without-osx-addressbook +PLIST_SUBST+= OSXADDRESSBOOK="@comment " +.endif + +.if !empty(PKG_OPTIONS:Mgnupg) +DEPENDS=gnupg-[0-9]*:../../security/gnupg +CONFIGURE_ARGS+= --with-gpg +PLIST_SUBST+= WITHGPG="" +.else +CONFIGURE_ARGS+= --without-gpg +PLIST_SUBST+= WITHGPG="@comment " +.endif + +.if !empty(PKG_OPTIONS:Mabook) +DEPENDS=abook-[0-9]*:../../databases/abook +CONFIGURE_ARGS+= --with-abook +PLIST_SUBST+= WITHABOOK="" +.else +CONFIGURE_ARGS+= --without-abook +PLIST_SUBST+= WITHABOOK="@comment " +.endif |