summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-01-10 13:04:15 +0000
committerjlam <jlam@pkgsrc.org>2002-01-10 13:04:15 +0000
commit38f5923c7b8c11b38e9fdd3d83aee683bfc3849a (patch)
tree375a4b6e08d74f6a7b63c56ed6f8e28a026f69c1 /databases
parent2114e58ed42395757451038957d5627c94a9c8bc (diff)
downloadpkgsrc-38f5923c7b8c11b38e9fdd3d83aee683bfc3849a.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"