diff options
author | jlam <jlam> | 2008-04-12 22:42:57 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-04-12 22:42:57 +0000 |
commit | 9ff693053b2b42cd6a29b886e071ad01acdeefe2 (patch) | |
tree | fdd67c81079412bf94013749a954125434a9baca /databases/lbdb/options.mk | |
parent | 4a580ef74536ed1f7c6a7ecd5a26e46a93aec9b3 (diff) | |
download | pkgsrc-9ff693053b2b42cd6a29b886e071ad01acdeefe2.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 |