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 /sysutils/memtestplus | |
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 'sysutils/memtestplus')
-rw-r--r-- | sysutils/memtestplus/PLIST | 4 | ||||
-rw-r--r-- | sysutils/memtestplus/options.mk | 7 |
2 files changed, 5 insertions, 6 deletions
diff --git a/sysutils/memtestplus/PLIST b/sysutils/memtestplus/PLIST index 53cc38fe6bc..5f9fcf05214 100644 --- a/sysutils/memtestplus/PLIST +++ b/sysutils/memtestplus/PLIST @@ -1,7 +1,7 @@ -@comment $NetBSD: PLIST,v 1.2 2006/11/01 15:38:15 mlelstv Exp $ +@comment $NetBSD: PLIST,v 1.3 2008/04/12 22:43:12 jlam Exp $ mdec/memtestplus.bin mdec/memtestplus -${HAVE_ISO}mdec/memtestplus.iso +${PLIST.iso}mdec/memtestplus.iso share/doc/memtestplus/README share/doc/memtestplus/FAQ @unexec ${RMDIR} %D/mdec 2>/dev/null || ${TRUE} diff --git a/sysutils/memtestplus/options.mk b/sysutils/memtestplus/options.mk index 9e892e7c8ce..7b8f3b59b16 100644 --- a/sysutils/memtestplus/options.mk +++ b/sysutils/memtestplus/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.3 2007/12/30 18:40:52 mlelstv Exp $ +# $NetBSD: options.mk,v 1.4 2008/04/12 22:43:13 jlam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.memtestplus PKG_SUPPORTED_OPTIONS= iso serialconsole @@ -6,12 +6,11 @@ PKG_SUGGESTED_OPTIONS= .include "../../mk/bsd.options.mk" +PLIST_VARS+= iso .if !empty(PKG_OPTIONS:Miso) BUILD_TARGET= memtest.iso BUILD_DEPENDS+= {cdrtools,cdrtools-ossdvd}>=2.01:../../sysutils/cdrtools -PLIST_SUBST+= HAVE_ISO="" -.else -PLIST_SUBST+= HAVE_ISO="@comment " +PLIST.iso= yes .endif .if !empty(PKG_OPTIONS:Mserialconsole) |