Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Apr 2016 13:54:22 +0000 (UTC)
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r414171 - head/www/p5-RT-Extension-MandatoryOnTransition
Message-ID:  <201604281354.u3SDsMQk044638@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: matthew
Date: Thu Apr 28 13:54:21 2016
New Revision: 414171
URL: https://svnweb.freebsd.org/changeset/ports/414171

Log:
  Add support for rt-4.4.x and make it the default selection.
  
  PR:		209122
  Submitted by:	marko.cupac@mimar.rs

Modified:
  head/www/p5-RT-Extension-MandatoryOnTransition/Makefile

Modified: head/www/p5-RT-Extension-MandatoryOnTransition/Makefile
==============================================================================
--- head/www/p5-RT-Extension-MandatoryOnTransition/Makefile	Thu Apr 28 13:44:24 2016	(r414170)
+++ head/www/p5-RT-Extension-MandatoryOnTransition/Makefile	Thu Apr 28 13:54:21 2016	(r414171)
@@ -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 t
 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} && \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604281354.u3SDsMQk044638>