# Created by: Junho CHOI # $FreeBSD$ PORTNAME= imhangul PORTVERSION= ${GTKVER}.1.1 CATEGORIES= korean MASTER_SITES= GOOGLE_CODE MAINTAINER= jkim@FreeBSD.org COMMENT= GTK+ Hangul input module LICENSE= GPLv2 LIB_DEPENDS= hangul:${PORTSDIR}/korean/libhangul USE_AUTOTOOLS= libtool USE_BZIP2= yes USE_GMAKE= yes GNU_CONFIGURE= yes USES= pkgconfig OPTIONS_DEFINE= GTK3 NLS NO_STAGE= yes .include .if ${PORT_OPTIONS:MGTK3} USE_GNOME= gtk30 GTKVER= 3 PLIST_SUB= GTK2="@comment " GTK3="" .else USE_GNOME= gtk20 GTKVER= 2 PLIST_SUB= GTK2="" GTK3="@comment " .endif PLIST_SUB+= GTKVER="${GTKVER}.0" .if ${PORT_OPTIONS:MNLS} USES+= gettext CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PLIST_SUB+= NLS="" .else PLIST_SUB+= NLS="@comment " .endif .if ${PORT_OPTIONS:MGTK3} post-install: @${LOCALBASE}/bin/gtk-query-immodules-3.0 > \ ${LOCALBASE}/lib/gtk-3.0/${GTK3_VERSION}/immodules.cache .endif .include