2004-11-01 21:00:51 +01:00
|
|
|
# $NetBSD: Makefile,v 1.11 2004/11/01 20:00:51 jdolecek Exp $
|
2003-12-20 17:00:12 +01:00
|
|
|
|
|
|
|
PKGNAME= ${DISTNAME:S/-/-client-/}
|
2004-10-31 11:14:14 +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]*}
|
|
|
|
|
2004-11-01 21:00:51 +01:00
|
|
|
USE_BUILDLINK3= yes
|
|
|
|
|
2003-12-20 17:00:12 +01:00
|
|
|
.include "Makefile.common"
|
|
|
|
|
|
|
|
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:
|
|
|
|
cd ${PREFIX}/man/man1 && \
|
|
|
|
${RM} -f mysqld.1 mysqld_multi.1 mysqld_safe.1 safe_mysqld.1
|
|
|
|
cd ${PREFIX}/share/mysql && ${RM} -f mysql.server
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Docs/mysql.info ${PREFIX}/info
|
|
|
|
|
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"
|