summaryrefslogtreecommitdiff
path: root/devel/rt3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/rt3/Makefile')
-rw-r--r--devel/rt3/Makefile34
1 files changed, 23 insertions, 11 deletions
diff --git a/devel/rt3/Makefile b/devel/rt3/Makefile
index d649d05f5b6..a1aa983ba88 100644
--- a/devel/rt3/Makefile
+++ b/devel/rt3/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.17 2006/04/19 17:21:35 cube Exp $
+# $NetBSD: Makefile,v 1.18 2006/05/01 09:38:08 cube Exp $
-DISTNAME= rt-3.2.3
-PKGREVISION= 6
+DISTNAME= rt-3.4.5
+PKGREVISION= #
CATEGORIES= devel
MASTER_SITES= http://download.bestpractical.com/pub/rt/release/
@@ -17,7 +17,7 @@ DEPENDS+= p5-Digest-MD5>=2.27:../../security/p5-Digest-MD5
DEPENDS+= p5-DBI>=1.37:../../databases/p5-DBI
DEPENDS+= p5-Test-Inline>=0.15:../../devel/p5-Test-Inline
DEPENDS+= p5-Class-ReturnValue>=0.40:../../devel/p5-Class-ReturnValue
-DEPENDS+= p5-DBIx-SearchBuilder>=1.19:../../databases/p5-DBIx-SearchBuilder
+DEPENDS+= p5-DBIx-SearchBuilder>=1.35:../../databases/p5-DBIx-SearchBuilder
DEPENDS+= p5-Text-Template>=1.43:../../textproc/p5-Text-Template
DEPENDS+= p5-HTML-Parser>=3.35:../../www/p5-HTML-Parser
DEPENDS+= p5-HTML-Scrubber>=0.08:../../www/p5-HTML-Scrubber
@@ -34,6 +34,7 @@ DEPENDS+= p5-Text-Autoformat>=1.04:../../textproc/p5-Text-Autoformat
DEPENDS+= p5-Text-Quoted>=1.5:../../textproc/p5-Text-Quoted
DEPENDS+= p5-Tree-Simple>=1.04:../../devel/p5-Tree-Simple
DEPENDS+= p5-Module-Versions-Report-[0-9]*:../../devel/p5-Module-Versions-Report
+DEPENDS+= p5-XML-Simple-[0-9]*:../../textproc/p5-XML-Simple
# Mason dependencies:
DEPENDS+= p5-Params-Validate>=0.02:../../devel/p5-Params-Validate
@@ -44,12 +45,16 @@ DEPENDS+= p5-MLDBM>=2.01:../../databases/p5-MLDBM
DEPENDS+= p5-FreezeThaw>=0.43:../../devel/p5-FreezeThaw
DEPENDS+= p5-Storable>=2.08:../../devel/p5-Storable
DEPENDS+= p5-Apache-Session>=1.53:../../www/p5-Apache-Session
-DEPENDS+= p5-XML-RSS-[0-9]*:../../textproc/p5-XML-RSS
+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
# Mailgate dependencies:
DEPENDS+= p5-HTML-Tree>=3.18:../../www/p5-HTML-Tree
DEPENDS+= p5-HTML-Format>=2.03:../../www/p5-HTML-Format
DEPENDS+= p5-libwww>=5.76:../../www/p5-libwww
+DEPENDS+= p5-Module-Refresh>=0.03:../../devel/p5-Module-Refresh
# Front-end dependencies:
.if !empty(PKG_OPTIONS:Mmodperl1)
@@ -64,16 +69,23 @@ DEPENDS+= p5-FCGI>=0.67:../../www/p5-FCGI
# Back-end dependencies
.if !empty(PKG_OPTIONS:Mmysql)
DEPENDS+= p5-DBD-mysql>=2.1018:../../databases/p5-DBD-mysql
-_RT_DB_TYPE= mysql
+_RT_DB_TYPE= mysql
.elif !empty(PKG_OPTIONS:Mpgsql)
-DEPENDS+= p5-DBD-postgresql-[0-9]*:../../databases/p5-DBD-postgresql
-_RT_DB_TYPE= Pg
+DEPENDS+= p5-DBD-postgresql>=1.41:../../databases/p5-DBD-postgresql
+_RT_DB_TYPE= Pg
+.elif !empty(PKG_OPTIONS:Moracle)
+DEPENDS+= p5-DBD-Oracle-[0-9]*:../../databases/p5-DBD-Oracle
+_RT_DB_TYPE= Oracle
+.elif !empty(PKG_OPTIONS:Msqlite)
+DEPENDS+= p5-DBD-SQLite-[0-9]*:../../databases/p5-DBD-SQLite
+_RT_DB_TYPE= SQLite
.endif
# Dev dependencies:
DEPENDS+= p5-Regexp-Common>=2.113:../../textproc/p5-Regexp-Common
DEPENDS+= {p5-Apache-Test-[0-9]*,ap2-perl>=2.0.1}:../../www/p5-Apache-Test
DEPENDS+= p5-WWW-Mechanize>=0.72:../../www/p5-WWW-Mechanize
+DEPENDS+= p5-Test-WWW-Mechanize-[0-9]*:../../www/p5-Test-WWW-Mechanize
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
@@ -88,9 +100,9 @@ CONFIGURE_ARGS+= --with-db-type=${_RT_DB_TYPE:Q}
CONFIGURE_ARGS+= --with-web-user=${APACHE_USER:Q}
CONFIGURE_ARGS+= --with-web-group=${APACHE_GROUP:Q}
-MESSAGE_SUBST+= HOMEPAGE=${HOMEPAGE}
-MESSAGE_SUBST+= RT_GROUP=${RT_GROUP}
-MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
+MESSAGE_SUBST+= HOMEPAGE=${HOMEPAGE:Q}
+MESSAGE_SUBST+= RT_GROUP=${RT_GROUP:Q}
+MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q}
.include "Makefile.install"