1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

Add support for rt-4.4.x and make it the default selection.

PR:		209122
Submitted by:	marko.cupac@mimar.rs
This commit is contained in:
Matthew Seaman 2016-04-28 13:54:21 +00:00
parent 206e7e259b
commit 0d283139e0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=414171

View File

@ -3,6 +3,7 @@
PORTNAME= RT-Extension-MandatoryOnTransition
DISTVERSION= 0.10
PORTREVISION= 1
CATEGORIES= www net perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@ -13,16 +14,17 @@ COMMENT= Extension to require core and ticket custom fields on status changes
LICENSE= GPLv2
OPTIONS_SINGLE= RTVERSION
OPTIONS_SINGLE_RTVERSION= RT40 RT42
OPTIONS_SINGLE_RTVERSION= RT40 RT42 RT44
RT40_DESC= Install for rt-4.0.x (www/rt40)
RT42_DESC= Install for rt-4.2.x (www/rt42)
OPTIONS_DEFAULT= RT42
RT44_DESC= Install for rt-4.4.x (www/rt44)
OPTIONS_DEFAULT= RT44
.include <bsd.port.options.mk>
.for opt in 40 42
.if ${PORT_OPTIONS:MRT${opt}}
RT_VER= ${opt}
.for opt in ${OPTIONS_SINGLE_RTVERSION}
.if ${PORT_OPTIONS:M${opt}}
RT_VER= ${opt:S/RT//}
.endif
.endfor
@ -40,7 +42,7 @@ USE_PERL5= configure
PLIST_SUB+= RT_VER=${RT_VER}
# Note: You can install using an arbitrary $PREFIX but only if it
# matches the $PREFIX used to install www/rt{40,42}. Hence ignore
# matches the $PREFIX used to install www/rt{40,42,44}. Hence ignore
# $PREFIX in the environment and inherit settings from RT.pm
do-configure:
@cd ${CONFIGURE_WRKSRC} && \