aboutsummaryrefslogtreecommitdiffstats
path: root/security/pear-Auth/Makefile
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-08-25 09:21:45 +0800
committeredwin <edwin@FreeBSD.org>2003-08-25 09:21:45 +0800
commit5a9457788c46240acc9a3eda76b29a5d2ac780a2 (patch)
tree9b2d5d6fd43d4d361808e0a9bd47139297a691a4 /security/pear-Auth/Makefile
parent9c2f030316d79b5997bf58825dc594b60b0d9d77 (diff)
downloadfreebsd-ports-gnome-5a9457788c46240acc9a3eda76b29a5d2ac780a2.tar.gz
freebsd-ports-gnome-5a9457788c46240acc9a3eda76b29a5d2ac780a2.tar.zst
freebsd-ports-gnome-5a9457788c46240acc9a3eda76b29a5d2ac780a2.zip
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 <thierry@pompo.net>
Diffstat (limited to 'security/pear-Auth/Makefile')
-rw-r--r--security/pear-Auth/Makefile12
1 files changed, 10 insertions, 2 deletions
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} " <http://pear.php.net/package-info.php?package=PHPUnit>;)."
+.endif
.include <bsd.port.post.mk>