# Ports collection makefile for: pear-Net_UserAgent_Detect # Date created: 04 January 2005 # Whom: Antonio Carlos Venancio Junior () # # $FreeBSD$ # PORTNAME= Net_UserAgent_Detect PORTVERSION= 2.3.0 CATEGORIES= net www pear MAINTAINER= bg1tpt@gmail.com COMMENT= PEAR class that detects web browser, version and platform BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear RUN_DEPENDS= ${BUILD_DEPENDS} 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 .include "${PORTSDIR}/devel/pear/bsd.pear.mk" .include