diff options
author | jlam <jlam> | 2008-04-12 22:42:57 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-04-12 22:42:57 +0000 |
commit | 9ff693053b2b42cd6a29b886e071ad01acdeefe2 (patch) | |
tree | fdd67c81079412bf94013749a954125434a9baca /devel/rt3 | |
parent | 4a580ef74536ed1f7c6a7ecd5a26e46a93aec9b3 (diff) | |
download | pkgsrc-9ff693053b2b42cd6a29b886e071ad01acdeefe2.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/Makefile | 6 | ||||
-rw-r--r-- | devel/rt3/PLIST | 4 |
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 |