aboutsummaryrefslogtreecommitdiff
path: root/databases/pear-Horde_Db/Makefile
blob: fed95580d069c33038d0968961c110925e9230ed (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.2.0
CATEGORIES=	databases www pear
PKGNAMEPREFIX=	pear-

MAINTAINER=	horde@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>