summaryrefslogtreecommitdiff
path: root/databases/pear-DB_DataObject/Makefile
blob: 99381551151a3bd91f9e1c0d1f916ce427d86ec7 (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
# Created by: Antonio Carlos Venancio Junior (<antonio@php.net>)
# $FreeBSD$

PORTNAME=	DB_DataObject
PORTVERSION=	1.11.2
CATEGORIES=	databases pear

MAINTAINER=	miwi@FreeBSD.org
COMMENT=	An SQL Builder, Object Interface to Database Tables

BUILD_DEPENDS=	pear-DB>=1.7.0:${PORTSDIR}/databases/pear-DB \
		pear-Date>=1.4.3:${PORTSDIR}/devel/pear-Date
RUN_DEPENDS=	pear-DB>=1.7.0:${PORTSDIR}/databases/pear-DB \
		pear-Date>=1.4.3:${PORTSDIR}/devel/pear-Date

LATEST_LINK=	pear-${PORTNAME}

OPTIONS_DEFINE=	PEAR_MDB2 PEAR_VALIDATE

PEAR_MDB2_DESC=		"PEAR::MDB2 support"
PEAR_VALIDATE_DESC=	"PEAR::Validate support"

PEAR_AUTOINSTALL=	yes

.include <bsd.port.pre.mk>

.if ${PORT_OPTIONS:MPEAR_MDB2}
RUN_DEPENDS+=	pear-MDB2>=2.3.0:${PORTSDIR}/databases/pear-MDB2
.endif

.if ${PORT_OPTIONS:MPEAR_VALIDATE}
RUN_DEPENDS+=	pear-Validate>=0.1.1:${PORTSDIR}/devel/pear-Validate
.endif

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