aboutsummaryrefslogtreecommitdiffstats
path: root/databases/pear-DoctrineDBAL/Makefile
blob: 1934fc733c4bb4592343e61fc041007900e6d880 (plain) (blame)
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
# Created by: William Grzybowski <wg@FreeBSD.org>
# $FreeBSD$

PORTNAME=   DoctrineDBAL
PORTVERSION=    2.3.4
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=    MIT
LICENSE_FILE=   ${WRKSRC}/LICENSE

RUN_DEPENDS=    ${PEARDIR}/Doctrine/Common/Version.php:databases/pear-DoctrineCommon@${PHP_FLAVOR} \
        ${PEARDIR}/Symfony/Component/Console/Application.php:devel/pear-Symfony_Component_Console@${PHP_FLAVOR}

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

USES=       pear php:cli
PEAR_CHANNEL=   doctrine

USE_PHP=    pdo

NO_ARCH=    yes

DBLIB_RUN_DEPENDS=  ${PHPBASE}/lib/php/${PHP_EXT_DIR}/pdo_dblib.so:databases/php${PHP_VER}-pdo_dblib
MYSQL_USE=  PHP=pdo_mysql
ODBC_RUN_DEPENDS=   ${PHPBASE}/lib/php/${PHP_EXT_DIR}/pdo_odbc.so:databases/php${PHP_VER}-pdo_odbc
PGSQL_USE=  PHP=pdo_pgsql
SQLITE_USE= PHP=pdo_sqlite

.include <bsd.port.mk>