aboutsummaryrefslogtreecommitdiff
path: root/net/pear-Net_UserAgent_Detect
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-05-13 09:55:51 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-05-13 09:55:51 +0000
commit39857344f5ca1c4b08631dafc0ad4d99a56a7e10 (patch)
tree81ac972af387cbdffefc48c61a3ac2d8092a8e40 /net/pear-Net_UserAgent_Detect
parent31e3421f0d19e129a2dedfbb67f3e71c105f8d22 (diff)
downloadports-39857344f5ca1c4b08631dafc0ad4d99a56a7e10.tar.gz
ports-39857344f5ca1c4b08631dafc0ad4d99a56a7e10.zip
Notes
Diffstat (limited to 'net/pear-Net_UserAgent_Detect')
-rw-r--r--net/pear-Net_UserAgent_Detect/Makefile19
1 files changed, 4 insertions, 15 deletions
diff --git a/net/pear-Net_UserAgent_Detect/Makefile b/net/pear-Net_UserAgent_Detect/Makefile
index 9f094bdc2ac5..837ec9e47d25 100644
--- a/net/pear-Net_UserAgent_Detect/Makefile
+++ b/net/pear-Net_UserAgent_Detect/Makefile
@@ -1,12 +1,9 @@
-# Ports collection makefile for: pear-Net_UserAgent_Detect
-# Date created: 04 January 2005
-# Whom: Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
-#
+# Created by: Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
# $FreeBSD$
-#
PORTNAME= Net_UserAgent_Detect
PORTVERSION= 2.5.2
+PORTREVISION= 1
CATEGORIES= net www pear
MAINTAINER= joehorn@gmail.com
@@ -15,17 +12,9 @@ COMMENT= PEAR class that determines the Web browser, version, and platform
LICENSE= BSD
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-RUN_DEPENDS:= ${BUILD_DEPENDS}
+RUN_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-CATEGORY= Net
-FILES= Detect/APC.php 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}
+PEAR_AUTOINSTALL= yes
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"