freebsd-ports/www/pear-HTTP_FloodControl/Makefile
Mathieu Arnold a1993564e0 Introduce PHP flavors.
Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now
  flavored.  They will automatically get flavors (php56, php70, php71, php72)
  depending of the versions they support (set with IGNORE_WITH_PHP).  As a
  consequence, ports using USES=pear and USES=horde are also flavored.

PR:		226242
Submitted by:	mat
Exp-run by:	antoine
Approved by:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D14208
2018-03-08 19:48:41 +00:00

31 lines
947 B
Makefile

# Created by: Ditesh Shashikant Gathani <ditesh@gathani.org>
# $FreeBSD$
PORTNAME= HTTP_FloodControl
PORTVERSION= 0.1.1
CATEGORIES= www pear
MAINTAINER= joneum@FreeBSD.org
COMMENT= PEAR classes to detect and protect from attempts to flood a site
BUILD_DEPENDS= ${PEARDIR}/HTTP.php:www/pear-HTTP@${PHP_FLAVOR}
RUN_DEPENDS= ${PEARDIR}/HTTP.php:www/pear-HTTP@${PHP_FLAVOR}
DOCS= README LICENSE
OPTIONS_DEFINE= PEAR_DB PEAR_MDB PEAR_MDB2
PEAR_DB_DESC= PEAR::DB support
PEAR_MDB_DESC= PEAR::MDB support
PEAR_MDB2_DESC= PEAR::MDB2 support
USES= pear
PEAR_DB_RUN_DEPENDS= ${PEARDIR}/DB.php:databases/pear-DB@${PHP_FLAVOR}
PEAR_MDB_RUN_DEPENDS= ${PEARDIR}/MDB.php:databases/pear-MDB@${PHP_FLAVOR}
PEAR_MDB2_RUN_DEPENDS= ${PEARDIR}/MDB2.php:databases/pear-MDB2@${PHP_FLAVOR}
post-extract:
${MKDIR} ${WRKSRC}/docs
${MV} ${WRKSRC}/README ${WRKSRC}/LICENSE ${WRKSRC}/docs
${MV} ${WRKDIR}/package2.xml ${WRKDIR}/package.xml
.include <bsd.port.mk>