diff options
author | Anton Berezin <tobez@FreeBSD.org> | 2003-06-11 09:57:42 +0000 |
---|---|---|
committer | Anton Berezin <tobez@FreeBSD.org> | 2003-06-11 09:57:42 +0000 |
commit | a6488b6d9bce0230e0ec3da3f2cc2664d915d4e3 (patch) | |
tree | 8da57219ca130f823f603d1377d6d1652eb4396e /www | |
parent | Use ${MASTER_SITE_PGSQL} instead of multiple sites (diff) |
Make www/rt3 compatible with www/p5-FastCGI.
PR: 51659
Approved by: maintainer
Notes
Notes:
svn path=/head/; revision=82773
Diffstat (limited to 'www')
-rw-r--r-- | www/rt3/Makefile | 12 | ||||
-rw-r--r-- | www/rt32/Makefile | 12 | ||||
-rw-r--r-- | www/rt34/Makefile | 12 | ||||
-rw-r--r-- | www/rt36/Makefile | 12 |
4 files changed, 44 insertions, 4 deletions
diff --git a/www/rt3/Makefile b/www/rt3/Makefile index d1d53d5fa66a..5398e931774c 100644 --- a/www/rt3/Makefile +++ b/www/rt3/Makefile @@ -7,6 +7,7 @@ PORTNAME= rt3 PORTVERSION= 3.0.2 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES?= http://www.fsck.com/pub/rt/release/ \ ftp://ftp.eu.uu.net/pub/unix/ticketing/rt/ @@ -16,7 +17,6 @@ MAINTAINER= autrijus@autrijus.org COMMENT?= RT is an industrial-grade ticketing system written in Perl BUILD_DEPENDS= ${APXS}:${APACHE_PORT} \ - ${SITE_PERL}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI \ ${SITE_PERL}/Apache/Mason.pm:${PORTSDIR}/www/p5-HTML-Mason \ ${SITE_PERL}/Apache/Session.pm:${PORTSDIR}/www/p5-Apache-Session \ ${SITE_PERL}/Cache/Cache.pm:${PORTSDIR}/devel/p5-Cache-Cache \ @@ -71,6 +71,14 @@ CONFIGURE_ARGS= --prefix=${RT_PATH} \ --with-db-type=${DB_TYPE} \ --with-db-dba=${DB_DBA_USER} +.if defined(WITH_FASTCGI) +APACHE_PORT?= ${PORTSDIR}/www/apache13 +BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache/mod_fastcgi.so:${PORTSDIR}/www/mod_fastcgi \ + ${ARCH_PERL}/FCGI.pm:${PORTSDIR}/www/p5-FastCGI +TESTDEPS_ARGS+= --with-FASTCGI +DEPENDS_ARGS+= WITHOUT_MODPERL=yes +.else +BUILD_DEPENDS+= ${SITE_PERL}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI .if defined(WITH_APACHE2) APACHE_PORT?= ${PORTSDIR}/www/apache2 BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache2/mod_perl.so:${PORTSDIR}/www/mod_perl2 @@ -78,6 +86,7 @@ BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache2/mod_perl.so:${PORTSDIR}/www/mod_per APACHE_PORT?= ${PORTSDIR}/www/apache13 BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl .endif +.endif APXS?= ${LOCALBASE}/sbin/apxs @@ -114,6 +123,7 @@ pre-fetch: @${ECHO} " DB_PORT=port The database port" @${ECHO} " DB_DBA_USER=password Name of database administrator (root)" @${ECHO} " DB_DBA_PASSWORD=password Password of database administrator" + @${ECHO} " WITH_FASTCGI Use FastCGI instead of mod_perl" @${ECHO} " WITH_APACHE2 Use Apache2 as the web server" @${ECHO} " UPGRADE Upgrade only, don't initialize DB" @${ECHO} "" diff --git a/www/rt32/Makefile b/www/rt32/Makefile index d1d53d5fa66a..5398e931774c 100644 --- a/www/rt32/Makefile +++ b/www/rt32/Makefile @@ -7,6 +7,7 @@ PORTNAME= rt3 PORTVERSION= 3.0.2 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES?= http://www.fsck.com/pub/rt/release/ \ ftp://ftp.eu.uu.net/pub/unix/ticketing/rt/ @@ -16,7 +17,6 @@ MAINTAINER= autrijus@autrijus.org COMMENT?= RT is an industrial-grade ticketing system written in Perl BUILD_DEPENDS= ${APXS}:${APACHE_PORT} \ - ${SITE_PERL}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI \ ${SITE_PERL}/Apache/Mason.pm:${PORTSDIR}/www/p5-HTML-Mason \ ${SITE_PERL}/Apache/Session.pm:${PORTSDIR}/www/p5-Apache-Session \ ${SITE_PERL}/Cache/Cache.pm:${PORTSDIR}/devel/p5-Cache-Cache \ @@ -71,6 +71,14 @@ CONFIGURE_ARGS= --prefix=${RT_PATH} \ --with-db-type=${DB_TYPE} \ --with-db-dba=${DB_DBA_USER} +.if defined(WITH_FASTCGI) +APACHE_PORT?= ${PORTSDIR}/www/apache13 +BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache/mod_fastcgi.so:${PORTSDIR}/www/mod_fastcgi \ + ${ARCH_PERL}/FCGI.pm:${PORTSDIR}/www/p5-FastCGI +TESTDEPS_ARGS+= --with-FASTCGI +DEPENDS_ARGS+= WITHOUT_MODPERL=yes +.else +BUILD_DEPENDS+= ${SITE_PERL}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI .if defined(WITH_APACHE2) APACHE_PORT?= ${PORTSDIR}/www/apache2 BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache2/mod_perl.so:${PORTSDIR}/www/mod_perl2 @@ -78,6 +86,7 @@ BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache2/mod_perl.so:${PORTSDIR}/www/mod_per APACHE_PORT?= ${PORTSDIR}/www/apache13 BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl .endif +.endif APXS?= ${LOCALBASE}/sbin/apxs @@ -114,6 +123,7 @@ pre-fetch: @${ECHO} " DB_PORT=port The database port" @${ECHO} " DB_DBA_USER=password Name of database administrator (root)" @${ECHO} " DB_DBA_PASSWORD=password Password of database administrator" + @${ECHO} " WITH_FASTCGI Use FastCGI instead of mod_perl" @${ECHO} " WITH_APACHE2 Use Apache2 as the web server" @${ECHO} " UPGRADE Upgrade only, don't initialize DB" @${ECHO} "" diff --git a/www/rt34/Makefile b/www/rt34/Makefile index d1d53d5fa66a..5398e931774c 100644 --- a/www/rt34/Makefile +++ b/www/rt34/Makefile @@ -7,6 +7,7 @@ PORTNAME= rt3 PORTVERSION= 3.0.2 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES?= http://www.fsck.com/pub/rt/release/ \ ftp://ftp.eu.uu.net/pub/unix/ticketing/rt/ @@ -16,7 +17,6 @@ MAINTAINER= autrijus@autrijus.org COMMENT?= RT is an industrial-grade ticketing system written in Perl BUILD_DEPENDS= ${APXS}:${APACHE_PORT} \ - ${SITE_PERL}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI \ ${SITE_PERL}/Apache/Mason.pm:${PORTSDIR}/www/p5-HTML-Mason \ ${SITE_PERL}/Apache/Session.pm:${PORTSDIR}/www/p5-Apache-Session \ ${SITE_PERL}/Cache/Cache.pm:${PORTSDIR}/devel/p5-Cache-Cache \ @@ -71,6 +71,14 @@ CONFIGURE_ARGS= --prefix=${RT_PATH} \ --with-db-type=${DB_TYPE} \ --with-db-dba=${DB_DBA_USER} +.if defined(WITH_FASTCGI) +APACHE_PORT?= ${PORTSDIR}/www/apache13 +BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache/mod_fastcgi.so:${PORTSDIR}/www/mod_fastcgi \ + ${ARCH_PERL}/FCGI.pm:${PORTSDIR}/www/p5-FastCGI +TESTDEPS_ARGS+= --with-FASTCGI +DEPENDS_ARGS+= WITHOUT_MODPERL=yes +.else +BUILD_DEPENDS+= ${SITE_PERL}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI .if defined(WITH_APACHE2) APACHE_PORT?= ${PORTSDIR}/www/apache2 BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache2/mod_perl.so:${PORTSDIR}/www/mod_perl2 @@ -78,6 +86,7 @@ BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache2/mod_perl.so:${PORTSDIR}/www/mod_per APACHE_PORT?= ${PORTSDIR}/www/apache13 BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl .endif +.endif APXS?= ${LOCALBASE}/sbin/apxs @@ -114,6 +123,7 @@ pre-fetch: @${ECHO} " DB_PORT=port The database port" @${ECHO} " DB_DBA_USER=password Name of database administrator (root)" @${ECHO} " DB_DBA_PASSWORD=password Password of database administrator" + @${ECHO} " WITH_FASTCGI Use FastCGI instead of mod_perl" @${ECHO} " WITH_APACHE2 Use Apache2 as the web server" @${ECHO} " UPGRADE Upgrade only, don't initialize DB" @${ECHO} "" diff --git a/www/rt36/Makefile b/www/rt36/Makefile index d1d53d5fa66a..5398e931774c 100644 --- a/www/rt36/Makefile +++ b/www/rt36/Makefile @@ -7,6 +7,7 @@ PORTNAME= rt3 PORTVERSION= 3.0.2 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES?= http://www.fsck.com/pub/rt/release/ \ ftp://ftp.eu.uu.net/pub/unix/ticketing/rt/ @@ -16,7 +17,6 @@ MAINTAINER= autrijus@autrijus.org COMMENT?= RT is an industrial-grade ticketing system written in Perl BUILD_DEPENDS= ${APXS}:${APACHE_PORT} \ - ${SITE_PERL}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI \ ${SITE_PERL}/Apache/Mason.pm:${PORTSDIR}/www/p5-HTML-Mason \ ${SITE_PERL}/Apache/Session.pm:${PORTSDIR}/www/p5-Apache-Session \ ${SITE_PERL}/Cache/Cache.pm:${PORTSDIR}/devel/p5-Cache-Cache \ @@ -71,6 +71,14 @@ CONFIGURE_ARGS= --prefix=${RT_PATH} \ --with-db-type=${DB_TYPE} \ --with-db-dba=${DB_DBA_USER} +.if defined(WITH_FASTCGI) +APACHE_PORT?= ${PORTSDIR}/www/apache13 +BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache/mod_fastcgi.so:${PORTSDIR}/www/mod_fastcgi \ + ${ARCH_PERL}/FCGI.pm:${PORTSDIR}/www/p5-FastCGI +TESTDEPS_ARGS+= --with-FASTCGI +DEPENDS_ARGS+= WITHOUT_MODPERL=yes +.else +BUILD_DEPENDS+= ${SITE_PERL}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI .if defined(WITH_APACHE2) APACHE_PORT?= ${PORTSDIR}/www/apache2 BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache2/mod_perl.so:${PORTSDIR}/www/mod_perl2 @@ -78,6 +86,7 @@ BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache2/mod_perl.so:${PORTSDIR}/www/mod_per APACHE_PORT?= ${PORTSDIR}/www/apache13 BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl .endif +.endif APXS?= ${LOCALBASE}/sbin/apxs @@ -114,6 +123,7 @@ pre-fetch: @${ECHO} " DB_PORT=port The database port" @${ECHO} " DB_DBA_USER=password Name of database administrator (root)" @${ECHO} " DB_DBA_PASSWORD=password Password of database administrator" + @${ECHO} " WITH_FASTCGI Use FastCGI instead of mod_perl" @${ECHO} " WITH_APACHE2 Use Apache2 as the web server" @${ECHO} " UPGRADE Upgrade only, don't initialize DB" @${ECHO} "" |