Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Dec 2013 17:51:43 +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: r335414 - in head/www: p5-RT-Authen-ExternalAuth p5-RT-Extension-LDAPImport p5-RT-Extension-MandatoryOnTransition p5-RT-Extension-SLA p5-RTx-Calendar
Message-ID:  <201312011751.rB1HphZO040053@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: matthew
Date: Sun Dec  1 17:51:42 2013
New Revision: 335414
URL: http://svnweb.freebsd.org/changeset/ports/335414

Log:
  Update all the RT extension modules to work with www/rt42 and make
  that the new default.

Modified:
  head/www/p5-RT-Authen-ExternalAuth/Makefile
  head/www/p5-RT-Extension-LDAPImport/Makefile
  head/www/p5-RT-Extension-MandatoryOnTransition/Makefile
  head/www/p5-RT-Extension-SLA/Makefile
  head/www/p5-RTx-Calendar/Makefile

Modified: head/www/p5-RT-Authen-ExternalAuth/Makefile
==============================================================================
--- head/www/p5-RT-Authen-ExternalAuth/Makefile	Sun Dec  1 17:49:02 2013	(r335413)
+++ head/www/p5-RT-Authen-ExternalAuth/Makefile	Sun Dec  1 17:51:42 2013	(r335414)
@@ -3,6 +3,7 @@
 
 PORTNAME=	RT-Authen-ExternalAuth
 DISTVERSION=	0.17
+PORTREVISION=	1
 CATEGORIES=	www net perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -20,16 +21,23 @@ RUN_DEPENDS:=	${BUILD_DEPENDS}
 USES+=		perl5
 USE_PERL5=	configure
 
-OPTIONS_DEFINE=	RT38
-RT38_DESC=	Install for rt-3.8.x (default rt-4.0.x)
+OPTIONS_SINGLE=                 RTVERSION
+OPTIONS_SINGLE_RTVERSION=       RT38 RT40 RT42
+RT38_DESC=                      Install for rt-3.8.x (www/rt38)
+RT40_DESC=                      Install for rt-4.0.x (www/rt40)
+RT42_DESC=                      Install for rt-4.2.x (www/rt42)
+OPTIONS_DEFAULT=                RT42
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MRT38}
-RT_VER=		38
-.else
-RT_VER=		40
+.for opt in 38 40 42
+.if ${PORT_OPTIONS:MRT${opt}}
+RT_VER=         ${opt}
 .endif
+.endfor
+
+### Temporary for debugging
+#WRKDIR=         ${WRKDIRPREFIX}${.CURDIR}/work${RT_VER}
 
 BUILD_DEPENDS+=	${LOCALBASE}/bin/rt:${PORTSDIR}/www/rt${RT_VER}
 RUN_DEPENDS+=	${LOCALBASE}/bin/rt:${PORTSDIR}/www/rt${RT_VER}

Modified: head/www/p5-RT-Extension-LDAPImport/Makefile
==============================================================================
--- head/www/p5-RT-Extension-LDAPImport/Makefile	Sun Dec  1 17:49:02 2013	(r335413)
+++ head/www/p5-RT-Extension-LDAPImport/Makefile	Sun Dec  1 17:51:42 2013	(r335414)
@@ -3,6 +3,7 @@
 
 PORTNAME=	RT-Extension-LDAPImport
 PORTVERSION=	0.35
+PORTREVISON=	1
 CATEGORIES=	www net perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -20,16 +21,23 @@ RUN_DEPENDS:=	${BUILD_DEPENDS}
 USES+=		perl5
 USE_PERL5=	configure
 
-OPTIONS_DEFINE=	RT38
-RT38_DESC=	Install for rt-3.8.x (default rt-4.0.x)
+OPTIONS_SINGLE=                 RTVERSION
+OPTIONS_SINGLE_RTVERSION=       RT38 RT40 RT42
+RT38_DESC=                      Install for rt-3.8.x (www/rt38)
+RT40_DESC=                      Install for rt-4.0.x (www/rt40)
+RT42_DESC=                      Install for rt-4.2.x (www/rt42)
+OPTIONS_DEFAULT=                RT42
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MRT38}
-RT_VER=		38
-.else
-RT_VER=		40
+.for opt in 38 40 42
+.if ${PORT_OPTIONS:MRT${opt}}
+RT_VER=         ${opt}
 .endif
+.endfor
+
+### Temporary for debugging
+#WRKDIR=         ${WRKDIRPREFIX}${.CURDIR}/work${RT_VER}
 
 BUILD_DEPENDS+=	${LOCALBASE}/bin/rt:${PORTSDIR}/www/rt${RT_VER}
 RUN_DEPENDS+=	${LOCALBASE}/bin/rt:${PORTSDIR}/www/rt${RT_VER}

Modified: head/www/p5-RT-Extension-MandatoryOnTransition/Makefile
==============================================================================
--- head/www/p5-RT-Extension-MandatoryOnTransition/Makefile	Sun Dec  1 17:49:02 2013	(r335413)
+++ head/www/p5-RT-Extension-MandatoryOnTransition/Makefile	Sun Dec  1 17:51:42 2013	(r335414)
@@ -3,6 +3,7 @@
 
 PORTNAME=	RT-Extension-MandatoryOnTransition
 DISTVERSION=	0.04
+PORTREVISION=	1
 CATEGORIES=	www net perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -12,16 +13,30 @@ COMMENT=	Extension to require core and t
 
 LICENSE=	GPLv2
 
-BUILD_DEPENDS=	rt${RT_VER}>4.0.8:${PORTSDIR}/www/rt${RT_VER}
-RUN_DEPENDS=	rt${RT_VER}>4.0.8:${PORTSDIR}/www/rt${RT_VER}
+OPTIONS_SINGLE=                 RTVERSION
+OPTIONS_SINGLE_RTVERSION=       RT40 RT42
+RT40_DESC=                      Install for rt-4.0.x (www/rt40)
+RT42_DESC=                      Install for rt-4.2.x (www/rt42)
+OPTIONS_DEFAULT=                RT42
+
+.include <bsd.port.options.mk>
+
+.for opt in 40 42
+.if ${PORT_OPTIONS:MRT${opt}}
+RT_VER=         ${opt}
+.endif
+.endfor
+
+### Temporary for debugging
+#WRKDIR=         ${WRKDIRPREFIX}${.CURDIR}/work${RT_VER}
+
+BUILD_DEPENDS=	${LOCALBASE}/bin/rt:${PORTSDIR}/www/rt${RT_VER}
+RUN_DEPENDS=	${LOCALBASE}/bin/rt:${PORTSDIR}/www/rt${RT_VER}
 
 USES=	perl5
 USE_PERL5=	configure
 
 PLIST_SUB+=	RT_VER=${RT_VER}
-RT_VER=	40
-
-#MAN3PREFIX=     ${PREFIX}
 
 # Note: You can install using an arbitrary $PREFIX but only if it
 # matches the $PREFIX used to install www/rt{38,40}.  Hence ignore

Modified: head/www/p5-RT-Extension-SLA/Makefile
==============================================================================
--- head/www/p5-RT-Extension-SLA/Makefile	Sun Dec  1 17:49:02 2013	(r335413)
+++ head/www/p5-RT-Extension-SLA/Makefile	Sun Dec  1 17:51:42 2013	(r335414)
@@ -3,6 +3,7 @@
 
 PORTNAME=	RT-Extension-SLA
 PORTVERSION=	0.07
+PORTREVISION=	1
 CATEGORIES=	www perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -20,16 +21,23 @@ LICENSE=	GPLv2
 USES+=		perl5
 USE_PERL5=	configure
 
-OPTIONS_DEFINE=	RT38
-RT38_DESC=	Install for rt-3.8.x (default rt-4.0.x)
+OPTIONS_SINGLE=                 RTVERSION
+OPTIONS_SINGLE_RTVERSION=       RT38 RT40 RT42
+RT38_DESC=                      Install for rt-3.8.x (www/rt38)
+RT40_DESC=                      Install for rt-4.0.x (www/rt40)
+RT42_DESC=                      Install for rt-4.2.x (www/rt42)
+OPTIONS_DEFAULT=                RT42
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MRT38}
-RT_VER=		38
-.else
-RT_VER=		40
+.for opt in 38 40 42
+.if ${PORT_OPTIONS:MRT${opt}}
+RT_VER=         ${opt}
 .endif
+.endfor
+
+### Temporary for debugging
+#WRKDIR=		${WRKDIRPREFIX}${.CURDIR}/work${RT_VER}
 
 BUILD_DEPENDS+=	${LOCALBASE}/bin/rt:${PORTSDIR}/www/rt${RT_VER}
 RUN_DEPENDS+=	${LOCALBASE}/bin/rt:${PORTSDIR}/www/rt${RT_VER}

Modified: head/www/p5-RTx-Calendar/Makefile
==============================================================================
--- head/www/p5-RTx-Calendar/Makefile	Sun Dec  1 17:49:02 2013	(r335413)
+++ head/www/p5-RTx-Calendar/Makefile	Sun Dec  1 17:51:42 2013	(r335414)
@@ -3,6 +3,7 @@
 
 PORTNAME=	RTx-Calendar
 PORTVERSION=	0.17
+PORTREVISION=	1
 CATEGORIES=	www perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -21,16 +22,20 @@ RUN_DEPENDS:=	${BUILD_DEPENDS}
 USES+=		perl5
 USE_PERL5=	configure
 
-OPTIONS_DEFINE=	RT38
-RT38_DESC=	Install for rt-3.8.x (default rt-4.0.x)
+OPTIONS_SINGLE=			RTVERSION
+OPTIONS_SINGLE_RTVERSION=	RT38 RT40 RT42
+RT38_DESC=			Install for rt-3.8.x (www/rt38)
+RT40_DESC=			Install for rt-4.0.x (www/rt40)
+RT42_DESC=			Install for rt-4.2.x (www/rt42)
+OPTIONS_DEFAULT=		RT42
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MRT38}
-RT_VER=		38
-.else
-RT_VER=		40
+.for opt in 38 40 42
+.if ${PORT_OPTIONS:MRT${opt}}
+RT_VER=		${opt}
 .endif
+.endfor
 
 BUILD_DEPENDS+=	${LOCALBASE}/bin/rt:${PORTSDIR}/www/rt${RT_VER}
 RUN_DEPENDS+=	${LOCALBASE}/bin/rt:${PORTSDIR}/www/rt${RT_VER}
@@ -39,11 +44,14 @@ MAN3PREFIX=	${PREFIX}
 
 PLIST_SUB+=	RTHOME=share/rt${RT_VER}
 
+### Temporary for debugging
+#WRKDIR=		${WRKDIRPREFIX}${.CURDIR}/work${RT_VER}
+
 post-patch:
 	@${FIND} ${WRKSRC} -name '*.orig' -delete
 
 # Note: You can install using an arbitrary $PREFIX but only if it
-# matches the $PREFIX used to install www/rt{38,40}.  Hence ignore
+# matches the $PREFIX used to install www/rt{38,40,42}.  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?201312011751.rB1HphZO040053>