Annotation of pkgsrc/x11/wxGTK28/Makefile, Revision 1.50
1.50 ! wiz 1: # $NetBSD: Makefile,v 1.49 2018/03/12 11:15:58 wiz Exp $
1.1 joerg 2: #
3:
4: .include "../../x11/wxGTK28/Makefile.common"
5:
6: PKGNAME= ${DISTNAME:S/wxGTK/wxGTK28/}
1.50 ! wiz 7: PKGREVISION= 15
1.1 joerg 8: COMMENT= GTK-based implementation of the wxWidgets GUI library
9:
10: BUILD_TARGET= all
11: INSTALL_TARGET= install
12:
1.43 dbj 13: INSTALLATION_DIRS+= ${DOCDIR}
14: INSTALLATION_DIRS+= bin
1.1 joerg 15:
1.19 hans 16: REPLACE_SH= wx-config.in wx-config-inplace.in
17:
1.41 joerg 18: post-configure:
19: echo 'install_qadll: install_xmldll' >> ${WRKSRC}/build-unicode/Makefile
20: echo 'install_qadll: install_xmldll' >> ${WRKSRC}/build-non-unicode/Makefile
21:
1.1 joerg 22: post-build:
23: set -e; cd ${WRKSRC}/locale; \
1.23 dholland 24: for lang in *.po; do \
25: [ "$${lang}" = "wxstd.po" ] && continue; \
26: ${TOOLS_PATH.msgfmt} -c -o "$${lang%.po}.mo" "$${lang}"; \
1.1 joerg 27: done
28: set -e; cd ${WRKSRC}/locale/msw; \
29: for lang in it; do \
1.23 dholland 30: ${TOOLS_PATH.msgfmt} -c -o "$${lang}.mo" "$${lang}.po"; \
1.1 joerg 31: done
32:
33: post-install:
34: ${INSTALL_DATA} ${WRKSRC}/docs/licence.txt ${DESTDIR}${DOCDIR}
1.43 dbj 35: # Create symlinks for now. Eventually we may want to use ALTERNATIVES
36: ${LN} -sf ../libexec/wx-2.8/wxrc ${DESTDIR}${PREFIX}/bin/wxrc
37: ${LN} -sf ../libexec/wx-2.8/wxrc-2.8 ${DESTDIR}${PREFIX}/bin/wxrc-2.8
38: ${LN} -sf ../libexec/wx-2.8/wx-config ${DESTDIR}${PREFIX}/bin/wx-config
1.44 dbj 39: ${LN} -sf ../libexec/wx-2.8/wx-config ${DESTDIR}${PREFIX}/bin/wx-config-2.8
1.1 joerg 40:
1.22 wiz 41: .include "../../mk/bsd.prefs.mk"
42:
43: # for backtrace
44: .if ${OPSYS} == "NetBSD" && exists(/usr/include/execinfo.h)
1.23 dholland 45: LIBS+= -lexecinfo
1.22 wiz 46: .endif
47:
1.39 bouyer 48: .include "../../graphics/cairo/buildlink3.mk"
1.1 joerg 49: .include "../../mk/oss.buildlink3.mk"
50: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>