pkgsrc/databases/mysql-client/Makefile
minskim e68641a7d7 Bump PKGREVISION because the previous versions built with bsd.pkg.mk 1.1552
may contain a wrong path to the perl executable.
2004-12-31 13:27:06 +00:00

30 lines
882 B
Makefile

# $NetBSD: Makefile,v 1.41 2004/12/31 13:27:06 minskim Exp $
PKGNAME= ${DISTNAME:S/-/-client-/}
SVR4_PKGNAME= mysqc
PKGREVISION= 4
COMMENT= MySQL 4, a free SQL database (client)
CONFLICTS= {mysql-client-[0-9]*,mysql3-client-[0-9]*}
.include "Makefile.common"
CONFIGURE_ARGS+= --without-extra-tools
CONFIGURE_ARGS+= --without-server
CONFIGURE_ARGS+= --enable-thread-safe-client
USE_BUILDLINK3= yes
UNWRAP_FILES= scripts/mysql_config
INFO_FILES= mysql.info
MESSAGE_SRC= ${.CURDIR}/../mysql4-client/MESSAGE
post-install:
${INSTALL_DATA} ${WRKSRC}/Docs/mysql.info ${PREFIX}/info
${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
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"