summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam>2002-01-10 13:04:15 +0000
committerjlam <jlam>2002-01-10 13:04:15 +0000
commitfb208f5fa1cdec9ea3190882977dafa38a5d294a (patch)
tree375a4b6e08d74f6a7b63c56ed6f8e28a026f69c1
parent46ccd56147f431ffa1bce0e3d18b7febe5bcb980 (diff)
downloadpkgsrc-fb208f5fa1cdec9ea3190882977dafa38a5d294a.tar.gz
Move to databases/php3-pgsql from the www category to match similar
relocations of the PHP4 module packages.
-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"