summaryrefslogtreecommitdiff
path: root/lang/coq
diff options
context:
space:
mode:
authorjlam <jlam>2008-04-12 22:42:57 +0000
committerjlam <jlam>2008-04-12 22:42:57 +0000
commit84db467ec7c8386066718011f8d47775d5608811 (patch)
treefdd67c81079412bf94013749a954125434a9baca /lang/coq
parent7082f8c2044621c8641f3c82a2da95c2d442048c (diff)
downloadpkgsrc-84db467ec7c8386066718011f8d47775d5608811.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/Makefile7
-rw-r--r--lang/coq/PLIST6
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