pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/php-oci8 Initial import of php-oci8.
details: https://anonhg.NetBSD.org/pkgsrc/rev/4e48ac22a283
branches: trunk
changeset: 536156:4e48ac22a283
user: grant <grant%pkgsrc.org@localhost>
date: Tue Dec 04 00:31:41 2007 +0000
description:
Initial import of php-oci8.
This PHP module provides access to Oracle 8 (and above) databases.
diffstat:
databases/php-oci8/DESCR | 1 +
databases/php-oci8/Makefile | 21 +++++++++++++++++++++
2 files changed, 22 insertions(+), 0 deletions(-)
diffs (30 lines):
diff -r be6812959d91 -r 4e48ac22a283 databases/php-oci8/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-oci8/DESCR Tue Dec 04 00:31:41 2007 +0000
@@ -0,0 +1,1 @@
+This PHP module provides access to Oracle 8 (and above) databases.
diff -r be6812959d91 -r 4e48ac22a283 databases/php-oci8/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-oci8/Makefile Tue Dec 04 00:31:41 2007 +0000
@@ -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"
Home |
Main Index |
Thread Index |
Old Index