summaryrefslogtreecommitdiff
path: root/finance
diff options
context:
space:
mode:
authorjlam <jlam>2008-04-12 22:42:57 +0000
committerjlam <jlam>2008-04-12 22:42:57 +0000
commit84db467ec7c8386066718011f8d47775d5608811 (patch)
treefdd67c81079412bf94013749a954125434a9baca /finance
parent7082f8c2044621c8641f3c82a2da95c2d442048c (diff)
downloadpkgsrc-84db467ec7c8386066718011f8d47775d5608811.tar.gz
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'finance')
-rw-r--r--finance/kmymoney2/PLIST6
-rw-r--r--finance/kmymoney2/options.mk8
2 files changed, 7 insertions, 7 deletions
diff --git a/finance/kmymoney2/PLIST b/finance/kmymoney2/PLIST
index 25027dc1b5e..ee758dc17cc 100644
--- a/finance/kmymoney2/PLIST
+++ b/finance/kmymoney2/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2007/05/23 13:38:23 obache Exp $
+@comment $NetBSD: PLIST,v 1.10 2008/04/12 22:43:00 jlam Exp $
bin/kmymoney
bin/kmymoney2
include/kmymoney/export.h
@@ -30,7 +30,7 @@ include/kmymoney/mymoneytransactionfilter.h
include/kmymoney/mymoneyutils.h
include/kmymoney/statementinterface.h
include/kmymoney/viewinterface.h
-${HAS_LIBOFX}lib/kde3/kmm_ofximport.la
+${PLIST.libofx}lib/kde3/kmm_ofximport.la
lib/libkmm_mymoney.la
lib/libkmm_plugin.la
man/man1/kmymoney2.1
@@ -330,7 +330,7 @@ share/kde/apps/kmymoney2/templates/pt_BR/default_accounts.kmt
share/kde/apps/kmymoney2/templates/ru_SU/default_accounts.kmt
share/kde/apps/kmymoney2/tips
share/kde/mimelnk/application/x-kmymoney2.desktop
-${HAS_LIBOFX}share/kde/services/kmm_ofximport.desktop
+${PLIST.libofx}share/kde/services/kmm_ofximport.desktop
share/kde/servicetypes/kmymoneyimporterplugin.desktop
share/kde/servicetypes/kmymoneyplugin.desktop
share/locale/ca/LC_MESSAGES/kmymoney2.mo
diff --git a/finance/kmymoney2/options.mk b/finance/kmymoney2/options.mk
index dc145d01dc6..a86ed9525d1 100644
--- a/finance/kmymoney2/options.mk
+++ b/finance/kmymoney2/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2006/02/09 21:46:47 wiz Exp $
+# $NetBSD: options.mk,v 1.2 2008/04/12 22:43:00 jlam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.kmymoney2
PKG_SUPPORTED_OPTIONS= libofx
@@ -6,9 +6,9 @@ PKG_SUGGESTED_OPTIONS= libofx
.include "../../mk/bsd.options.mk"
+PLIST_VARS+= libofx
+
.if !empty(PKG_OPTIONS:Mlibofx)
.include "../../finance/libofx/buildlink3.mk"
-PLIST_SUBST+= HAS_LIBOFX=""
-.else
-PLIST_SUBST+= HAS_LIBOFX="@comment "
+PLIST.libofx= yes
.endif