Fixup fromcvs/togit conversion
[pkgsrcv2.git] / databases / mysql56-client / Makefile
1 # $NetBSD: Makefile,v 1.5 2013/02/06 23:20:54 jperkin Exp $
2
3 PKGNAME=        ${DISTNAME:S/-/-client-/}
4 SVR4_PKGNAME=   mysqc
5 COMMENT=        MySQL 5, a free SQL database (client)
6
7 CONFLICTS=      {mysql-client-[0-9]*,mysql3-client-[0-9]*}
8
9 .include "Makefile.common"
10
11 CMAKE_ARGS+=            -DWITHOUT_SERVER=ON
12 UNWRAP_FILES+=          scripts/mysql_config
13 INFO_FILES=             yes
14 INSTALL_DIRS+=          client include libmysql man scripts tests
15
16 REPLACE_PERL=   scripts/mysql_convert_table_format.sh
17 REPLACE_PERL+=  scripts/mysql_find_rows.sh
18 REPLACE_PERL+=  scripts/mysql_fix_extensions.sh
19 REPLACE_PERL+=  scripts/mysql_fix_privilege_tables.sh
20 REPLACE_PERL+=  scripts/mysql_install_db.pl.in
21 REPLACE_PERL+=  scripts/mysql_secure_installation.pl.in
22 REPLACE_PERL+=  scripts/mysql_setpermission.sh
23 REPLACE_PERL+=  scripts/mysql_zap.sh
24 REPLACE_PERL+=  scripts/mysqlaccess.sh
25 REPLACE_PERL+=  scripts/mysqld_multi.sh
26 REPLACE_PERL+=  scripts/mysqldumpslow.sh
27 REPLACE_PERL+=  scripts/mysqlhotcopy.sh
28
29 # Replace manual pages which only include other ones with a symbolic link
30 # if manual compression is activated. The manual pages won't work otherwise.
31 .if defined(MANZ)
32 post-install:
33 .  for mf in mysql_client_test_embedded.1 mysqltest_embedded.1
34         ${RM} -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${mf}
35         ${LN} -s ${mf:S/_embedded//} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${mf}
36 .  endfor
37 .endif
38
39 .include "../../devel/readline/buildlink3.mk"
40 .include "../../mk/bsd.pkg.mk"