2005-01-20 15:17:14 +01:00
|
|
|
# $NetBSD: Makefile,v 1.42 2005/01/20 14:17:15 xtraeme Exp $
|
1999-05-07 01:22:27 +02:00
|
|
|
|
2001-05-02 10:22:28 +02:00
|
|
|
PKGNAME= ${DISTNAME:S/-/-client-/}
|
2001-10-18 17:20:01 +02:00
|
|
|
SVR4_PKGNAME= mysqc
|
2004-10-28 03:08:15 +02:00
|
|
|
COMMENT= MySQL 4, a free SQL database (client)
|
|
|
|
|
|
|
|
CONFLICTS= {mysql-client-[0-9]*,mysql3-client-[0-9]*}
|
1999-05-07 01:22:27 +02:00
|
|
|
|
2002-08-25 20:38:05 +02:00
|
|
|
.include "Makefile.common"
|
1999-05-07 01:22:27 +02:00
|
|
|
|
2004-11-09 07:11:48 +01:00
|
|
|
CONFIGURE_ARGS+= --without-extra-tools
|
2001-05-02 10:22:28 +02:00
|
|
|
CONFIGURE_ARGS+= --without-server
|
2004-11-09 07:11:48 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-thread-safe-client
|
2004-10-28 03:08:15 +02:00
|
|
|
USE_BUILDLINK3= yes
|
|
|
|
UNWRAP_FILES= scripts/mysql_config
|
1999-05-07 01:22:27 +02:00
|
|
|
|
2001-11-02 03:57:28 +01:00
|
|
|
INFO_FILES= mysql.info
|
2004-12-02 01:42:06 +01:00
|
|
|
MESSAGE_SRC= ${.CURDIR}/../mysql4-client/MESSAGE
|
1999-08-24 20:55:27 +02:00
|
|
|
|
2001-05-02 10:22:28 +02:00
|
|
|
post-install:
|
1999-05-07 01:22:27 +02:00
|
|
|
${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
|
1999-05-07 01:22:27 +02:00
|
|
|
|
2004-04-03 18:06:16 +02:00
|
|
|
.include "../../devel/readline/buildlink3.mk"
|
1999-05-07 01:22:27 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|