summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
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"