aboutsummaryrefslogtreecommitdiff
path: root/www/rt40
diff options
context:
space:
mode:
authorMatthew Seaman <matthew@FreeBSD.org>2015-08-29 21:05:58 +0000
committerMatthew Seaman <matthew@FreeBSD.org>2015-08-29 21:05:58 +0000
commitb142289e7d3a6a488b5fea1dfbfabeeffb9939c7 (patch)
treeb0c564fa7ded6b9b70a52739822d4682bca92b8c /www/rt40
parent1f79aa9e795cea4d22b9d7f04f13b2ef93a31f90 (diff)
downloadports-b142289e7d3a6a488b5fea1dfbfabeeffb9939c7.tar.gz
ports-b142289e7d3a6a488b5fea1dfbfabeeffb9939c7.zip
Notes
Diffstat (limited to 'www/rt40')
-rw-r--r--www/rt40/Makefile11
-rw-r--r--www/rt40/Makefile.cpan4
2 files changed, 11 insertions, 4 deletions
diff --git a/www/rt40/Makefile b/www/rt40/Makefile
index 4d3187cdf9a5..314189b30ecc 100644
--- a/www/rt40/Makefile
+++ b/www/rt40/Makefile
@@ -2,6 +2,7 @@
PORTNAME= rt
PORTVERSION= 4.0.24
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://download.bestpractical.com/pub/rt/release/
PKGNAMESUFFIX= 40
@@ -37,7 +38,7 @@ OPTIONS_SINGLE_DB= MYSQL ORACLE PGSQL SQLITE
OPTIONS_RADIO= WEB
OPTIONS_RADIO_WEB= AP_MODFASTCGI AP_MODPERL LIGHTTPD SPAWN_FCGI
-OPTIONS_DEFAULT= AP_MODPERL GD GPG MYSQL
+OPTIONS_DEFAULT= AP_MODFASTCGI GD GPG MYSQL
USERS?= www
GROUPS?= rt www
@@ -208,4 +209,10 @@ post-install:
(cd ${WRKSRC}/etc && \
${COPYTREE_SHARE} upgrade ${STAGEDIR}${DOCSDIR} "! -name *\.in")
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} >= 502200
+CORE_DEPS+= p5-CGI>0:${PORTSDIR}/www/p5-CGI
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/rt40/Makefile.cpan b/www/rt40/Makefile.cpan
index 1a77228ed69b..41c1b9feaa4b 100644
--- a/www/rt40/Makefile.cpan
+++ b/www/rt40/Makefile.cpan
@@ -10,8 +10,8 @@
### Digest::base core
### Time::HiRes core
### Errno core
-### CGI 3.38 core
-### CGI::Cookie 1.20 core
+### CGI 3.38 core (perl<5.22)
+### CGI::Cookie 1.20 core (perl<5.22)
### Storable 2.08 core
### Getopt::Long 2.24 core
### Pod::Usage core