From owner-svn-ports-head@freebsd.org Tue Mar 9 07:09:17 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8FD8B56CD2E; Tue, 9 Mar 2021 07:09:17 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DvmXs3fVbz3DY1; Tue, 9 Mar 2021 07:09:17 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 700F917F0B; Tue, 9 Mar 2021 07:09:17 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 12979HDO058557; Tue, 9 Mar 2021 07:09:17 GMT (envelope-from matthew@FreeBSD.org) Received: (from matthew@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 12979HrA058556; Tue, 9 Mar 2021 07:09:17 GMT (envelope-from matthew@FreeBSD.org) Message-Id: <202103090709.12979HrA058556@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: matthew set sender to matthew@FreeBSD.org using -f From: Matthew Seaman Date: Tue, 9 Mar 2021 07:09:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r567903 - head/www/p5-RT-Extension-MandatoryOnTransition X-SVN-Group: ports-head X-SVN-Commit-Author: matthew X-SVN-Commit-Paths: head/www/p5-RT-Extension-MandatoryOnTransition X-SVN-Commit-Revision: 567903 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2021 07:09:17 -0000 Author: matthew Date: Tue Mar 9 07:09:16 2021 New Revision: 567903 URL: https://svnweb.freebsd.org/changeset/ports/567903 Log: Add support for rt-5.0.x PR: 254034 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 Tue Mar 9 06:52:12 2021 (r567902) +++ head/www/p5-RT-Extension-MandatoryOnTransition/Makefile Tue Mar 9 07:09:16 2021 (r567903) @@ -3,10 +3,9 @@ PORTNAME= RT-Extension-MandatoryOnTransition DISTVERSION= 0.20 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www net perl5 MASTER_SITES= CPAN -PKGNAMEPREFIX= p5- MAINTAINER= matthew@FreeBSD.org COMMENT= Extension to require core and ticket custom fields on status changes @@ -16,16 +15,28 @@ LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/bin/rt:www/rt${RT_VER} RUN_DEPENDS= ${LOCALBASE}/bin/rt:www/rt${RT_VER} +FLAVOR?= ${FLAVORS:[1]} +FLAVORS= rt44 rt50 +rt44_PKGNAMEPREFIX= p5-RT44- +rt44_CONFLICTS_INSTALL= rt50 +rt50_PKGNAMEPREFIX= p5-RT50- +rt50_CONFLICTS_INSTALL= rt44 + +.if ${FLAVOR} == rt44 +RT_VER= 44 +.elif ${FLAVOR} == rt50 +RT_VER= 50 +.endif + USES= perl5 USE_PERL5= configure NO_ARCH= yes -RT_VER= 44 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/rt44. Hence ignore +# matches the $PREFIX used to install www/rt{44,50}. Hence ignore # $PREFIX in the environment and inherit settings from RT.pm do-configure: @cd ${CONFIGURE_WRKSRC} && \