aboutsummaryrefslogtreecommitdiff
path: root/www/rt42/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/rt42/Makefile')
-rw-r--r--www/rt42/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/www/rt42/Makefile b/www/rt42/Makefile
index e6ed74b0d0f7..92105cc4c008 100644
--- a/www/rt42/Makefile
+++ b/www/rt42/Makefile
@@ -2,6 +2,7 @@
PORTNAME= rt
DISTVERSION= 4.2.12
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://download.bestpractical.com/pub/rt/release/
PKGNAMESUFFIX= 42
@@ -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
@@ -201,4 +202,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>4.0:${PORTSDIR}/www/p5-CGI
+.endif
+
+.include <bsd.port.post.mk>