ports/80080: [maintainer update] net/pear-Net_UserAgent_Detect to 2.1.0
Antonio Carlos Venancio Junior
antonio at php.net
Mon Apr 18 20:50:20 UTC 2005
>Number: 80080
>Category: ports
>Synopsis: [maintainer update] net/pear-Net_UserAgent_Detect to 2.1.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 18 20:50:19 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Antonio Carlos Venancio Junior
>Release: FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD antonio.cb.sc.gov.br 4.11-STABLE FreeBSD 4.11-STABLE #12: Mon Apr 4 08:35:27 BRT 2005 root at antonio.cb.sc.gov.br:/usr/src/sys/compile/ANTONIO i386
>Description:
+ 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
>How-To-Repeat:
>Fix:
diff -ruN pear-Net_UserAgent_Detect.orig/Makefile pear-Net_UserAgent_Detect/Makefile
--- pear-Net_UserAgent_Detect.orig/Makefile Mon Apr 18 17:24:46 2005
+++ pear-Net_UserAgent_Detect/Makefile Mon Apr 18 17:39:22 2005
@@ -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 at php.net
COMMENT= PEAR class that detects web browser, version and platform
@@ -15,18 +15,18 @@
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>
diff -ruN pear-Net_UserAgent_Detect.orig/distinfo pear-Net_UserAgent_Detect/distinfo
--- pear-Net_UserAgent_Detect.orig/distinfo Mon Apr 18 17:24:46 2005
+++ pear-Net_UserAgent_Detect/distinfo Mon Apr 18 17:27:19 2005
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list