mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
1dca3c3899
- Pass Maintainership to submitter PR: 149268 Submitted by: Joe Horn <joehorn@gmail.com>
33 lines
832 B
Makefile
33 lines
832 B
Makefile
# 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
|
|
PORTVERSION= 2.5.2
|
|
CATEGORIES= net www pear
|
|
|
|
MAINTAINER= joehorn@gmail.com
|
|
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}
|
|
|
|
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}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
|
|
.include <bsd.port.post.mk>
|