2005-02-16 03:21:36 +01:00
|
|
|
# $NetBSD: Makefile,v 1.21 2005/02/16 02:21:36 xtraeme Exp $
|
2003-12-20 17:00:12 +01:00
|
|
|
|
|
|
|
PKGNAME= ${DISTNAME:S/-/-client-/}
|
2005-02-16 03:21:36 +01:00
|
|
|
#PKGREVISION= 1
|
2003-12-20 17:00:12 +01:00
|
|
|
SVR4_PKGNAME= mysqc
|
2004-05-14 12:53:29 +02:00
|
|
|
COMMENT= MySQL 4, a free SQL database (client)
|
2003-12-20 17:00:12 +01:00
|
|
|
|
|
|
|
CONFLICTS= {mysql-client-[0-9]*,mysql3-client-[0-9]*}
|
|
|
|
|
|
|
|
.include "Makefile.common"
|
|
|
|
|
2004-11-08 19:19:41 +01:00
|
|
|
CONFIGURE_ARGS+= --without-extra-tools
|
2003-12-20 17:00:12 +01:00
|
|
|
CONFIGURE_ARGS+= --without-server
|
2004-10-31 11:14:14 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-thread-safe-client
|
2004-08-27 08:29:06 +02:00
|
|
|
UNWRAP_FILES= scripts/mysql_config
|
2003-12-20 17:00:12 +01:00
|
|
|
|
|
|
|
INFO_FILES= mysql.info
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Docs/mysql.info ${PREFIX}/info
|
2004-11-23 17:07:01 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mysql
|
|
|
|
.for f in huge large innodb-heavy-4G small medium
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/support-files/my-${f}.cnf.sh \
|
|
|
|
${PREFIX}/share/examples/mysql/my-${f}.cnf
|
|
|
|
.endfor
|
2003-12-20 17:00:12 +01:00
|
|
|
|
2004-04-22 16:31:35 +02:00
|
|
|
.include "../../devel/readline/buildlink3.mk"
|
2003-12-20 17:00:12 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|