Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / x11 / wxGTK26 / Makefile
blobc96567010e84efe2ae3af621003e800409cdcdab
1 # $NetBSD: Makefile,v 1.21 2013/01/26 21:36:59 adam Exp $
4 .include "Makefile.common"
6 PKGREVISION= 21
7 COMMENT= GTK-based implementation of the wxWidgets GUI library
9 REPLACE_SH= wx-config.in wx-config-inplace.in
11 post-build:
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 \
14 zh_CN zh_TW; do \
15 ${TOOLS_PATH.msgfmt} -c -o $${lang}.mo $${lang}.po; \
16 done
17 set -e; cd ${WRKSRC}/locale/msw; \
18 for lang in it; do \
19 ${TOOLS_PATH.msgfmt} -c -o $${lang}.mo $${lang}.po; \
20 done
22 post-install:
23 ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
24 ${INSTALL_DATA} ${WRKSRC}/LICENCE.txt ${DESTDIR}${DOCDIR}/LICENSE
26 # for backtrace
27 .if ${OPSYS} == "NetBSD" && exists(/usr/include/execinfo.h)
28 LIBS+= -lexecinfo
29 .endif
31 .include "../../mk/oss.buildlink3.mk"
32 .include "../../mk/bsd.pkg.mk"