aboutsummaryrefslogtreecommitdiff
path: root/www/p5-RT-Extension-SLA/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/p5-RT-Extension-SLA/Makefile')
-rw-r--r--www/p5-RT-Extension-SLA/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/www/p5-RT-Extension-SLA/Makefile b/www/p5-RT-Extension-SLA/Makefile
index 9a1188f7a687..edc749fb1cfb 100644
--- a/www/p5-RT-Extension-SLA/Makefile
+++ b/www/p5-RT-Extension-SLA/Makefile
@@ -24,11 +24,12 @@ LICENSE= GPLv2
PERL_CONFIGURE= yes
-OPTIONS= RT38 "Install for rt-3.8.x (default rt-4.0.x)" off
+OPTIONS_DEFINE= RT38
+RT38_DESC= Install for rt-3.8.x (default rt-4.0.x)
.include <bsd.port.options.mk>
-.if defined(WITH_RT38)
+.if ${PORT_OPTIONS:MRT38}
RT_VER= 38
.else
RT_VER= 40
@@ -57,7 +58,7 @@ SUB_LIST+= INITIALDATA=plugins/RT-Extension-SLA/etc/initialdata
SUB_FILES+= pkg-message
# Note: You can install using an arbitrary $PREFIX but only if it
-# matches the $PREFIX used to install www/rt3{6,8}. Hence ignore
+# matches the $PREFIX used to install www/rt{38,40}. Hence ignore
# $PREFIX in the environment and inherit settings from RT.pm
do-configure:
@cd ${CONFIGURE_WRKSRC} && \