2005-01-09 05:59:35 +01:00
|
|
|
# Ports collection makefile for: pear-Net_UserAgent_Detect
|
|
|
|
# Date created: 04 January 2005
|
|
|
|
# Whom: Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= Net_UserAgent_Detect
|
2008-12-22 23:31:19 +01:00
|
|
|
PORTVERSION= 2.5.0
|
2005-04-19 18:33:08 +02:00
|
|
|
CATEGORIES= net www pear
|
2005-01-09 05:59:35 +01:00
|
|
|
|
2007-04-25 05:34:17 +02:00
|
|
|
MAINTAINER= bg1tpt@gmail.com
|
2005-01-09 05:59:35 +01:00
|
|
|
COMMENT= PEAR class that detects web browser, version and platform
|
|
|
|
|
2005-12-09 20:24:52 +01:00
|
|
|
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
|
2005-01-09 05:59:35 +01:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
2005-04-19 18:33:08 +02:00
|
|
|
CATEGORY= Net
|
2007-10-04 23:49:38 +02:00
|
|
|
FILES= Detect/APC.php UserAgent/Detect.php
|
2005-04-19 18:33:08 +02:00
|
|
|
TESTS= example.php
|
2005-01-09 05:59:35 +01:00
|
|
|
|
2005-04-19 18:33:08 +02:00
|
|
|
post-extract:
|
|
|
|
@${MKDIR} ${WRKSRC}/UserAgent
|
|
|
|
@${MV} ${WRKSRC}/Detect.php ${WRKSRC}/UserAgent
|
|
|
|
@${REINPLACE_CMD} -e "s|../Detect.php|${CATEGORY}/${FILES}|" \
|
|
|
|
${WRKSRC}/tests/${TESTS}
|
2005-01-09 05:59:35 +01:00
|
|
|
|
2005-04-19 18:33:08 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
2005-12-09 20:24:52 +01:00
|
|
|
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
|
2005-01-09 05:59:35 +01:00
|
|
|
.include <bsd.port.post.mk>
|