From owner-svn-ports-all@freebsd.org Wed Sep 9 18:21:07 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4C16DA01D39; Wed, 9 Sep 2015 18:21:07 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2506A149D; Wed, 9 Sep 2015 18:21:07 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t89IL7db028062; Wed, 9 Sep 2015 18:21:07 GMT (envelope-from jkim@FreeBSD.org) Received: (from jkim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t89IL6jB028060; Wed, 9 Sep 2015 18:21:06 GMT (envelope-from jkim@FreeBSD.org) Message-Id: <201509091821.t89IL6jB028060@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jkim set sender to jkim@FreeBSD.org using -f From: Jung-uk Kim Date: Wed, 9 Sep 2015 18:21:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r396526 - head/korean/imhangul X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2015 18:21:07 -0000 Author: jkim Date: Wed Sep 9 18:21:06 2015 New Revision: 396526 URL: https://svnweb.freebsd.org/changeset/ports/396526 Log: Strip binary and modernize the port. Modified: head/korean/imhangul/Makefile head/korean/imhangul/pkg-plist Modified: head/korean/imhangul/Makefile ============================================================================== --- head/korean/imhangul/Makefile Wed Sep 9 18:17:25 2015 (r396525) +++ head/korean/imhangul/Makefile Wed Sep 9 18:21:06 2015 (r396526) @@ -3,7 +3,7 @@ PORTNAME= imhangul PORTVERSION= ${GTKVER}.1.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= korean MASTER_SITES= GOOGLE_CODE @@ -15,30 +15,19 @@ LICENSE= GPLv2 LIB_DEPENDS= libhangul.so:${PORTSDIR}/korean/libhangul GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip +PLIST_SUB= GTKVER=${GTKVER}.0 +USE_GNOME= gtk${GTKVER}0 USES= gmake libtool pkgconfig tar:bzip2 OPTIONS_DEFINE= GTK3 NLS +OPTIONS_SUB= yes -.include +GTK3_VARS= GTKVER=3 +GTK3_VARS_OFF= GTKVER=2 -.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 +NLS_CPPFLAGS= -I${LOCALBASE}/include +NLS_LDFLAGS= -L${LOCALBASE}/lib +NLS_USES= gettext .include Modified: head/korean/imhangul/pkg-plist ============================================================================== --- head/korean/imhangul/pkg-plist Wed Sep 9 18:17:25 2015 (r396525) +++ head/korean/imhangul/pkg-plist Wed Sep 9 18:21:06 2015 (r396526) @@ -1,7 +1,5 @@ lib/gtk-%%GTKVER%%/immodules/im-hangul.so -%%GTK2%%%%NLS%%share/locale/ko/LC_MESSAGES/im-hangul.mo -%%GTK2%%@exec %D/bin/gtk-query-immodules-2.0 --update-cache -%%GTK2%%@unexec %D/bin/gtk-query-immodules-2.0 --update-cache -%%GTK3%%%%NLS%%share/locale/ko/LC_MESSAGES/im-hangul-3.0.mo -%%GTK3%%@exec %D/bin/gtk-query-immodules-3.0 --update-cache -%%GTK3%%@unexec %D/bin/gtk-query-immodules-3.0 --update-cache +%%NO_GTK3%%%%NLS%%share/locale/ko/LC_MESSAGES/im-hangul.mo +%%GTK3%%%%NLS%%share/locale/ko/LC_MESSAGES/im-hangul-%%GTKVER%%.mo +@exec %D/bin/gtk-query-immodules-%%GTKVER%% --update-cache +@unexec %D/bin/gtk-query-immodules-%%GTKVER%% --update-cache