aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/pear-Log/Makefile
blob: 808a119759c86c76c9d18ed2b7c2b636a906795d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Ports collection makefile for:  pear-Log
# Date created:           22 October 2002
# Whom:               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=    PEAR_DB "PEAR::DB support" off \
        PEAR_MDB2 "PEAR::MDB2 support" off \
        PEAR_Mail "PEAR::Mail support" off \
        PHP_SQLITE "PHP sqlite support (php5 only)" off

.include <bsd.port.pre.mk>

.if defined(WITH_PEAR_DB)
BUILD_DEPENDS+= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
.endif

.if defined(WITH_PEAR_MDB2)
BUILD_DEPENDS+= ${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
.endif

.if defined(WITH_PEAR_Mail)
BUILD_DEPENDS+= ${PEARDIR}/Mail.php:${PORTSDIR}/mail/pear-Mail
.endif

.if defined(WITH_PHP_SQLITE)
USE_PHP+=   sqlite
.endif

.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include <bsd.port.post.mk>