diff options
author | jlam <jlam> | 2008-04-12 22:42:57 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-04-12 22:42:57 +0000 |
commit | 84db467ec7c8386066718011f8d47775d5608811 (patch) | |
tree | fdd67c81079412bf94013749a954125434a9baca /math/maxima | |
parent | 7082f8c2044621c8641f3c82a2da95c2d442048c (diff) | |
download | pkgsrc-84db467ec7c8386066718011f8d47775d5608811.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/PLIST | 12 | ||||
-rw-r--r-- | math/maxima/options.mk | 13 |
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 |