aboutsummaryrefslogtreecommitdiffstats
path: root/www/rt34
diff options
context:
space:
mode:
Diffstat (limited to 'www/rt34')
-rw-r--r--www/rt34/Makefile20
-rw-r--r--www/rt34/distinfo2
-rw-r--r--www/rt34/pkg-plist1
3 files changed, 9 insertions, 14 deletions
diff --git a/www/rt34/Makefile b/www/rt34/Makefile
index 3b417d5491c0..d1d53d5fa66a 100644
--- a/www/rt34/Makefile
+++ b/www/rt34/Makefile
@@ -6,11 +6,11 @@
#
PORTNAME= rt3
-PORTVERSION= 3.0.1
+PORTVERSION= 3.0.2
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
+DISTFILES?= rt-${PORTVERSION:S/./-/g}.tar.gz
MAINTAINER= autrijus@autrijus.org
COMMENT?= RT is an industrial-grade ticketing system written in Perl
@@ -56,7 +56,7 @@ BUILD_DEPENDS= ${APXS}:${APACHE_PORT} \
${SITE_PERL}/WWW/Mechanize.pm:${PORTSDIR}/www/p5-WWW-Mechanize
RUN_DEPENDS= ${BUILD_DEPENDS}
-WRKSRC= ${WRKDIR}/rt-3-0-1
+WRKSRC= ${WRKDIR}/rt-${PORTVERSION:S/./-/g}
HAS_CONFIGURE= yes
NO_BUILD= yes
NO_PACKAGE= Executes scripts in post-install phase
@@ -84,11 +84,11 @@ APXS?= ${LOCALBASE}/sbin/apxs
DB_TYPE?= mysql
.if ${DB_TYPE} == "Pg"
-BUILD_DEPENDS+= ${LOCALBASE}/bin/psql:${PORTSDIR}/databases/postgresql7
+BUILD_DEPENDS+= ${LOCALBASE}/bin/psql:${PORTSDIR}/databases/postgresql7 \
+ ${ARCH_PERL}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
.else
DB_TYPE= mysql
-BUILD_DEPENDS+= ${LOCALBASE}/bin/mysql_config:${PORTSDIR}/databases/mysql40-server \
- ${ARCH_PERL}/Mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
+BUILD_DEPENDS+= ${LOCALBASE}/bin/mysql_config:${PORTSDIR}/databases/mysql40-server
.endif
SITE_PERL:= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
@@ -118,18 +118,12 @@ pre-fetch:
@${ECHO} " UPGRADE Upgrade only, don't initialize DB"
@${ECHO} ""
-post-extract:
- -@${CHMOD} a+x ${WRKSRC}/configure
-
pre-install:
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} \
${PKGNAME} PRE-INSTALL
-do-install:
- @cd ${WRKSRC} && ${MAKE} install
- @${INSTALL_DATA} ${WRKSRC}/README ${RT_PATH}/README
-
post-install:
+ @${INSTALL_DATA} ${WRKSRC}/README ${RT_PATH}/README
.if defined(UPGRADE)
@echo Upgrade of RT3 complete.
.else
diff --git a/www/rt34/distinfo b/www/rt34/distinfo
index 0b444bad7a10..669098a32c33 100644
--- a/www/rt34/distinfo
+++ b/www/rt34/distinfo
@@ -1 +1 @@
-MD5 (rt-3-0-1.tar.gz) = 78a70cadd403e0549f185e0006386208
+MD5 (rt-3-0-2.tar.gz) = c4e788cce9b5dad5a40802f0f0493e2f
diff --git a/www/rt34/pkg-plist b/www/rt34/pkg-plist
index 5d331c4a8644..23740c9e2afe 100644
--- a/www/rt34/pkg-plist
+++ b/www/rt34/pkg-plist
@@ -7,6 +7,7 @@ rt3/etc/schema.mysql
rt3/etc/acl.mysql
rt3/etc/acl.Pg
rt3/etc/acl.Oracle
+rt3/share/html/Ticket/Elements/BulkLinks
rt3/share/html/Ticket/Elements/ShowTransaction
rt3/share/html/Ticket/Elements/EditBasics
rt3/share/html/Ticket/Elements/EditCustomField