| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.20 2017/02/12 06:25:00 ryoon Exp $ | | 1 | # $NetBSD: Makefile,v 1.21 2017/07/15 19:10:31 wiz Exp $ |
2 | | | 2 | |
3 | VERSION= 3.0.2 | | 3 | VERSION= 3.0.2 |
4 | PKGREVISION= 10 | | 4 | PKGREVISION= 10 |
5 | DISTNAME= wxWidgets-${VERSION} | | 5 | DISTNAME= wxWidgets-${VERSION} |
6 | PKGNAME= wxGTK30-${VERSION} | | 6 | PKGNAME= wxGTK30-${VERSION} |
7 | CATEGORIES= x11 | | 7 | CATEGORIES= x11 |
8 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wxwindows/} | | 8 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wxwindows/} |
9 | EXTRACT_SUFX= .tar.bz2 | | 9 | EXTRACT_SUFX= .tar.bz2 |
10 | | | 10 | |
11 | PATCHFILES= ${DISTNAME}-libtool.3.diff.bz2 | | 11 | PATCHFILES= ${DISTNAME}-libtool.3.diff.bz2 |
12 | PATCH_SITES= ${MASTER_SITE_LOCAL} | | 12 | PATCH_SITES= ${MASTER_SITE_LOCAL} |
13 | PATCH_DIST_STRIP.${DISTNAME}-libtool.3.diff.bz2= -p1 | | 13 | PATCH_DIST_STRIP.${DISTNAME}-libtool.3.diff.bz2= -p1 |
14 | | | 14 | |
| @@ -66,27 +66,27 @@ CONFIGURE_ARGS+= --with-macosx-version-m | | | @@ -66,27 +66,27 @@ CONFIGURE_ARGS+= --with-macosx-version-m |
66 | | | 66 | |
67 | PLIST_SRC+= PLIST.cocoa | | 67 | PLIST_SRC+= PLIST.cocoa |
68 | CONFIGURE_ARGS+= --with-osx_cocoa | | 68 | CONFIGURE_ARGS+= --with-osx_cocoa |
69 | .else | | 69 | .else |
70 | PLIST.notdarwin= yes | | 70 | PLIST.notdarwin= yes |
71 | | | 71 | |
72 | PLIST_SRC+= PLIST.gtk2 | | 72 | PLIST_SRC+= PLIST.gtk2 |
73 | CONFIGURE_ARGS+= --with-gtk=2 | | 73 | CONFIGURE_ARGS+= --with-gtk=2 |
74 | .endif | | 74 | .endif |
75 | | | 75 | |
76 | CONFIGURE_ARGS.SunOS+= --disable-xlocale | | 76 | CONFIGURE_ARGS.SunOS+= --disable-xlocale |
77 | | | 77 | |
78 | post-configure: | | 78 | post-configure: |
79 | echo 'install_qadll: install_xmldll' >> ${WRKSRC}/Makefile | | 79 | ${ECHO} 'install_qadll: install_xmldll' >> ${WRKSRC}/Makefile |
80 | | | 80 | |
81 | post-build: | | 81 | post-build: |
82 | set -e; cd ${WRKSRC}/locale; \ | | 82 | set -e; cd ${WRKSRC}/locale; \ |
83 | for lang in *.po; do \ | | 83 | for lang in *.po; do \ |
84 | [ "$${lang}" = "wxstd.po" ] && continue; \ | | 84 | [ "$${lang}" = "wxstd.po" ] && continue; \ |
85 | ${TOOLS_PATH.msgfmt} -c -o "$${lang%.po}.mo" "$${lang}"; \ | | 85 | ${TOOLS_PATH.msgfmt} -c -o "$${lang%.po}.mo" "$${lang}"; \ |
86 | done | | 86 | done |
87 | set -e; cd ${WRKSRC}/locale/msw; \ | | 87 | set -e; cd ${WRKSRC}/locale/msw; \ |
88 | for lang in it; do \ | | 88 | for lang in it; do \ |
89 | ${TOOLS_PATH.msgfmt} -c -o "$${lang}.mo" "$${lang}.po"; \ | | 89 | ${TOOLS_PATH.msgfmt} -c -o "$${lang}.mo" "$${lang}.po"; \ |
90 | done | | 90 | done |
91 | | | 91 | |
92 | post-install: | | 92 | post-install: |