aboutsummaryrefslogtreecommitdiffstats
path: root/databases/pear-Horde_Db/Makefile
blob: 931f24bbe24a85e68340304f890996f0a6e13370 (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
# Ports collection makefile for:  pear-Horde_Db
# Date created:           7 July 2011
# Whom:               Martin Matuska <mm@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=   Horde_Db
PORTVERSION=    1.0.2
CATEGORIES= databases www pear
PKGNAMEPREFIX=  pear-

MAINTAINER= mm@FreeBSD.org
COMMENT=    Horde Database Libraries

OPTIONS=    MYSQL "Depend on mysql PHP extension" On \
        MYSQLI "Depend on mysqli PHP extension" Off \
        PDO "Depend on PDO PHP extension" Off

USE_HORDE_RUN=  Horde_Date Horde_Exception Horde_Support

.include <bsd.port.pre.mk>

.if !defined(WITHOUT_MYSQL)
USE_PHP+=   mysql
.endif

.if defined(WITH_MYSQLI)
USE_PHP+=   mysqli
.endif

.if defined(WITH_PDO)
USE_PHP+=   pdo
.endif

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