1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

+ 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)
This commit is contained in:
Roman Bogorodskiy 2005-04-19 16:33:08 +00:00
parent adac06ed07
commit 3347ca85e7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133687
2 changed files with 14 additions and 14 deletions

View File

@ -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
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>
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
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
.include <bsd.port.post.mk>

View File

@ -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