diff options
author | grant <grant> | 2007-03-11 16:46:17 +0000 |
---|---|---|
committer | grant <grant> | 2007-03-11 16:46:17 +0000 |
commit | 6d50d1ac8100d7653952321e882d2a1c481424ba (patch) | |
tree | 0c0e00933dfba3dd9a82e7f4899e244b85ffc0bb /databases/php-oracle | |
parent | 6330aa71bbc51cf480ff378487a758bf2dbe3be4 (diff) | |
download | pkgsrc-6d50d1ac8100d7653952321e882d2a1c481424ba.tar.gz |
Initial import of php-oracle.
This PHP module provides access to Oracle databases.
Diffstat (limited to 'databases/php-oracle')
-rw-r--r-- | databases/php-oracle/DESCR | 1 | ||||
-rw-r--r-- | databases/php-oracle/Makefile | 21 |
2 files changed, 22 insertions, 0 deletions
diff --git a/databases/php-oracle/DESCR b/databases/php-oracle/DESCR new file mode 100644 index 00000000000..010f2df6697 --- /dev/null +++ b/databases/php-oracle/DESCR @@ -0,0 +1 @@ +This PHP module provides access to Oracle databases. diff --git a/databases/php-oracle/Makefile b/databases/php-oracle/Makefile new file mode 100644 index 00000000000..1ca9be145d8 --- /dev/null +++ b/databases/php-oracle/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/03/11 16:46:17 grant Exp $ + +MODNAME= oracle +CATEGORIES+= databases +COMMENT= PHP extension for Oracle 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" |