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 /lang/coq | |
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 'lang/coq')
-rw-r--r-- | lang/coq/Makefile | 7 | ||||
-rw-r--r-- | lang/coq/PLIST | 6 |
2 files changed, 6 insertions, 7 deletions
diff --git a/lang/coq/Makefile b/lang/coq/Makefile index 068d8e69ab1..48ae36043ad 100644 --- a/lang/coq/Makefile +++ b/lang/coq/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2008/01/12 11:48:39 tonio Exp $ +# $NetBSD: Makefile,v 1.20 2008/04/12 22:43:02 jlam Exp $ # DISTNAME= coq-8.1pl3 @@ -33,15 +33,14 @@ _STRIPFLAG_CC= _STRIPFLAG_INSTALL= .endif +PLIST_VARS= coqide PKG_OPTIONS_VAR= PKG_OPTIONS.coq PKG_SUPPORTED_OPTIONS= coqide .include "../../mk/bsd.options.mk" .if !empty(PKG_OPTIONS:Mcoqide) .include "../../x11/lablgtk/buildlink3.mk" .include "../../x11/gtk2/buildlink3.mk" -PLIST_SUBST+= WITH_IDE='' -.else -PLIST_SUBST+= WITH_IDE='@comment ' +PLIST.coqide= yes .endif .include "../../mk/pthread.buildlink3.mk" diff --git a/lang/coq/PLIST b/lang/coq/PLIST index e03005158b4..3bf6d11d594 100644 --- a/lang/coq/PLIST +++ b/lang/coq/PLIST @@ -1,12 +1,12 @@ -@comment $NetBSD: PLIST,v 1.6 2007/12/01 13:05:36 tonio Exp $ +@comment $NetBSD: PLIST,v 1.7 2008/04/12 22:43:02 jlam Exp $ bin/coq-interface bin/coq-tex bin/coq_makefile bin/coqc bin/coqdep bin/coqdoc -${WITH_IDE}bin/coqide -${WITH_IDE}bin/coqide.byte +${PLIST.coqide}bin/coqide +${PLIST.coqide}bin/coqide.byte bin/coqmktop bin/coqtop bin/coqtop.byte |