summaryrefslogtreecommitdiff
path: root/inputmethod/tomoe-gtk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'inputmethod/tomoe-gtk/Makefile')
-rw-r--r--inputmethod/tomoe-gtk/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/inputmethod/tomoe-gtk/Makefile b/inputmethod/tomoe-gtk/Makefile
index c0beba8a6b6..3a4fcba684f 100644
--- a/inputmethod/tomoe-gtk/Makefile
+++ b/inputmethod/tomoe-gtk/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2009/08/26 19:56:57 sno Exp $
+# $NetBSD: Makefile,v 1.5 2010/05/14 11:02:20 obache Exp $
#
DISTNAME= tomoe-gtk-0.6.0
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= inputmethod
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tomoe/}
@@ -20,10 +20,13 @@ USE_PKGLOCALEDIR= yes
PKGCONFIG_OVERRIDE+= tomoe-gtk.pc.in
CONFIGURE_ARGS+= --without-python
-# enable again once upstream supports gucharmap-2, or a
-# gucharmap-1 package was created
-CONFIGURE_ARGS+= --without-gucharmap
+
+SUBST_CLASSES+= gucharmap2
+SUBST_STAGE.gucharmap2= pre-configure
+SUBST_FILES.gucharmap2= configure
+SUBST_SED.gucharmap2= -e 's|gucharmap >= 1.4.0|gucharmap-2|g'
.include "../../inputmethod/tomoe/buildlink3.mk"
+.include "../../fonts/gucharmap/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"