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 /mail/bogofilter | |
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 'mail/bogofilter')
-rw-r--r-- | mail/bogofilter/PLIST | 4 | ||||
-rw-r--r-- | mail/bogofilter/options.mk | 7 |
2 files changed, 5 insertions, 6 deletions
diff --git a/mail/bogofilter/PLIST b/mail/bogofilter/PLIST index be5637d4068..2af1f821296 100644 --- a/mail/bogofilter/PLIST +++ b/mail/bogofilter/PLIST @@ -1,8 +1,8 @@ -@comment $NetBSD: PLIST,v 1.5 2007/02/16 15:47:39 obache Exp $ +@comment $NetBSD: PLIST,v 1.6 2008/04/12 22:43:03 jlam Exp $ bin/bf_compact bin/bf_copy bin/bf_tar -${QDBM}bin/bogoQDBMupgrade +${PLIST.qdbm}bin/bogoQDBMupgrade bin/bogofilter bin/bogolexer bin/bogotune diff --git a/mail/bogofilter/options.mk b/mail/bogofilter/options.mk index 19286529c6c..0151420f270 100644 --- a/mail/bogofilter/options.mk +++ b/mail/bogofilter/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.2 2007/02/16 15:47:39 obache Exp $ +# $NetBSD: options.mk,v 1.3 2008/04/12 22:43:03 jlam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.bogofilter PKG_OPTIONS_REQUIRED_GROUPS= database @@ -13,12 +13,11 @@ CONFIGURE_ARGS+= --with-database=db BUILDLINK_TRANSFORM+= l:db:db4 .endif +PLIST_VARS+= qdbm .if !empty(PKG_OPTIONS:Mqdbm) CONFIGURE_ARGS+= --with-database=qdbm -PLIST_SUBST+= QDBM= +PLIST.qdbm= yes .include "../../databases/qdbm/buildlink3.mk" -.else -PLIST_SUBST+= QDBM="@comment " .endif .if !empty(PKG_OPTIONS:Msqlite) |