summaryrefslogtreecommitdiff
path: root/databases/php-pdo/module.mk
blob: e1eb996c38a6d2069c8de2eb453454c4f732f62b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $NetBSD: module.mk,v 1.6 2006/02/07 17:59:56 jdolecek Exp $

# Items common for all PDO drivers

.if !empty(PDO_DRIVER)
_PDO_SEP=		_
.else
_PDO_SEP=		# empty
.endif

PDO_DRIVER_TR=		${ECHO} ${PDO_DRIVER:Q} | ${TR} a-z A-Z
MODNAME=		PDO${_PDO_SEP}${PDO_DRIVER_TR:sh}
PKGMODNAME=		pdo${_PDO_SEP}${PDO_DRIVER}
PECL_VERSION?=		${PDO_VERSION}
PKGNAME=		php-${PKGMODNAME}-${PHP_BASE_VERS}.${PECL_VERSION}

CATEGORIES+=		databases
MAINTAINER=		jdolecek@NetBSD.org
COMMENT=		PHP PDO extension for ${PDO_COMMENT} databases

# needed due to (broken?) PDO_* configure checks
CONFIGURE_ENV+=		PHP_PDO_SHARED="1"