summaryrefslogtreecommitdiff
path: root/devel/rt3
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 /devel/rt3
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 'devel/rt3')
-rw-r--r--devel/rt3/Makefile6
-rw-r--r--devel/rt3/PLIST4
2 files changed, 5 insertions, 5 deletions
diff --git a/devel/rt3/Makefile b/devel/rt3/Makefile
index e3f54c85331..f4cb7954fb3 100644
--- a/devel/rt3/Makefile
+++ b/devel/rt3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2008/03/24 21:55:36 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2008/04/12 22:43:00 jlam Exp $
DISTNAME= rt-3.6.6
PKGREVISION= 2
@@ -70,12 +70,12 @@ DEPENDS+= p5-Apache-DBI>=0.92:../../databases/p5-Apache-DBI
.elif !empty(PKG_OPTIONS:Mfastcgi)
DEPENDS+= p5-FCGI>=0.67:../../www/p5-FCGI
.endif
+PLIST_VARS+= speedycgi
.if !empty(PKG_OPTIONS:Mspeedycgi)
DEPENDS+= SpeedyCGI-[0-9]*:../../www/SpeedyCGI
-PLIST_SUBST+= IF_SPEEDYCGI=""
+PLIST.speedycgi=yes
.else
MAKE_FLAGS+= RT_SPEEDYCGI_HANDLER=""
-PLIST_SUBST+= IF_SPEEDYCGI="@comment "
.PHONY: rm-speedycgi
post-install: rm-speedycgi
diff --git a/devel/rt3/PLIST b/devel/rt3/PLIST
index b5f2681e0fc..1d1e4445a39 100644
--- a/devel/rt3/PLIST
+++ b/devel/rt3/PLIST
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.10 2008/03/24 21:55:36 wiz Exp $
+@comment $NetBSD: PLIST,v 1.11 2008/04/12 22:43:00 jlam Exp $
bin/mason_handler.fcgi
-${IF_SPEEDYCGI}bin/mason_handler.scgi
+${PLIST.speedycgi}bin/mason_handler.scgi
bin/mason_handler.svc
bin/rt
bin/rt-crontool