blob: 0218e42fa30dbb5e55945f11570b052986be0467 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $NetBSD: Makefile,v 1.13 2007/12/08 22:26:24 jnemeth Exp $
PKGNAME= ${DISTNAME:S/-/-client-/}
SVR4_PKGNAME= mysqc
PKGREVISION= 2
COMMENT= MySQL 5, 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
UNWRAP_FILES+= scripts/mysql_config
INFO_FILES= yes
AUTO_MKDIRS= yes
post-install:
cd ${WRKSRC}; for f in mysql.info mysql.info-[0-9]*; do \
${TEST} ! -f "$$f" || \
${INSTALL_DATA} "$$f" ${PREFIX}/${PKGINFODIR}; \
done
.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
${INSTALL_DATA} ${WRKSRC}/Docs/manual.chm ${DESTDIR}${PREFIX}/share/doc/mysql/
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|