diff options
author | jlam <jlam@pkgsrc.org> | 2008-04-12 22:42:57 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-04-12 22:42:57 +0000 |
commit | 841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a (patch) | |
tree | fdd67c81079412bf94013749a954125434a9baca /databases/lbdb/options.mk | |
parent | 6874584eae20f517f70816571f6d4ac696db16b3 (diff) | |
download | pkgsrc-841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a.tar.gz |
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'databases/lbdb/options.mk')
-rw-r--r-- | databases/lbdb/options.mk | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/databases/lbdb/options.mk b/databases/lbdb/options.mk index cceea988520..0b406d00518 100644 --- a/databases/lbdb/options.mk +++ b/databases/lbdb/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.2 2005/09/03 12:09:58 tonio Exp $ +# $NetBSD: options.mk,v 1.3 2008/04/12 22:42:59 jlam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.lbdb PKG_SUPPORTED_OPTIONS= osx-addressbook gnupg abook @@ -6,28 +6,27 @@ PKG_SUGGESTED_OPTIONS= gnupg abook .include "../../mk/bsd.options.mk" +PLIST_VARS+= osx-addressbook gnupg abook + .if !empty(PKG_OPTIONS:Mosx-addressbook) CONFIGURE_ARGS+= --with-osx-addressbook -PLIST_SUBST+= OSXADDRESSBOOK="" +PLIST.osx-addressbook= yes .else CONFIGURE_ARGS+= --without-osx-addressbook -PLIST_SUBST+= OSXADDRESSBOOK="@comment " .endif .if !empty(PKG_OPTIONS:Mgnupg) -DEPENDS+=gnupg-[0-9]*:../../security/gnupg +DEPENDS+= gnupg-[0-9]*:../../security/gnupg CONFIGURE_ARGS+= --with-gpg -PLIST_SUBST+= WITHGPG="" +PLIST.gnupg= yes .else CONFIGURE_ARGS+= --without-gpg -PLIST_SUBST+= WITHGPG="@comment " .endif .if !empty(PKG_OPTIONS:Mabook) -DEPENDS+=abook-[0-9]*:../../databases/abook +DEPENDS+= abook-[0-9]*:../../databases/abook CONFIGURE_ARGS+= --with-abook -PLIST_SUBST+= WITHABOOK="" +PLIST.abook= yes .else CONFIGURE_ARGS+= --without-abook -PLIST_SUBST+= WITHABOOK="@comment " .endif |