summaryrefslogtreecommitdiff
path: root/math/maxima
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-04-12 22:42:57 +0000
committerjlam <jlam@pkgsrc.org>2008-04-12 22:42:57 +0000
commit841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a (patch)
treefdd67c81079412bf94013749a954125434a9baca /math/maxima
parent6874584eae20f517f70816571f6d4ac696db16b3 (diff)
downloadpkgsrc-841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a.tar.gz
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'math/maxima')
-rw-r--r--math/maxima/PLIST12
-rw-r--r--math/maxima/options.mk13
2 files changed, 12 insertions, 13 deletions
diff --git a/math/maxima/PLIST b/math/maxima/PLIST
index 9dca5c70f70..cc0685f1893 100644
--- a/math/maxima/PLIST
+++ b/math/maxima/PLIST
@@ -1,13 +1,13 @@
-@comment $NetBSD: PLIST,v 1.9 2008/01/28 12:08:49 reinoud Exp $
+@comment $NetBSD: PLIST,v 1.10 2008/04/12 22:43:04 jlam Exp $
bin/maxima
bin/rmaxima
bin/xmaxima
info/maxima-index.lisp
info/maxima.info
info/xmaxima.info
-${clisp}lib/maxima/${PKGVERSION}/binary-clisp/lisp.run
-${clisp}lib/maxima/${PKGVERSION}/binary-clisp/maxima.mem
-${sbcl}lib/maxima/${PKGVERSION}/binary-sbcl/maxima.core
+${PLIST.clisp}lib/maxima/${PKGVERSION}/binary-clisp/lisp.run
+${PLIST.clisp}lib/maxima/${PKGVERSION}/binary-clisp/maxima.mem
+${PLIST.sbcl}lib/maxima/${PKGVERSION}/binary-sbcl/maxima.core
libexec/maxima/${PKGVERSION}/mgnuplot
man/man1/maxima.1
share/maxima/${PKGVERSION}/demo/array.dem
@@ -1646,7 +1646,7 @@ share/maxima/${PKGVERSION}/xmaxima/plotmaxima.html
@dirrm share/maxima
@dirrm libexec/maxima/${PKGVERSION}
@dirrm libexec/maxima
-${clisp}@dirrm lib/maxima/${PKGVERSION}/binary-clisp
-${sbcl}@dirrm lib/maxima/${PKGVERSION}/binary-sbcl
+${PLIST.clisp}@dirrm lib/maxima/${PKGVERSION}/binary-clisp
+${PLIST.sbcl}@dirrm lib/maxima/${PKGVERSION}/binary-sbcl
@dirrm lib/maxima/${PKGVERSION}
@dirrm lib/maxima
diff --git a/math/maxima/options.mk b/math/maxima/options.mk
index 3484ea750fb..7c048090e31 100644
--- a/math/maxima/options.mk
+++ b/math/maxima/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2008/01/28 12:08:49 reinoud Exp $
+# $NetBSD: options.mk,v 1.2 2008/04/12 22:43:04 jlam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.maxima
PKG_OPTIONS_REQUIRED_GROUPS= lisp
@@ -19,10 +19,9 @@ CONFIGURE_ARGS+= --enable-sbcl
.endif
# Modify PLIST
-.for opt in clisp sbcl
-.if !empty(PKG_OPTIONS:M${opt})
-PLIST_SUBST+= ${opt}=""
-.else
-PLIST_SUBST+= ${opt}="@comment "
-.endif
+PLIST_VARS+= ${PKG_OPTIONS_GROUP.lisp}
+.for opt in ${PKG_OPTIONS_GROUP.lisp}
+. if !empty(PKG_OPTIONS:M${opt})
+PLIST.${opt}= yes
+. endif
.endfor