Made the dependency to SpeedyCGI optional, disabled by default. Bumped

PKGREVISION.
This commit is contained in:
rillig 2006-10-01 18:44:57 +00:00
parent 9a947ef0a5
commit bdba6495e7
3 changed files with 18 additions and 7 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.22 2006/10/01 14:24:30 rillig Exp $
# $NetBSD: Makefile,v 1.23 2006/10/01 18:44:57 rillig Exp $
DISTNAME= rt-3.4.5
PKGREVISION= 3
PKGREVISION= 4
CATEGORIES= devel
MASTER_SITES= http://download.bestpractical.com/pub/rt/release/
@ -51,7 +51,6 @@ DEPENDS+= p5-XML-RSS>=1.05:../../textproc/p5-XML-RSS
DEPENDS+= p5-HTTP-Server-Simple>=0.07:../../www/p5-HTTP-Server-Simple
DEPENDS+= p5-HTTP-Server-Simple-Mason>=0.09:../../www/p5-HTTP-Server-Simple-Mason
DEPENDS+= p5-Text-WikiFormat>=0.72:../../textproc/p5-Text-WikiFormat
DEPENDS+= SpeedyCGI-[0-9]*:../../www/SpeedyCGI
# Mailgate dependencies:
DEPENDS+= p5-HTML-Tree>=3.18:../../www/p5-HTML-Tree
@ -68,6 +67,18 @@ DEPENDS+= p5-Apache-DBI>=0.92:../../databases/p5-Apache-DBI
.elif !empty(PKG_OPTIONS:Mfastcgi)
DEPENDS+= p5-FCGI>=0.67:../../www/p5-FCGI
.endif
.if !empty(PKG_OPTIONS:Mspeedycgi)
DEPENDS+= SpeedyCGI-[0-9]*:../../www/SpeedyCGI
PLIST_SUBST+= IF_SPEEDYCGI=""
.else
MAKE_FLAGS+= RT_SPEEDYCGI_HANDLER=""
PLIST_SUBST+= IF_SPEEDYCGI="@comment "
.PHONY: rm-speedycgi
post-install: rm-speedycgi
rm-speedycgi:
rm -f ${PREFIX}/bin/mason_handler.scgi
.endif
# Back-end dependencies
.if !empty(PKG_OPTIONS:Mmysql)

View file

@ -1,6 +1,6 @@
@comment $NetBSD: PLIST,v 1.5 2006/06/03 10:40:34 seb Exp $
@comment $NetBSD: PLIST,v 1.6 2006/10/01 18:44:57 rillig Exp $
bin/mason_handler.fcgi
bin/mason_handler.scgi
${IF_SPEEDYCGI}bin/mason_handler.scgi
bin/mason_handler.svc
bin/rt
bin/rt-crontool

View file

@ -1,10 +1,10 @@
# $NetBSD: options.mk,v 1.2 2006/05/01 09:38:08 cube Exp $
# $NetBSD: options.mk,v 1.3 2006/10/01 18:44:57 rillig Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.rt
PKG_OPTIONS_REQUIRED_GROUPS= backend frontend
PKG_OPTIONS_GROUP.backend= mysql oracle pgsql sqlite
PKG_OPTIONS_GROUP.frontend= modperl1 modperl2 \
fastcgi
fastcgi speedycgi
PKG_SUGGESTED_OPTIONS= mysql fastcgi
PKG_OPTIONS_LEGACY_OPTS= backend-mysql:mysql backend-pgsql:pgsql \