aboutsummaryrefslogtreecommitdiffstats
path: root/www/rt32
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2003-05-16 02:59:34 +0800
committerdemon <demon@FreeBSD.org>2003-05-16 02:59:34 +0800
commitb49c1d91dfcabde327737139008db95af2d962e3 (patch)
tree0dae182094d262469f6660b5b4acc5f36149d00c /www/rt32
parent6dcf4ab5854e31f1ec7632e8d3f8c9a6cb755ff6 (diff)
downloadfreebsd-ports-gnome-b49c1d91dfcabde327737139008db95af2d962e3.tar.gz
freebsd-ports-gnome-b49c1d91dfcabde327737139008db95af2d962e3.tar.zst
freebsd-ports-gnome-b49c1d91dfcabde327737139008db95af2d962e3.zip
o Remove explicit dependency on p5-DBD-Mysql; it is inherited
from mysql40-server; o Add dependency on p5-DBD-Pg when building with postgres; [1] o Do not hardcode version number three times in the Makefile; o Do not chmod a+x configure, it is not needed; o Remove do-install target and move installation of README file to post-install; o Update to version 3.0.2. PR: 52107 [1] Submitted by: Palle Girgensohn <girgen@rambutan.pingpong.net> [1] Approved by: maintainer
Diffstat (limited to 'www/rt32')
-rw-r--r--www/rt32/Makefile20
-rw-r--r--www/rt32/distinfo2
-rw-r--r--www/rt32/pkg-plist1
3 files changed, 9 insertions, 14 deletions
diff --git a/www/rt32/Makefile b/www/rt32/Makefile
index 3b417d5491c0..d1d53d5fa66a 100644
--- a/www/rt32/Makefile
+++ b/www/rt32/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/rt32/distinfo b/www/rt32/distinfo
index 0b444bad7a10..669098a32c33 100644
--- a/www/rt32/distinfo
+++ b/www/rt32/distinfo
@@ -1 +1 @@
-MD5 (rt-3-0-1.tar.gz) = 78a70cadd403e0549f185e0006386208
+MD5 (rt-3-0-2.tar.gz) = c4e788cce9b5dad5a40802f0f0493e2f
diff --git a/www/rt32/pkg-plist b/www/rt32/pkg-plist
index 5d331c4a8644..23740c9e2afe 100644
--- a/www/rt32/pkg-plist
+++ b/www/rt32/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