freebsd-ports/www/pear-HTTP_Request2/Makefile
Martin Wilke f01d5b5f37 - Update to 2.1.1
PR:		166985
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com>
2012-05-03 14:28:39 +00:00

40 lines
864 B
Makefile

# Ports collection makefile for: pear-HTTP_Request2
# Date created: 08 Jan 2009
# Whom: Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#
PORTNAME= HTTP_Request2
PORTVERSION= 2.1.1
PORTEPOCH= 1
CATEGORIES= www pear
MAINTAINER= miwi@FreeBSD.org
COMMENT= PEAR classes providing an easy way to perform HTTP requests
BUILD_DEPENDS= ${PEARDIR}/Net/URL2.php:${PORTSDIR}/net/pear-Net_URL2
RUN_DEPENDS= ${PEARDIR}/Net/URL2.php:${PORTSDIR}/net/pear-Net_URL2
OPTIONS= CURL "PHP CURL extension support" off \
FILEINFO "PHP FILEINFO extension support" off \
ZLIB "PECL ZLIB support" off
PEAR_AUTOINSTALL= yes
.include <bsd.port.pre.mk>
.if defined(WITH_CURL)
USE_PHP+= curl
.endif
.if defined(WITH_FILEINFO)
USE_PHP+= fileinfo
.endif
.if defined(WITH_ZLIB)
USE_PHP+= zlib
.endif
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include <bsd.port.post.mk>