summaryrefslogtreecommitdiff
path: root/x11/wxGTK28/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg>2008-09-12 11:09:49 +0000
committerjoerg <joerg>2008-09-12 11:09:49 +0000
commit1539316f86372dbfd66835288c76a86bd2fea54a (patch)
tree757731b8ccac444ec03142b4469d82ac3a2d519c /x11/wxGTK28/Makefile
parentc3e025712381f0b059352c838f65a19dda664c35 (diff)
downloadpkgsrc-1539316f86372dbfd66835288c76a86bd2fea54a.tar.gz
Import wxGTK 2.8.8.
Diffstat (limited to 'x11/wxGTK28/Makefile')
-rw-r--r--x11/wxGTK28/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/x11/wxGTK28/Makefile b/x11/wxGTK28/Makefile
new file mode 100644
index 00000000000..542a8840e25
--- /dev/null
+++ b/x11/wxGTK28/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/09/12 11:09:49 joerg Exp $
+#
+
+.include "../../x11/wxGTK28/Makefile.common"
+
+PKGNAME= ${DISTNAME:S/wxGTK/wxGTK28/}
+COMMENT= GTK-based implementation of the wxWidgets GUI library
+
+BUILD_TARGET= all
+INSTALL_TARGET= install
+
+INSTALLATION_DIRS= ${DOCDIR}
+
+post-build:
+ set -e; cd ${WRKSRC}/locale; \
+ for lang in `echo *.po` ; do \
+ [ $${lang} = "wxstd.po" ] && continue; \
+ ${TOOLS_PATH.msgfmt} -c -o $${lang%.po}.mo $${lang}; \
+ done
+ set -e; cd ${WRKSRC}/locale/msw; \
+ for lang in it; do \
+ ${TOOLS_PATH.msgfmt} -c -o $${lang}.mo $${lang}.po; \
+ done
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/docs/licence.txt ${DESTDIR}${DOCDIR}
+
+.include "../../mk/oss.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"