summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam>2002-01-10 13:03:47 +0000
committerjlam <jlam>2002-01-10 13:03:47 +0000
commit46ccd56147f431ffa1bce0e3d18b7febe5bcb980 (patch)
tree3c490ca64dcbb71ae4c888dfc61d8d666158ff1f
parent46b014a171917f28cf482175b7ea0256fbb29f8f (diff)
downloadpkgsrc-46ccd56147f431ffa1bce0e3d18b7febe5bcb980.tar.gz
Move to databases/php3-mysql from the www category to match similar
relocations of the PHP4 module packages.
-rw-r--r--databases/php3-mysql/DESCR2
-rw-r--r--databases/php3-mysql/Makefile20
2 files changed, 22 insertions, 0 deletions
diff --git a/databases/php3-mysql/DESCR b/databases/php3-mysql/DESCR
new file mode 100644
index 00000000000..23f8c25ea3d
--- /dev/null
+++ b/databases/php3-mysql/DESCR
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides access to MySQL databases.
diff --git a/databases/php3-mysql/Makefile b/databases/php3-mysql/Makefile
new file mode 100644
index 00000000000..fe7fe1d584d
--- /dev/null
+++ b/databases/php3-mysql/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/01/10 13:03:47 jlam Exp $
+
+MODNAME= mysql
+CATEGORIES+= databases
+PKGREVISION= # empty
+COMMENT= PHP3 extension for MySQL database access
+
+USE_BUILDLINK_ONLY= yes
+
+.include "../../www/php3/Makefile.module"
+
+BUILDLINK_DEPENDS.mysql-client= mysql-client>=3.23.35
+
+CONFIGURE_ARGS+= --with-mysql=${BUILDLINK_DIR}
+MOD_CPPFLAGS+= -I${BUILDLINK_DIR}/include/mysql
+MOD_LDFLAGS+= -L${BUILDLINK_DIR}/lib/mysql -R${LOCALBASE}/lib/mysql
+MOD_LIBS+= -lmysqlclient -lm
+
+.include "../../databases/mysql-client/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"