Fixup fromcvs/togit conversion
[pkgsrcv2.git] / x11 / wxGTK28 / Makefile
1 # $NetBSD$
2 #
3
4 .include "../../x11/wxGTK28/Makefile.common"
5
6 PKGREVISION=    20
7
8 PKGNAME=                ${DISTNAME:S/wxGTK/wxGTK28/}
9 COMMENT=                GTK-based implementation of the wxWidgets GUI library
10
11 BUILD_TARGET=   all
12 INSTALL_TARGET= install
13
14 INSTALLATION_DIRS=      ${DOCDIR}
15
16 REPLACE_SH=             wx-config.in wx-config-inplace.in
17
18 post-build:
19         set -e; cd ${WRKSRC}/locale; \
20         for lang in *.po; do \
21                 [ "$${lang}" = "wxstd.po" ] && continue; \
22                 ${TOOLS_PATH.msgfmt} -c -o "$${lang%.po}.mo" "$${lang}"; \
23         done
24         set -e; cd ${WRKSRC}/locale/msw; \
25         for lang in it; do \
26             ${TOOLS_PATH.msgfmt} -c -o "$${lang}.mo" "$${lang}.po"; \
27         done
28
29 post-install:
30         ${INSTALL_DATA} ${WRKSRC}/docs/licence.txt ${DESTDIR}${DOCDIR}
31
32 .include "../../mk/bsd.prefs.mk"
33
34 # for backtrace
35 .if ${OPSYS} == "NetBSD" && exists(/usr/include/execinfo.h)
36 LIBS+=  -lexecinfo
37 .endif
38
39 .include "../../mk/oss.buildlink3.mk"
40 .include "../../mk/bsd.pkg.mk"