From owner-freebsd-perl@FreeBSD.ORG Mon Sep 26 21:40:07 2011 Return-Path: Delivered-To: perl@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFB9B106566B for ; Mon, 26 Sep 2011 21:40:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A9A0B8FC1C for ; Mon, 26 Sep 2011 21:40:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p8QLe7pv072437 for ; Mon, 26 Sep 2011 21:40:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p8QLe7HC072436; Mon, 26 Sep 2011 21:40:07 GMT (envelope-from gnats) Date: Mon, 26 Sep 2011 21:40:07 GMT Message-Id: <201109262140.p8QLe7HC072436@freefall.freebsd.org> To: perl@FreeBSD.org From: Matthew Seaman Cc: Subject: Re: ports/160953: [maintainer] www/p5-RT-Authen-ExternalAuth -- drop rt36, add rt40 X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthew Seaman List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2011 21:40:07 -0000 The following reply was made to PR ports/160953; it has been noted by GNATS. From: Matthew Seaman To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: Re: ports/160953: [maintainer] www/p5-RT-Authen-ExternalAuth -- drop rt36, add rt40 Date: Mon, 26 Sep 2011 22:34:26 +0100 Updated diff accounting for dougb@'s commits today. Index: Makefile =================================================================== RCS file: /home/ncvs/ports/www/p5-RT-Authen-ExternalAuth/Makefile,v retrieving revision 1.10 diff -u -u -r1.10 Makefile --- Makefile 26 Sep 2011 20:01:01 -0000 1.10 +++ Makefile 26 Sep 2011 21:03:03 -0000 @@ -15,26 +15,40 @@ MAINTAINER= m.seaman@infracaninophile.co.uk COMMENT= RT extension to authenticate users against an external source -BUILD_DEPENDS= ${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap -RUN_DEPENDS= ${BUILD_DEPENDS} +LICENSE= GPLv2 + +BUILD_DEPENDS= ${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap \ + p5-DBI>0:${PORTSDIR}/databases/p5-DBI \ + p5-Net-SSLeay>0:${PORTSDIR}/security/p5-Net-SSLeay +RUN_DEPENDS:= ${BUILD_DEPENDS} PERL_CONFIGURE= yes -RTHOME?= share/rt38 -RT_PM_DIR= ${SITE_PERL} -BUILD_DEPENDS+= ${RT_PM_DIR}/RT.pm:${PORTSDIR}/www/rt38 +OPTIONS= RT38 "Install for rt-3.8.x (default rt-4.0.x)" off + +.include + +.if defined(WITH_RT38) +RT_VER= 38 +.else +RT_VER= 40 +.endif + +BUILD_DEPENDS+= ${SITE_PERL}/RT.pm:${PORTSDIR}/www/rt${RT_VER} +RUN_DEPENDS+= ${SITE_PERL}/RT.pm:${PORTSDIR}/www/rt${RT_VER} + MAN3PREFIX= ${PREFIX} MAN3= RT::Authen::ExternalAuth.3 -PLIST_SUB+= RTHOME=${RTHOME} +PLIST_SUB+= RTHOME=share/rt${RT_VER} # 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} && \ unset PREFIX && \ - ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${RT_PM_DIR} ./${CONFIGURE_SCRIPT} && \ + ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${SITE_PERL} ./${CONFIGURE_SCRIPT} && \ ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile .include -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW