aboutsummaryrefslogtreecommitdiff
path: root/www/rt34/Makefile
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2003-05-15 09:04:57 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2003-05-15 09:04:57 +0000
commit746aacc48433ae2d46eb50fce223167bab43180c (patch)
treefeccc83c92f85e3f4f4706a5af9060ad1b182bf8 /www/rt34/Makefile
parentc4af7d86b76ed9f037de2657adb63dd6e3a52361 (diff)
downloadports-746aacc48433ae2d46eb50fce223167bab43180c.tar.gz
ports-746aacc48433ae2d46eb50fce223167bab43180c.zip
Notes
Diffstat (limited to 'www/rt34/Makefile')
-rw-r--r--www/rt34/Makefile43
1 files changed, 22 insertions, 21 deletions
diff --git a/www/rt34/Makefile b/www/rt34/Makefile
index c584b769aa6e..3b417d5491c0 100644
--- a/www/rt34/Makefile
+++ b/www/rt34/Makefile
@@ -6,15 +6,16 @@
#
PORTNAME= rt3
-PORTVERSION= 3.0.1
-CATEGORIES= www
-MASTER_SITES?= http://www.fsck.com/pub/rt/release/
-DISTFILES?= rt-3-0-1.tar.gz
+PORTVERSION= 3.0.1
+CATEGORIES= www
+MASTER_SITES?= http://www.fsck.com/pub/rt/release/ \
+ ftp://ftp.eu.uu.net/pub/unix/ticketing/rt/
+DISTFILES?= rt-3-0-1.tar.gz
-MAINTAINER= autrijus@autrijus.org
+MAINTAINER= autrijus@autrijus.org
COMMENT?= RT is an industrial-grade ticketing system written in Perl
-BUILD_DEPENDS= ${APXS}:${APACHE_PORT} \
+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 \
@@ -53,14 +54,14 @@ BUILD_DEPENDS= ${APXS}:${APACHE_PORT} \
${ARCH_PERL}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \
${SITE_PERL}/Time/ParseDate.pm:${PORTSDIR}/devel/p5-Time-modules \
${SITE_PERL}/WWW/Mechanize.pm:${PORTSDIR}/www/p5-WWW-Mechanize
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= ${BUILD_DEPENDS}
-WRKSRC= ${WRKDIR}/rt-3-0-1
-HAS_CONFIGURE= yes
+WRKSRC= ${WRKDIR}/rt-3-0-1
+HAS_CONFIGURE= yes
NO_BUILD= yes
NO_PACKAGE= Executes scripts in post-install phase
-CONFIGURE_ARGS= --prefix=${RT_PATH} \
+CONFIGURE_ARGS= --prefix=${RT_PATH} \
--enable-layout=${LAYOUT} \
--with-web-user=${WEB_USER} \
--with-web-group=${WEB_GROUP} \
@@ -71,29 +72,29 @@ CONFIGURE_ARGS= --prefix=${RT_PATH} \
--with-db-dba=${DB_DBA_USER}
.if defined(WITH_APACHE2)
-APACHE_PORT?= ${PORTSDIR}/www/apache2
-BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache2/mod_perl.so:${PORTSDIR}/www/mod_perl2
+APACHE_PORT?= ${PORTSDIR}/www/apache2
+BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache2/mod_perl.so:${PORTSDIR}/www/mod_perl2
.else
-APACHE_PORT?= ${PORTSDIR}/www/apache13
-BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl
+APACHE_PORT?= ${PORTSDIR}/www/apache13
+BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl
.endif
-APXS?= ${LOCALBASE}/sbin/apxs
+APXS?= ${LOCALBASE}/sbin/apxs
-DB_TYPE?= mysql
+DB_TYPE?= mysql
.if ${DB_TYPE} == "Pg"
-BUILD_DEPENDS+= ${LOCALBASE}/bin/psql:${PORTSDIR}/databases/postgresql7
+BUILD_DEPENDS+= ${LOCALBASE}/bin/psql:${PORTSDIR}/databases/postgresql7
.else
-DB_TYPE= mysql
-BUILD_DEPENDS+= ${LOCALBASE}/bin/mysql_config:${PORTSDIR}/databases/mysql40-server \
+DB_TYPE= mysql
+BUILD_DEPENDS+= ${LOCALBASE}/bin/mysql_config:${PORTSDIR}/databases/mysql40-server \
${ARCH_PERL}/Mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
.endif
SITE_PERL:= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
ARCH_PERL= ${SITE_PERL}/${PERL_ARCH}/
-USE_PERL5= yes
-RT_PATH?= ${PREFIX}/rt3
+USE_PERL5= yes
+RT_PATH?= ${PREFIX}/rt3
LAYOUT?= RT3
DB_DBA_USER?= root