summaryrefslogtreecommitdiffstats
path: root/databases/pear-DB_Table/Makefile
blob: 875b44c5b1e2c0a69ba5ed4e71e3977d8b51ed36 (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
# Ports collection makefile for:  pear-DB_Table
# Date created:			  08 March 2005
# Whom:				  Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
#
# $FreeBSD$
#

PORTNAME=	DB_Table
PORTVERSION=	1.2.1
CATEGORIES=	databases www pear

MAINTAINER=	ports@FreeBSD.org
COMMENT=	PEAR object-oriented interface to a database table

BUILD_DEPENDS=	${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB \
		${PEARDIR}/Date.php:${PORTSDIR}/devel/pear-Date
RUN_DEPENDS=	${BUILD_DEPENDS}

LATEST_LINK=	pear-DB_Table
OPTIONS=	PEAR_HTML_QUICKFORM "PEAR::HTML_QuickForm support" off

CATEGORY=	DB
FILES=		Table.php Table/Manager.php Table/QuickForm.php Table/Valid.php
DOCS=		_sources.txt all-words.txt mssql-words.txt mysql-words.txt \
		oci8-words.txt pgsql-words.txt sql92-words.txt sql99-words.txt \
		sqlite-words.txt
TESTS=		bogotest.php setup.ini-dist
_DOCSDIR=	docs/reserved_words

post-extract:
	@${MV} ${WRKSRC}/DB/* ${WRKSRC}
	@${REINPLACE_CMD} -e "s|@package_version@|${PORTVERSION}|" \
		${WRKSRC}/Table.php

.include <bsd.port.pre.mk>

.if defined(WITH_PEAR_HTML_QUICKFORM)
RUN_DEPENDS+=	${PEARDIR}/HTML/QuickForm.php:${PORTSDIR}/devel/pear-HTML_QuickForm
.endif

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