| @@ -1,32 +1,32 @@ | | | @@ -1,32 +1,32 @@ |
1 | # $NetBSD: Makefile,v 1.27 2013/10/10 14:41:46 ryoon Exp $ | | 1 | # $NetBSD: Makefile,v 1.28 2014/04/17 21:28:15 asau Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | .include "Makefile.common" | | 4 | .include "Makefile.common" |
5 | | | 5 | |
6 | PKGREVISION= 26 | | 6 | PKGREVISION= 26 |
7 | COMMENT= GTK-based implementation of the wxWidgets GUI library | | 7 | COMMENT= GTK-based implementation of the wxWidgets GUI library |
8 | | | 8 | |
9 | REPLACE_SH= wx-config.in wx-config-inplace.in | | 9 | REPLACE_SH= wx-config.in wx-config-inplace.in |
10 | | | 10 | |
11 | post-build: | | 11 | post-build: |
12 | set -e; cd ${WRKSRC}/locale; \ | | 12 | set -e; cd ${WRKSRC}/locale; \ |
13 | for lang in ca cs da de el es fi fr hu id it ja nl pl ru sl sv tr uk \ | | 13 | for lang in ca cs da de el es fi fr hu id it ja nl pl ru sl sv tr uk \ |
14 | zh_CN zh_TW; do \ | | 14 | zh_CN zh_TW; do \ |
15 | ${TOOLS_PATH.msgfmt} -c -o $${lang}.mo $${lang}.po; \ | | 15 | ${TOOLS_PATH.msgfmt} -c -o $${lang}.mo $${lang}.po; \ |
16 | done | | 16 | done |
17 | set -e; cd ${WRKSRC}/locale/msw; \ | | 17 | set -e; cd ${WRKSRC}/locale/msw; \ |
18 | for lang in it; do \ | | 18 | for lang in it; do \ |
19 | ${TOOLS_PATH.msgfmt} -c -o $${lang}.mo $${lang}.po; \ | | 19 | ${TOOLS_PATH.msgfmt} -c -o $${lang}.mo $${lang}.po; \ |
20 | done | | 20 | done |
21 | | | 21 | |
22 | post-install: | | 22 | post-install: |
23 | ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} | | 23 | ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} |
24 | ${INSTALL_DATA} ${WRKSRC}/LICENCE.txt ${DESTDIR}${DOCDIR}/LICENSE | | 24 | ${INSTALL_DATA} ${WRKSRC}/LICENCE.txt ${DESTDIR}${DOCDIR}/LICENSE |
25 | | | 25 | |
26 | # for backtrace | | 26 | # for backtrace |
27 | .if ${OPSYS} == "NetBSD" && exists(/usr/include/execinfo.h) | | 27 | .if (${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD") && exists(/usr/include/execinfo.h) |
28 | LIBS+= -lexecinfo | | 28 | LIBS+= -lexecinfo |
29 | .endif | | 29 | .endif |
30 | | | 30 | |
31 | .include "../../mk/oss.buildlink3.mk" | | 31 | .include "../../mk/oss.buildlink3.mk" |
32 | .include "../../mk/bsd.pkg.mk" | | 32 | .include "../../mk/bsd.pkg.mk" |