aboutsummaryrefslogtreecommitdiff
path: root/databases/pear-DB_DataObject_FormBuilder/Makefile
blob: 8d1852bffb45ded2ac1c4fe7cd1d5be7e1d0fc0f (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
# New ports collection makefile for:   pear-DB_DataObject_FormBuilder
# Date created:        24 August 2004
# Whom:                Antonio Carlos Venancio Junior (<antonio@php.net>)
#
# $FreeBSD$
#

PORTNAME=	DB_DataObject_FormBuilder
PORTVERSION=	0.17.1
CATEGORIES=	databases www pear

MAINTAINER=	antonio@php.net
COMMENT=	Automatically build HTML_QuickForm objects using DB_DataObject

BUILD_DEPENDS=	${PEARDIR}/HTML/QuickForm.php:${PORTSDIR}/devel/pear-HTML_QuickForm \
		${PEARDIR}/DB/DataObject.php:${PORTSDIR}/databases/pear-DB_DataObject
RUN_DEPENDS=	${BUILD_DEPENDS}

LATEST_LINK=	pear-DB_DataObject_FormBuilder
OPTIONS=	PEAR_DATE "PEAR::Date support" off \
		PEAR_HTML_TABLE "PEAR::HTML_Table support" off

CATEGORY=	DB/DataObject
FILES=		FormBuilder.php FormBuilder/QuickForm.php \
		FormBuilder/QuickForm/ElementTable.php \
		FormBuilder/QuickForm/SubForm.php \
		FormBuilder/QuickForm/SubFormFB.php

.include <bsd.port.pre.mk>

.if defined(WITH_PEAR_DATE)
RUN_DEPENDS+=	${PEARDIR}/Date.php:${PORTSDIR}/devel/pear-Date
.endif

.if defined(WITH_PEAR_HTML_TABLE)
RUN_DEPENDS+=	${PEARDIR}/HTML/Table.php:${PORTSDIR}/devel/pear-HTML_Table
.endif

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