diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2003-05-15 18:59:34 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2003-05-15 18:59:34 +0000 |
commit | f4b53904c5cdc8f7ea28a342a838cda8d8607483 (patch) | |
tree | df0a4dd1548fe2684b4e5028a8276a4d0cc20d84 /www/rt3 | |
parent | Update to 2.0.4. (diff) |
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
Notes
Notes:
svn path=/head/; revision=81047
Diffstat (limited to 'www/rt3')
-rw-r--r-- | www/rt3/Makefile | 20 | ||||
-rw-r--r-- | www/rt3/distinfo | 2 | ||||
-rw-r--r-- | www/rt3/pkg-plist | 1 |
3 files changed, 9 insertions, 14 deletions
diff --git a/www/rt3/Makefile b/www/rt3/Makefile index 3b417d5491c0..d1d53d5fa66a 100644 --- a/www/rt3/Makefile +++ b/www/rt3/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/rt3/distinfo b/www/rt3/distinfo index 0b444bad7a10..669098a32c33 100644 --- a/www/rt3/distinfo +++ b/www/rt3/distinfo @@ -1 +1 @@ -MD5 (rt-3-0-1.tar.gz) = 78a70cadd403e0549f185e0006386208 +MD5 (rt-3-0-2.tar.gz) = c4e788cce9b5dad5a40802f0f0493e2f diff --git a/www/rt3/pkg-plist b/www/rt3/pkg-plist index 5d331c4a8644..23740c9e2afe 100644 --- a/www/rt3/pkg-plist +++ b/www/rt3/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 |