blob: b177522c247d02704427859282565d32716f20d1 (
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
|
# Ports collection makefile for: pecl-PDO_ODBC
# Date created: 2005-10-03
# Whom: Alexander Zhuravlev <zaa@zaa.pp.ru>
#
# $FreeBSD$
#
PORTNAME= PDO_ODBC
DISTVERSION= 1.0
CATEGORIES= databases www
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
EXTRACT_SUFX= .tgz
DIST_SUBDIR= PECL
MAINTAINER= zaa@zaa.pp.ru
COMMENT= ODBC v3 Interface driver for PDO
BUILD_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo.so:${PORTSDIR}/databases/pecl-PDO
RUN_DEPENDS= ${BUILD_DEPENDS}
LIB_DEPENDS= odbc.1:${PORTSDIR}/databases/unixODBC
USE_PHP= yes
USE_PHPIZE= yes
USE_PHPEXT= yes
DEFAULT_PHP_VER=5
PHP_MODNAME= pdo_odbc
CONFIGURE_ARGS+=--with-pdo-odbc=unixODBC,${LOCALBASE}
CONFIGURE_ENV= LIBS="${PTHREAD_LIBS}"
.include <bsd.port.mk>
|