diff options
author | grant <grant@pkgsrc.org> | 2007-12-04 00:31:41 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2007-12-04 00:31:41 +0000 |
commit | 89b373b7ce945ed6797fb60725099c9dc87c5d43 (patch) | |
tree | 519622b3b3c733f1c159f91e0e2cedaf5d085160 /databases/php-oci8 | |
parent | 2ff770a3d7945a6df29e5a7ea0bed90d3562902b (diff) | |
download | pkgsrc-89b373b7ce945ed6797fb60725099c9dc87c5d43.tar.gz |
Initial import of php-oci8.
This PHP module provides access to Oracle 8 (and above) databases.
Diffstat (limited to 'databases/php-oci8')
-rw-r--r-- | databases/php-oci8/DESCR | 1 | ||||
-rw-r--r-- | databases/php-oci8/Makefile | 21 |
2 files changed, 22 insertions, 0 deletions
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" |