diff options
author | novel <novel@FreeBSD.org> | 2005-04-19 16:33:08 +0000 |
---|---|---|
committer | novel <novel@FreeBSD.org> | 2005-04-19 16:33:08 +0000 |
commit | bde0e92dcea840009e48aec82a43f9a14795c25a (patch) | |
tree | 3bbb0417a7206891ab808211e05c99702df20247 /net/pear-Net_UserAgent_Detect | |
parent | 3235d48a3776302cdbec6754ea01cdc8b9f68b8a (diff) | |
download | FreeBSD-ports-bde0e92dcea840009e48aec82a43f9a14795c25a.zip FreeBSD-ports-bde0e92dcea840009e48aec82a43f9a14795c25a.tar.gz |
+ update port: net/pear-Net_UserAgent_Detect to 2.1.0
+ changelog: http://pear.php.net/package/Net_UserAgent_Detect/download/2.1.0/
+ fix CATEGORY
+ remove PHP version dependency check
PR: 80080
Submitted by: Antonio Carlos Venancio Junior (maintainer)
Diffstat (limited to 'net/pear-Net_UserAgent_Detect')
-rw-r--r-- | net/pear-Net_UserAgent_Detect/Makefile | 24 | ||||
-rw-r--r-- | net/pear-Net_UserAgent_Detect/distinfo | 4 |
2 files changed, 14 insertions, 14 deletions
diff --git a/net/pear-Net_UserAgent_Detect/Makefile b/net/pear-Net_UserAgent_Detect/Makefile index 0b4999f..05d263d 100644 --- a/net/pear-Net_UserAgent_Detect/Makefile +++ b/net/pear-Net_UserAgent_Detect/Makefile @@ -6,8 +6,8 @@ # PORTNAME= Net_UserAgent_Detect -PORTVERSION= 2.0.1 -CATEGORIES= net pear +PORTVERSION= 2.1.0 +CATEGORIES= net www pear MAINTAINER= antonio@php.net COMMENT= PEAR class that detects web browser, version and platform @@ -15,18 +15,18 @@ COMMENT= PEAR class that detects web browser, version and platform BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR RUN_DEPENDS= ${BUILD_DEPENDS} -USE_PHP= yes +USE_REINPLACE= yes -CATEGORY= Net/UserAgent -FILES= Detect.php +CATEGORY= Net +FILES= UserAgent/Detect.php +TESTS= example.php -.include <bsd.port.pre.mk> - -PHP_VERS= ${PHP_VERSION:S/.//g} - -.if defined(PHP_VERS) && ${PHP_VERS} < 410 -IGNORE= "You need PHP 4.1.0 or later to install PEAR::Net_UserAgent_Detect" -.endif +post-extract: + @${MKDIR} ${WRKSRC}/UserAgent + @${MV} ${WRKSRC}/Detect.php ${WRKSRC}/UserAgent + @${REINPLACE_CMD} -e "s|../Detect.php|${CATEGORY}/${FILES}|" \ + ${WRKSRC}/tests/${TESTS} +.include <bsd.port.pre.mk> .include "${PORTSDIR}/devel/pear-PEAR/Makefile.common" .include <bsd.port.post.mk> diff --git a/net/pear-Net_UserAgent_Detect/distinfo b/net/pear-Net_UserAgent_Detect/distinfo index a828c9b..102a34d 100644 --- a/net/pear-Net_UserAgent_Detect/distinfo +++ b/net/pear-Net_UserAgent_Detect/distinfo @@ -1,2 +1,2 @@ -MD5 (PEAR/Net_UserAgent_Detect-2.0.1.tgz) = b49c6a19b220d674db4355bdab3498e5 -SIZE (PEAR/Net_UserAgent_Detect-2.0.1.tgz) = 8230 +MD5 (PEAR/Net_UserAgent_Detect-2.1.0.tgz) = fcee7d4da95a31ef9d935edcddbd9687 +SIZE (PEAR/Net_UserAgent_Detect-2.1.0.tgz) = 9595 |