From 5a9457788c46240acc9a3eda76b29a5d2ac780a2 Mon Sep 17 00:00:00 2001 From: edwin Date: Mon, 25 Aug 2003 01:21:45 +0000 Subject: security/pear-Auth: upgrading to 1.2.2. - Upgrading pear-Auth to its latest release; - Installing tests; - Unbreaking the WWW link. PR: ports/55169 Submitted by: Thierry Thomas --- security/pear-Auth/Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'security/pear-Auth/Makefile') diff --git a/security/pear-Auth/Makefile b/security/pear-Auth/Makefile index d14676343a87..e276a9ae5c6c 100644 --- a/security/pear-Auth/Makefile +++ b/security/pear-Auth/Makefile @@ -6,8 +6,7 @@ # PORTNAME= Auth -PORTVERSION= 1.2.0 -PORTREVISION= 1 +PORTVERSION= 1.2.2 CATEGORIES= security www MAINTAINER= ports@FreeBSD.org @@ -20,6 +19,7 @@ RUN_DEPENDS= ${BUILD_DEPENDS} .include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common" MANIFEST= Auth.php Container Container.php +TESTDIR= ${PEARDIR}/tests/${PORTNAME} do-install: @${MKDIR} ${PEARDIR}/Auth @@ -28,5 +28,13 @@ do-install: .endfor @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Auth @${CHMOD} -R a-x ${PEARDIR}/Auth/Container/*.php +.if !defined(NOPORTDOCS) + @${MKDIR} ${TESTDIR} + @${CP} -Rp ${WRKSRC}/tests/* ${TESTDIR} + @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${TESTDIR} + @${ECHO_MSG} "===> Examples installed in ${TESTDIR}." + @${ECHO_MSG} " (These tests require PHPUnit - see" + @${ECHO_MSG} " ;)." +.endif .include -- cgit