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 /cad | |
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 'cad')
-rw-r--r-- | cad/lc/Makefile | 7 | ||||
-rw-r--r-- | cad/lc/PLIST | 4 |
2 files changed, 6 insertions, 5 deletions
diff --git a/cad/lc/Makefile b/cad/lc/Makefile index 0fa1c7e27a1..50293900e32 100644 --- a/cad/lc/Makefile +++ b/cad/lc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2008/03/03 01:43:01 jlam Exp $ +# $NetBSD: Makefile,v 1.13 2008/04/12 22:42:58 jlam Exp $ DISTNAME= lc # overridden below PKGNAME= lc-2.10 @@ -45,11 +45,12 @@ DISTFILES+= lc_irix64.tar.gz DISTFILES+= lc_solaris.tar.gz .endif +PLIST_VARS+= lcspice + .if ${EMUL_PLATFORM} == "linux-x86_64" WRKSRC= ${WRKDIR}/lc -PLIST_SUBST+= HAVE_LCSPICE="@comment " .else -PLIST_SUBST+= HAVE_LCSPICE="" +PLIST.lcspice= yes .endif INSTALLATION_DIRS= bin share diff --git a/cad/lc/PLIST b/cad/lc/PLIST index fa27cec97a1..3b80ec50082 100644 --- a/cad/lc/PLIST +++ b/cad/lc/PLIST @@ -1,7 +1,7 @@ -@comment $NetBSD: PLIST,v 1.3 2007/02/24 00:54:26 dmcmahill Exp $ +@comment $NetBSD: PLIST,v 1.4 2008/04/12 22:42:58 jlam Exp $ bin/lc bin/lcplot -${HAVE_LCSPICE}bin/lcspice +${PLIST.lcspice}bin/lcspice share/lc2.10/README share/lc2.10/app-defaults/Lc share/lc2.10/app-defaults/Lcplot |