diff options
author | wg <wg@FreeBSD.org> | 2013-06-20 22:42:30 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2013-06-20 22:42:30 +0800 |
commit | 72a2c8f876f60dc70630e23bf8dde9026bce6bc1 (patch) | |
tree | 2a1b79f4946d2b45d9676215a263fa8f878517f2 /databases/pear-DoctrineDBAL | |
parent | e9a472f840a350b0885a51874f4325a91a9e863f (diff) | |
download | freebsd-ports-graphics-72a2c8f876f60dc70630e23bf8dde9026bce6bc1.tar.gz freebsd-ports-graphics-72a2c8f876f60dc70630e23bf8dde9026bce6bc1.tar.zst freebsd-ports-graphics-72a2c8f876f60dc70630e23bf8dde9026bce6bc1.zip |
The Doctrine DBAL package is the database abstraction layer used to
power the ORM package.
WWW: http://www.doctrine-project.org/
Diffstat (limited to 'databases/pear-DoctrineDBAL')
-rw-r--r-- | databases/pear-DoctrineDBAL/Makefile | 54 | ||||
-rw-r--r-- | databases/pear-DoctrineDBAL/distinfo | 2 | ||||
-rw-r--r-- | databases/pear-DoctrineDBAL/pkg-descr | 4 |
3 files changed, 60 insertions, 0 deletions
diff --git a/databases/pear-DoctrineDBAL/Makefile b/databases/pear-DoctrineDBAL/Makefile new file mode 100644 index 00000000000..77fb01bd4dc --- /dev/null +++ b/databases/pear-DoctrineDBAL/Makefile @@ -0,0 +1,54 @@ +# Created by: William Grzybowski <wg@FreeBSD.org> +# $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 <bsd.port.pre.mk> + +.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 <bsd.port.post.mk> diff --git a/databases/pear-DoctrineDBAL/distinfo b/databases/pear-DoctrineDBAL/distinfo new file mode 100644 index 00000000000..4441733e61a --- /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 00000000000..1504bc74c26 --- /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/ |