freebsd-ports/databases/pear-DB_DataObject/Makefile
Roman Bogorodskiy c19c620ee6 Update to 1.7.15.
PR:		83256
Submitted by:	Antonio Carlos Venancio Junior (maintainer)
2005-07-11 18:30:09 +00:00

40 lines
1.1 KiB
Makefile

# New ports collection makefile for: pear-DB_DataObject
# Date created: 23 August 2004
# Whom: Antonio Carlos Venancio Junior (<antonio@php.net>)
#
# $FreeBSD$
#
PORTNAME= DB_DataObject
PORTVERSION= 1.7.15
CATEGORIES= databases pear
MAINTAINER= antonio@php.net
COMMENT= An SQL Builder, Object Interface to Database Tables
BUILD_DEPENDS= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB \
${PEARDIR}/Date.php:${PORTSDIR}/devel/pear-Date
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_REINPLACE= yes
CATEGORY= DB
FILES= DataObject.php DataObject/Cast.php DataObject/Generator.php \
DataObject/createTables.php DataObject/Error.php
EXAMPLES= example.ini
_EXAMPLESDIR= docs
LATEST_LINK= pear-${PORTNAME}
OPTIONS= PEAR_VALIDATE "PEAR::Validate support" off
post-patch:
@${REINPLACE_CMD} -e "s|@version@|${PORTVERSION}|" ${WRKSRC}/DataObject.php
.include <bsd.port.pre.mk>
.if defined(WITH_PEAR_VALIDATE)
RUN_DEPENDS+= ${PEARDIR}/Validate.php:${PORTSDIR}/devel/pear-Validate
.endif
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
.include <bsd.port.post.mk>