summaryrefslogtreecommitdiff
path: root/devel/m4
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 /devel/m4
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 'devel/m4')
-rw-r--r--devel/m4/Makefile8
-rw-r--r--devel/m4/PLIST4
2 files changed, 6 insertions, 6 deletions
diff --git a/devel/m4/Makefile b/devel/m4/Makefile
index dcc4096eeb7..6e66c8c60da 100644
--- a/devel/m4/Makefile
+++ b/devel/m4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2008/04/11 06:08:43 wiz Exp $
+# $NetBSD: Makefile,v 1.54 2008/04/12 22:42:59 jlam Exp $
DISTNAME= m4-1.4.11
CATEGORIES= devel
@@ -25,10 +25,10 @@ CONFIGURE_ARGS+= --program-prefix=${GNU_PROGRAM_PREFIX:Q}
PLIST_SUBST+= GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX:Q}
BUILD_DEFS+= GNU_PROGRAM_PREFIX
+PLIST_VARS+= gm4
+
.if !defined(GNU_PROGRAM_PREFIX) || ${GNU_PROGRAM_PREFIX} != "g"
-PLIST_SUBST+= GM4_LINK=""
-.else
-PLIST_SUBST+= GM4_LINK="@comment "
+PLIST.gm4= yes
.endif
.if ${OPSYS} == "DragonFly"
diff --git a/devel/m4/PLIST b/devel/m4/PLIST
index 6286261b280..2474ed6eb35 100644
--- a/devel/m4/PLIST
+++ b/devel/m4/PLIST
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.10 2008/04/11 06:08:43 wiz Exp $
+@comment $NetBSD: PLIST,v 1.11 2008/04/12 22:43:00 jlam Exp $
bin/${GNU_PROGRAM_PREFIX}m4
-${GM4_LINK}bin/gm4
+${PLIST.gm4}bin/gm4
info/m4.info
man/man1/${GNU_PROGRAM_PREFIX}m4.1
share/examples/m4/capitalize.m4