1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/sysutils/pear-Log/Makefile
Baptiste Daroussin 3bdf701a5c Convert miwi's ports to new Options framework
While here fix some consistency in PEAR options name
bumped revision of net/icpld and net/ipsumdump because IPV6 is now on

Approved by:	miwi (maintainer)
2012-12-17 02:15:13 +00:00

45 lines
1.0 KiB
Makefile

# Created by: Thierry Thomas (<thierry@pompo.net>)
# $FreeBSD$
PORTNAME= Log
PORTVERSION= 1.12.7
CATEGORIES= sysutils www pear
MAINTAINER= miwi@FreeBSD.org
COMMENT= PEAR logging utilities
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
RUN_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
USE_PHP= yes
IGNORE_WITH_PHP= 4
PEAR_AUTOINSTALL= yes
LATEST_LINK= pear-Log
OPTIONS_DEFINE= PEAR_DB PEAR_MDB2 PEAR_MAIL PEAR_SQLITE
PEAR_DB_DESC= PEAR::DB support
PEAR_MDB2_DESC= PEAR::MDB2 support
PEAR_MAIL_DESC= PEAR::Mail support
PHP_SQLITE_DESC= PHP sqlite support (php5 only)
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPEAR_DB}
BUILD_DEPENDS+= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
.endif
.if ${PORT_OPTIONS:MPEAR_MDB2}
BUILD_DEPENDS+= ${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
.endif
.if ${PORT_OPTIONS:MPEAR_MAIL}
BUILD_DEPENDS+= ${PEARDIR}/Mail.php:${PORTSDIR}/mail/pear-Mail
.endif
.if ${PORT_OPTIONS:MPHP_SQLITE}
USE_PHP+= sqlite
.endif
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include <bsd.port.mk>