From c1d4c992bbe21fa1a16113c3d5fd4adb38042e00 Mon Sep 17 00:00:00 2001 From: William Grzybowski Date: Thu, 20 Jun 2013 14:42:30 +0000 Subject: [PATCH] The Doctrine DBAL package is the database abstraction layer used to power the ORM package. WWW: http://www.doctrine-project.org/ --- databases/Makefile | 1 + databases/pear-DoctrineDBAL/Makefile | 54 +++++++++++++++++++++++++++ databases/pear-DoctrineDBAL/distinfo | 2 + databases/pear-DoctrineDBAL/pkg-descr | 4 ++ 4 files changed, 61 insertions(+) create mode 100644 databases/pear-DoctrineDBAL/Makefile create mode 100644 databases/pear-DoctrineDBAL/distinfo create mode 100644 databases/pear-DoctrineDBAL/pkg-descr diff --git a/databases/Makefile b/databases/Makefile index 5bbc99e4b1e7..cc59e764e2dd 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -508,6 +508,7 @@ SUBDIR += pear-DB_ldap2 SUBDIR += pear-Doctrine12 SUBDIR += pear-DoctrineCommon + SUBDIR += pear-DoctrineDBAL SUBDIR += pear-Horde_Db SUBDIR += pear-Horde_HashTable SUBDIR += pear-Horde_Imsp diff --git a/databases/pear-DoctrineDBAL/Makefile b/databases/pear-DoctrineDBAL/Makefile new file mode 100644 index 000000000000..77fb01bd4dc5 --- /dev/null +++ b/databases/pear-DoctrineDBAL/Makefile @@ -0,0 +1,54 @@ +# Created by: William Grzybowski +# $FreeBSD$ + +PORTNAME= DoctrineDBAL +PORTVERSION= 2.3.0 +CATEGORIES= databases pear +MASTER_SITES= http://pear.doctrine-project.org/get/ + +MAINTAINER= wg@FreeBSD.org +COMMENT= Database abstraction layer used to power the ORM package + +LICENSE= LGPL21 + +BUILD_DEPENDS= ${PEARDIR}/.channels/pear.doctrine-project.org.reg:${PORTSDIR}/devel/pear-channel-doctrine +RUN_DEPENDS= ${PEARDIR}/.channels/pear.doctrine-project.org.reg:${PORTSDIR}/devel/pear-channel-doctrine \ + ${PEARDIR}/Doctrine/Common/Version.php:${PORTSDIR}/databases/pear-DoctrineCommon \ + ${PEARDIR}/Symfony/Component/Console/Application.php:${PORTSDIR}/devel/pear-Symfony_Component_Console + +OPTIONSFILE?= ${PORT_DBDIR}/pear-${PORTNAME}/options +OPTIONS_DEFINE= DBLIB MYSQL ODBC PGSQL SQLITE +OPTIONS_DEFAULT=MYSQL + +DBLIB_DESC= Install PHP DBO driver for DBLIB +MYSQL_DESC= Install PHP DBO driver for MySQL +ODBC_DESC= Install PHP DBO driver for ODBC +PGSQL_DESC= Install PHP DBO driver for PostgreSQL +SQLITE_DESC= Install PHP DBO driver for SQLite + +PEAR_CHANNEL= doctrine +PEAR_AUTOINSTALL= yes + +USE_PHP= pdo +WANT_PHP_CLI= yes + +.include + +.if ${PORT_OPTIONS:MDBLIB} +RUN_DEPENDS+= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/pdo_dblib.so:${PORTSDIR}/databases/php${PHP_VER}-pdo_dblib +.endif +.if ${PORT_OPTIONS:MMYSQL} +USE_PHP+= pdo_mysql +.endif +.if ${PORT_OPTIONS:MODBC} +RUN_DEPENDS+= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/pdo_odbc.so:${PORTSDIR}/databases/php${PHP_VER}-pdo_odbc +.endif +.if ${PORT_OPTIONS:MPGSQL} +USE_PHP+= pdo_pgsql +.endif +.if ${PORT_OPTIONS:MSQLITE} +USE_PHP+= pdo_sqlite +.endif + +.include "${PORTSDIR}/devel/pear/bsd.pear.mk" +.include diff --git a/databases/pear-DoctrineDBAL/distinfo b/databases/pear-DoctrineDBAL/distinfo new file mode 100644 index 000000000000..4441733e61a3 --- /dev/null +++ b/databases/pear-DoctrineDBAL/distinfo @@ -0,0 +1,2 @@ +SHA256 (PEAR/DoctrineDBAL-2.3.0.tgz) = 417ea5a3d646ea5400ff29a47a2f38afcf0dcafe149767f85b7fdc61240c419a +SIZE (PEAR/DoctrineDBAL-2.3.0.tgz) = 143996 diff --git a/databases/pear-DoctrineDBAL/pkg-descr b/databases/pear-DoctrineDBAL/pkg-descr new file mode 100644 index 000000000000..1504bc74c265 --- /dev/null +++ b/databases/pear-DoctrineDBAL/pkg-descr @@ -0,0 +1,4 @@ +The Doctrine DBAL package is the database abstraction layer used to +power the ORM package. + +WWW: http://www.doctrine-project.org/