aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-05-13 17:55:51 +0800
committermiwi <miwi@FreeBSD.org>2013-05-13 17:55:51 +0800
commitc0e894b21e2272b3f917c20f83322ac5038041af (patch)
tree81ac972af387cbdffefc48c61a3ac2d8092a8e40 /net
parent750767564a6a0b362c0dde15d68e8094f788f1fe (diff)
downloadfreebsd-ports-gnome-c0e894b21e2272b3f917c20f83322ac5038041af.tar.gz
freebsd-ports-gnome-c0e894b21e2272b3f917c20f83322ac5038041af.tar.zst
freebsd-ports-gnome-c0e894b21e2272b3f917c20f83322ac5038041af.zip
- Convert to PEAR_AUTOINSTALL
- Trim header
Diffstat (limited to 'net')
-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"