aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-05-05 05:10:35 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-05-05 05:10:35 +0000
commiteffe54424a40a932adeb0317ef935c891edc7677 (patch)
treef170f4fc5d25bd2e7d665d9a6227967add95cc9d
parent34b498b8ce41fd5e1e6a9d895a9ff294f985d585 (diff)
downloadports-effe54424a40a932adeb0317ef935c891edc7677.tar.gz
ports-effe54424a40a932adeb0317ef935c891edc7677.zip
Notes
-rw-r--r--www/rt3/Makefile18
-rw-r--r--www/rt32/Makefile18
-rw-r--r--www/rt34/Makefile18
-rw-r--r--www/rt36/Makefile18
4 files changed, 52 insertions, 20 deletions
diff --git a/www/rt3/Makefile b/www/rt3/Makefile
index 75df807aedad..abbcf9991a51 100644
--- a/www/rt3/Makefile
+++ b/www/rt3/Makefile
@@ -9,14 +9,12 @@ PORTNAME= rt3
PORTVERSION= 3.0.1
CATEGORIES= www
MASTER_SITES= http://www.fsck.com/pub/rt/release/
-WRKSRC= ${WRKDIR}/rt-3-0-1
DISTFILES= rt-3-0-1.tar.gz
MAINTAINER= autrijus@autrijus.org
COMMENT= RT is an industrial-grade ticketing system written in Perl
BUILD_DEPENDS= ${APXS}:${APACHE_PORT} \
- ${ARCH_PERL}/Apache/Cookie.pm:${PORTSDIR}/www/p5-libapreq \
${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 \
@@ -28,7 +26,6 @@ BUILD_DEPENDS= ${APXS}:${APACHE_PORT} \
${SITE_PERL}/DBIx/DataSource.pm:${PORTSDIR}/databases/p5-DBIx-DataSource \
${SITE_PERL}/DBIx/SearchBuilder.pm:${PORTSDIR}/databases/p5-DBIx-SearchBuilder \
${ARCH_PERL}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
- ${SITE_PERL}/Encode/compat.pm:${PORTSDIR}/devel/p5-Encode-compat \
${SITE_PERL}/Exception/Class.pm:${PORTSDIR}/devel/p5-Exception-Class \
${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
${SITE_PERL}/FreezeThaw.pm:${PORTSDIR}/devel/p5-FreezeThaw \
@@ -58,6 +55,7 @@ BUILD_DEPENDS= ${APXS}:${APACHE_PORT} \
${SITE_PERL}/Time/ParseDate.pm:${PORTSDIR}/devel/p5-Time \
${SITE_PERL}/WWW/Mechanize.pm:${PORTSDIR}/www/p5-WWW-Mechanize
+WRKSRC= ${WRKDIR}/rt-3-0-1
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${RT_PATH} \
@@ -104,7 +102,7 @@ LAYOUT?= RT3
DB_DBA_USER?= root
DB_HOST?= localhost
-DB_DBA_PASSWORD?=
+DB_DBA_PASSWORD?=
WEB_USER?= nobody
WEB_GROUP?= nogroup
@@ -142,4 +140,14 @@ post-install:
@${SED} s!%%RT_PATH%%!${RT_PATH}!g ${PKGMESSAGE}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE= This program only support perl 5.6.1 or above
+.endif
+
+.if ${PERL_LEVEL} == 500601
+BUILD_DEPENDS+= ${SITE_PERL}/Encode/compat.pm:${PORTSDIR}/devel/p5-Encode-compat
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/rt32/Makefile b/www/rt32/Makefile
index 75df807aedad..abbcf9991a51 100644
--- a/www/rt32/Makefile
+++ b/www/rt32/Makefile
@@ -9,14 +9,12 @@ PORTNAME= rt3
PORTVERSION= 3.0.1
CATEGORIES= www
MASTER_SITES= http://www.fsck.com/pub/rt/release/
-WRKSRC= ${WRKDIR}/rt-3-0-1
DISTFILES= rt-3-0-1.tar.gz
MAINTAINER= autrijus@autrijus.org
COMMENT= RT is an industrial-grade ticketing system written in Perl
BUILD_DEPENDS= ${APXS}:${APACHE_PORT} \
- ${ARCH_PERL}/Apache/Cookie.pm:${PORTSDIR}/www/p5-libapreq \
${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 \
@@ -28,7 +26,6 @@ BUILD_DEPENDS= ${APXS}:${APACHE_PORT} \
${SITE_PERL}/DBIx/DataSource.pm:${PORTSDIR}/databases/p5-DBIx-DataSource \
${SITE_PERL}/DBIx/SearchBuilder.pm:${PORTSDIR}/databases/p5-DBIx-SearchBuilder \
${ARCH_PERL}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
- ${SITE_PERL}/Encode/compat.pm:${PORTSDIR}/devel/p5-Encode-compat \
${SITE_PERL}/Exception/Class.pm:${PORTSDIR}/devel/p5-Exception-Class \
${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
${SITE_PERL}/FreezeThaw.pm:${PORTSDIR}/devel/p5-FreezeThaw \
@@ -58,6 +55,7 @@ BUILD_DEPENDS= ${APXS}:${APACHE_PORT} \
${SITE_PERL}/Time/ParseDate.pm:${PORTSDIR}/devel/p5-Time \
${SITE_PERL}/WWW/Mechanize.pm:${PORTSDIR}/www/p5-WWW-Mechanize
+WRKSRC= ${WRKDIR}/rt-3-0-1
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${RT_PATH} \
@@ -104,7 +102,7 @@ LAYOUT?= RT3
DB_DBA_USER?= root
DB_HOST?= localhost
-DB_DBA_PASSWORD?=
+DB_DBA_PASSWORD?=
WEB_USER?= nobody
WEB_GROUP?= nogroup
@@ -142,4 +140,14 @@ post-install:
@${SED} s!%%RT_PATH%%!${RT_PATH}!g ${PKGMESSAGE}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE= This program only support perl 5.6.1 or above
+.endif
+
+.if ${PERL_LEVEL} == 500601
+BUILD_DEPENDS+= ${SITE_PERL}/Encode/compat.pm:${PORTSDIR}/devel/p5-Encode-compat
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/rt34/Makefile b/www/rt34/Makefile
index 75df807aedad..abbcf9991a51 100644
--- a/www/rt34/Makefile
+++ b/www/rt34/Makefile
@@ -9,14 +9,12 @@ PORTNAME= rt3
PORTVERSION= 3.0.1
CATEGORIES= www
MASTER_SITES= http://www.fsck.com/pub/rt/release/
-WRKSRC= ${WRKDIR}/rt-3-0-1
DISTFILES= rt-3-0-1.tar.gz
MAINTAINER= autrijus@autrijus.org
COMMENT= RT is an industrial-grade ticketing system written in Perl
BUILD_DEPENDS= ${APXS}:${APACHE_PORT} \
- ${ARCH_PERL}/Apache/Cookie.pm:${PORTSDIR}/www/p5-libapreq \
${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 \
@@ -28,7 +26,6 @@ BUILD_DEPENDS= ${APXS}:${APACHE_PORT} \
${SITE_PERL}/DBIx/DataSource.pm:${PORTSDIR}/databases/p5-DBIx-DataSource \
${SITE_PERL}/DBIx/SearchBuilder.pm:${PORTSDIR}/databases/p5-DBIx-SearchBuilder \
${ARCH_PERL}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
- ${SITE_PERL}/Encode/compat.pm:${PORTSDIR}/devel/p5-Encode-compat \
${SITE_PERL}/Exception/Class.pm:${PORTSDIR}/devel/p5-Exception-Class \
${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
${SITE_PERL}/FreezeThaw.pm:${PORTSDIR}/devel/p5-FreezeThaw \
@@ -58,6 +55,7 @@ BUILD_DEPENDS= ${APXS}:${APACHE_PORT} \
${SITE_PERL}/Time/ParseDate.pm:${PORTSDIR}/devel/p5-Time \
${SITE_PERL}/WWW/Mechanize.pm:${PORTSDIR}/www/p5-WWW-Mechanize
+WRKSRC= ${WRKDIR}/rt-3-0-1
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${RT_PATH} \
@@ -104,7 +102,7 @@ LAYOUT?= RT3
DB_DBA_USER?= root
DB_HOST?= localhost
-DB_DBA_PASSWORD?=
+DB_DBA_PASSWORD?=
WEB_USER?= nobody
WEB_GROUP?= nogroup
@@ -142,4 +140,14 @@ post-install:
@${SED} s!%%RT_PATH%%!${RT_PATH}!g ${PKGMESSAGE}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE= This program only support perl 5.6.1 or above
+.endif
+
+.if ${PERL_LEVEL} == 500601
+BUILD_DEPENDS+= ${SITE_PERL}/Encode/compat.pm:${PORTSDIR}/devel/p5-Encode-compat
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/rt36/Makefile b/www/rt36/Makefile
index 75df807aedad..abbcf9991a51 100644
--- a/www/rt36/Makefile
+++ b/www/rt36/Makefile
@@ -9,14 +9,12 @@ PORTNAME= rt3
PORTVERSION= 3.0.1
CATEGORIES= www
MASTER_SITES= http://www.fsck.com/pub/rt/release/
-WRKSRC= ${WRKDIR}/rt-3-0-1
DISTFILES= rt-3-0-1.tar.gz
MAINTAINER= autrijus@autrijus.org
COMMENT= RT is an industrial-grade ticketing system written in Perl
BUILD_DEPENDS= ${APXS}:${APACHE_PORT} \
- ${ARCH_PERL}/Apache/Cookie.pm:${PORTSDIR}/www/p5-libapreq \
${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 \
@@ -28,7 +26,6 @@ BUILD_DEPENDS= ${APXS}:${APACHE_PORT} \
${SITE_PERL}/DBIx/DataSource.pm:${PORTSDIR}/databases/p5-DBIx-DataSource \
${SITE_PERL}/DBIx/SearchBuilder.pm:${PORTSDIR}/databases/p5-DBIx-SearchBuilder \
${ARCH_PERL}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
- ${SITE_PERL}/Encode/compat.pm:${PORTSDIR}/devel/p5-Encode-compat \
${SITE_PERL}/Exception/Class.pm:${PORTSDIR}/devel/p5-Exception-Class \
${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
${SITE_PERL}/FreezeThaw.pm:${PORTSDIR}/devel/p5-FreezeThaw \
@@ -58,6 +55,7 @@ BUILD_DEPENDS= ${APXS}:${APACHE_PORT} \
${SITE_PERL}/Time/ParseDate.pm:${PORTSDIR}/devel/p5-Time \
${SITE_PERL}/WWW/Mechanize.pm:${PORTSDIR}/www/p5-WWW-Mechanize
+WRKSRC= ${WRKDIR}/rt-3-0-1
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${RT_PATH} \
@@ -104,7 +102,7 @@ LAYOUT?= RT3
DB_DBA_USER?= root
DB_HOST?= localhost
-DB_DBA_PASSWORD?=
+DB_DBA_PASSWORD?=
WEB_USER?= nobody
WEB_GROUP?= nogroup
@@ -142,4 +140,14 @@ post-install:
@${SED} s!%%RT_PATH%%!${RT_PATH}!g ${PKGMESSAGE}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE= This program only support perl 5.6.1 or above
+.endif
+
+.if ${PERL_LEVEL} == 500601
+BUILD_DEPENDS+= ${SITE_PERL}/Encode/compat.pm:${PORTSDIR}/devel/p5-Encode-compat
+.endif
+
+.include <bsd.port.post.mk>