summaryrefslogtreecommitdiff
path: root/databases/php-mysql
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2004-10-31 19:30:29 +0000
committerjdolecek <jdolecek@pkgsrc.org>2004-10-31 19:30:29 +0000
commit52c19805011b2d8d525f4d2a6c01cf961940d9aa (patch)
tree9eebc2a4ea3e6fa6c783e1abb83bc43228266985 /databases/php-mysql
parent0ed49ace1ff1fc3ca3ff39742f593ac63c9a9c81 (diff)
downloadpkgsrc-52c19805011b2d8d525f4d2a6c01cf961940d9aa.tar.gz
new PHP extension module framework, which makes it possible to build
individual PHP extension packages with either PHP 4.x or PHP 5.x convert existing php4-* packages to this framework and import as php-*
Diffstat (limited to 'databases/php-mysql')
-rw-r--r--databases/php-mysql/DESCR2
-rw-r--r--databases/php-mysql/Makefile19
2 files changed, 21 insertions, 0 deletions
diff --git a/databases/php-mysql/DESCR b/databases/php-mysql/DESCR
new file mode 100644
index 00000000000..21a48ab18b0
--- /dev/null
+++ b/databases/php-mysql/DESCR
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides standard access to MySQL databases.
diff --git a/databases/php-mysql/Makefile b/databases/php-mysql/Makefile
new file mode 100644
index 00000000000..cc4f1812717
--- /dev/null
+++ b/databases/php-mysql/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $
+
+MODNAME= mysql
+CATEGORIES+= databases
+PKGREVISION= # empty
+COMMENT= PHP extension for MySQL databases
+
+MAINTAINER= tech-pkg@NetBSD.org
+
+USE_BUILDLINK3= yes
+USE_PHP_EXT_PATCHES= yes
+
+EVAL_PREFIX+= MYSQLDIR=mysql-client
+CONFIGURE_ARGS+= --with-${MODNAME}=shared,${MYSQLDIR}
+LDFLAGS+= ${COMPILER_RPATH_FLAG}${LOCALBASE}/lib/mysql
+
+.include "../../lang/php/ext.mk"
+.include "../../mk/mysql.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"