summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorjlam <jlam>2002-01-10 13:04:15 +0000
committerjlam <jlam>2002-01-10 13:04:15 +0000
commit0adf6d93a0c96ffdda58f411a05a392a0953fbc0 (patch)
tree375a4b6e08d74f6a7b63c56ed6f8e28a026f69c1 /databases
parente0208bd64812de48bd31628e62424a5742457643 (diff)
downloadpkgsrc-0adf6d93a0c96ffdda58f411a05a392a0953fbc0.tar.gz
Move to databases/php3-pgsql from the www category to match similar
relocations of the PHP4 module packages.
Diffstat (limited to 'databases')
-rw-r--r--databases/php3-pgsql/DESCR2
-rw-r--r--databases/php3-pgsql/Makefile17
2 files changed, 19 insertions, 0 deletions
diff --git a/databases/php3-pgsql/DESCR b/databases/php3-pgsql/DESCR
new file mode 100644
index 00000000000..5ec666735fc
--- /dev/null
+++ b/databases/php3-pgsql/DESCR
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides access to PostgreSQL databases.
diff --git a/databases/php3-pgsql/Makefile b/databases/php3-pgsql/Makefile
new file mode 100644
index 00000000000..5785ca4162d
--- /dev/null
+++ b/databases/php3-pgsql/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/01/10 13:04:15 jlam Exp $
+
+MODNAME= pgsql
+CATEGORIES+= databases
+PKGREVISION= # empty
+COMMENT= PHP3 extension for PostgreSQL database access
+
+USE_BUILDLINK_ONLY= yes
+
+.include "../../www/php3/Makefile.module"
+
+CONFIGURE_ARGS+= --with-pgsql=${BUILDLINK_DIR}
+MOD_CPPFLAGS+= -I${BUILDLINK_DIR}/include/pgsql
+MOD_LIBS+= -lpq -lcrypt
+
+.include "../../databases/postgresql-lib/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"