summaryrefslogtreecommitdiff
path: root/databases/mysql51-client/Makefile
diff options
context:
space:
mode:
authortaca <taca>2010-03-04 16:27:18 +0000
committertaca <taca>2010-03-04 16:27:18 +0000
commitbad28ca35f415be7e51bf7b5f9efc5357853c3b3 (patch)
treee5e648de2bf32abae3656a6452087b105ba08e02 /databases/mysql51-client/Makefile
parent606827f457dfefbbbb43853c9d31caf7107f96f4 (diff)
downloadpkgsrc-bad28ca35f415be7e51bf7b5f9efc5357853c3b3.tar.gz
Importing mysql51-client 5.1.44, client part of MySQL 5.1.44.
For release MySQL 5.1 specific information please refer: http://dev.mysql.com/doc/refman/5.1/en/mysql-nutshell.html MySQL is a SQL (Structured Query Language) database server. SQL is the most popular database language in the world. MySQL is a client-server implementation that consists of a server daemon `mysqld' and many different client programs/libraries. The main goals of MySQL are speed and robustness. The base upon which MySQL is built is a set of routines that have been used in a highly demanding production environment for many years. While MySQL is still in development it already offers a rich and highly useful function set. The official way to pronounce 'MySQL' is 'My Ess Que Ell' (Not MY-SEQUEL). This package contains the MySQL client programs and libraries.
Diffstat (limited to 'databases/mysql51-client/Makefile')
-rw-r--r--databases/mysql51-client/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/databases/mysql51-client/Makefile b/databases/mysql51-client/Makefile
new file mode 100644
index 00000000000..9044317c04e
--- /dev/null
+++ b/databases/mysql51-client/Makefile
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/03/04 16:27:18 taca Exp $
+
+PKGNAME= ${DISTNAME:S/-/-client-/}
+SVR4_PKGNAME= mysqc
+COMMENT= MySQL 5, a free SQL database (client)
+
+CONFLICTS= {mysql-client-[0-9]*,mysql3-client-[0-9]*}
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+.include "Makefile.common"
+
+CONFIGURE_ARGS+= --without-extra-tools
+CONFIGURE_ARGS+= --without-server
+CONFIGURE_ARGS+= --enable-thread-safe-client
+UNWRAP_FILES+= scripts/mysql_config
+INFO_FILES= yes
+
+AUTO_MKDIRS= yes
+
+REPLACE_PERL= scripts/mysql_convert_table_format.sh \
+ scripts/mysql_find_rows.sh \
+ scripts/mysql_fix_extensions.sh \
+ scripts/mysql_fix_privilege_tables.sh \
+ scripts/mysql_setpermission.sh \
+ scripts/mysql_zap.sh \
+ scripts/mysqlaccess.sh \
+ scripts/mysqldumpslow.sh \
+ scripts/mysqlhotcopy.sh
+
+post-install:
+ cd ${WRKSRC}; for f in mysql.info mysql.info-[0-9]*; do \
+ ${TEST} ! -f "$$f" || \
+ ${INSTALL_DATA} "$$f" ${DESTDIR}${PREFIX}/${PKGINFODIR};\
+ done
+.for f in huge large innodb-heavy-4G small medium
+ ${INSTALL_DATA} ${WRKSRC}/support-files/my-${f}.cnf.sh \
+ ${DESTDIR}${PREFIX}/share/examples/mysql/my-${f}.cnf
+.endfor
+
+.include "../../devel/readline/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"