From 487d67327d2a0fb3962da1fa67748983c8f742f8 Mon Sep 17 00:00:00 2001 From: grant Date: Tue, 4 Dec 2007 00:31:41 +0000 Subject: Initial import of php-oci8. This PHP module provides access to Oracle 8 (and above) databases. --- databases/php-oci8/DESCR | 1 + databases/php-oci8/Makefile | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 databases/php-oci8/DESCR create mode 100644 databases/php-oci8/Makefile (limited to 'databases/php-oci8') diff --git a/databases/php-oci8/DESCR b/databases/php-oci8/DESCR new file mode 100644 index 00000000000..9aa1a4d9237 --- /dev/null +++ b/databases/php-oci8/DESCR @@ -0,0 +1 @@ +This PHP module provides access to Oracle 8 (and above) databases. diff --git a/databases/php-oci8/Makefile b/databases/php-oci8/Makefile new file mode 100644 index 00000000000..316b807ca34 --- /dev/null +++ b/databases/php-oci8/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/12/04 00:31:41 grant Exp $ + +MODNAME= oci8 +CATEGORIES+= databases +COMMENT= PHP extension for Oracle 8 (and above) databases + +USE_PHP_EXT_PATCHES= yes + +.include "../../mk/bsd.prefs.mk" + +.if !defined(ORACLE_HOME) +PKG_FAIL_REASON+= "You must set ORACLE_HOME to the location of your Oracle installation" +.elif !exists(${ORACLE_HOME}) +PKG_FAIL_REASON+= "The location of ORACLE_HOME does not exist" +.endif + +BUILDLINK_PASSTHRU_DIRS+= ${ORACLE_HOME} +CONFIGURE_ARGS+= --with-${MODNAME}=shared,${ORACLE_HOME} + +.include "../../lang/php/ext.mk" +.include "../../mk/bsd.pkg.mk" -- cgit v1.2.3