summaryrefslogtreecommitdiff
path: root/databases/pear-DB_DataObject_FormBuilder/Makefile
blob: 43c5d9dc8996a739c9ef864ed00f00e84c32352f (plain)
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
48
49
50
51
52
53
54
55
56
57
58
59
# 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=	1.0.1
CATEGORIES=	databases www pear

MAINTAINER=	miwi@FreeBSD.org
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/SubForm.php \
		FormBuilder/QuickForm/SubFormFB.php \
		tools/fix0.9.0Files.php tools/fixPre1.52CVSFiles.php

TESTS=		array2date.phpt config.php \
		configAndOverride.phpt create.phpt \
		createSubmit.phpt createWithDriver.phpt \
		createWithOptions.phpt dateElement.phpt \
		dateOptionsCallbacks.phpt elementNamePrefix_Postfix.phpt \
		enum.phpt existingRecordUpdated.phpt \
		forceInsert.phpt formHeaderText.phpt \
		getForm.phpt links.phpt \
		movie.sql newRecordInserted.phpt \
		notNullFieldRequired.phpt primaryKeyIsHidden.phpt \
		submitText.phpt textElement.phpt \
		typeArrays.phpt

EXAMPLES=	classes/Category.php classes/Manufacturer.php \
		classes/Product.php classes/formbuilder.ini \
		classes/formbuilder.links.ini config_inc.php \
		dataObject.ini index.php \
		sql/schema.gif sql/schema.sql

.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/bsd.pear.mk"
.include <bsd.port.post.mk>