summaryrefslogtreecommitdiffstats
path: root/databases/pecl-PDO_MYSQL/Makefile
blob: f572af68ec430b7710fb190cfe5d968d0da98cae (plain)
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_MYSQL
# Date created:                   2005-09-10
# Whom:                           Alexander Zhuravlev <zaa@zaa.pp.ru>
#
# $FreeBSD$
#

PORTNAME=	PDO_MYSQL
DISTVERSION=	1.0RC1
CATEGORIES=	databases www
MASTER_SITES=	http://pecl.php.net/get/
PKGNAMEPREFIX=	pecl-
EXTRACT_SUFX=	.tgz
DIST_SUBDIR=	PECL

MAINTAINER=	zaa@zaa.pp.ru
COMMENT=	MySQL 3.x/4.0 driver for PDO

BUILD_DEPENDS+=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo.so:${PORTSDIR}/databases/pecl-PDO
RUN_DEPENDS+=	${BUILD_DEPENDS}

USE_PHP=	yes
USE_PHPIZE=	yes
USE_PHPEXT=	yes
DEFAULT_PHP_VER=5
PHP_MODNAME=	pdo_mysql

CONFIGURE_ARGS+=--with-pdo-mysql=${LOCALBASE}

USE_MYSQL=	yes

.include <bsd.port.mk>
OpenPOWER on IntegriCloud