diff options
author | demon <demon@FreeBSD.org> | 2003-05-16 02:59:34 +0800 |
---|---|---|
committer | demon <demon@FreeBSD.org> | 2003-05-16 02:59:34 +0800 |
commit | b49c1d91dfcabde327737139008db95af2d962e3 (patch) | |
tree | 0dae182094d262469f6660b5b4acc5f36149d00c /www/rt34 | |
parent | 6dcf4ab5854e31f1ec7632e8d3f8c9a6cb755ff6 (diff) | |
download | freebsd-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/rt34')
-rw-r--r-- | www/rt34/Makefile | 20 | ||||
-rw-r--r-- | www/rt34/distinfo | 2 | ||||
-rw-r--r-- | www/rt34/pkg-plist | 1 |
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 |