Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2012 03:08:57 +0000 (UTC)
From:      "Vanilla I. Shu"  <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r300919 - in head/chinese/gcin: . files
Message-ID:  <201207160308.q6G38vuD098338@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Mon Jul 16 03:08:56 2012
New Revision: 300919
URL: http://svn.freebsd.org/changeset/ports/300919

Log:
  Upgrade to 2.7.8, and make portlint happy.

Deleted:
  head/chinese/gcin/files/patch-gcin-exit.cpp
  head/chinese/gcin/files/patch-pho-play.cpp
Modified:
  head/chinese/gcin/Makefile
  head/chinese/gcin/distinfo
  head/chinese/gcin/pkg-plist

Modified: head/chinese/gcin/Makefile
==============================================================================
--- head/chinese/gcin/Makefile	Mon Jul 16 02:56:57 2012	(r300918)
+++ head/chinese/gcin/Makefile	Mon Jul 16 03:08:56 2012	(r300919)
@@ -6,8 +6,8 @@
 #
 
 PORTNAME=	gcin
-PORTVERSION=	2.7.6.1
-PORTREVISION=	1
+PORTVERSION=	2.7.8
+PORTREVISION=	0
 CATEGORIES=	chinese textproc gnome
 MASTER_SITES=	http://www.csie.nctu.edu.tw/~cp76/gcin/download/:main
 DISTFILES=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:main
@@ -26,9 +26,10 @@ USE_GMAKE=	YES
 USE_XORG=	x11 xtst xext
 INSTALLS_ICONS=	YES
 USE_LDCONFIG=	YES
-OPTIONS=	ANTHY		"enable Japanese anthy IM module" off \
-		CHEWING		"enable Chewing IM module" off \
-		QT_IM_MODULE	"enable QT IM module" off
+OPTIONS_DEFINE=	ANTHY CHEWING QT_IM_MODULE
+ANTHY_DESC=	Japanese anthy IM module
+CHEWING_DESC=	Chewing IM module
+QT_IM_MODULE_DESC=	QT IM module
 
 MAN1=		gcin.1 gcin-exit.1 gcin2tab.1 gcin-gb-toggle.1 gcin-kbm-toggle.1 \
 		gcin-message.1 gcin-tools.1 gtab-merge.1 juyin-learn.1 \
@@ -37,7 +38,7 @@ MAN1=		gcin.1 gcin-exit.1 gcin2tab.1 gci
 
 .include <bsd.port.options.mk>
 
-.if defined(WITH_QT_IM_MODULE)
+.if ${PORT_OPTIONS:MQT_IM_MODULE}
 USE_QT4=	inputmethods qmake_build moc_build corelib gui
 LIB_DEPENDS+=	mng:${PORTSDIR}/graphics/libmng
 PLIST_SUB+=	QT_IM_MODULE=""
@@ -52,18 +53,18 @@ PLIST_SUB+=	QT_IM_MODULE="@comment "
 BROKEN=		does not compile
 .endif
 
-.if defined(WITH_ANTHY)
+.if ${PORT_OPTIONS:MANTHY}
 BUILD_DEPENDS+=	${LOCALBASE}/include/anthy/anthy.h:${PORTSDIR}/japanese/anthy
-LIB_DEPENDS+=	anthy.1:${PORTSDIR}/japanese/anthy
+LIB_DEPENDS+=	anthy:${PORTSDIR}/japanese/anthy
 PLIST_SUB+=	ANTHY_MODULE=""
 .else
 CONFIGURE_ARGS+=	--use_anthy=N
 PLIST_SUB+=	ANTHY_MODULE="@comment "
 .endif
 
-.if defined(WITH_CHEWING)
+.if ${PORT_OPTIONS:MCHEWING}
 BUILD_DEPENDS+=	${LOCALBASE}/include/chewing/chewing.h:${PORTSDIR}/chinese/libchewing
-LIB_DEPENDS+=	chewing.3:${PORTSDIR}/chinese/libchewing
+LIB_DEPENDS+=	chewing:${PORTSDIR}/chinese/libchewing
 PLIST_SUB+=	CHEWING_MODULE=""
 .else
 CONFIGURE_ARGS+=	--use_chewing=N

Modified: head/chinese/gcin/distinfo
==============================================================================
--- head/chinese/gcin/distinfo	Mon Jul 16 02:56:57 2012	(r300918)
+++ head/chinese/gcin/distinfo	Mon Jul 16 03:08:56 2012	(r300919)
@@ -1,2 +1,2 @@
-SHA256 (gcin-2.7.6.1.tar.xz) = a682d8c602bba178329b1992b1e82c9dff596dd1d36fb1e9030956aab2106795
-SIZE (gcin-2.7.6.1.tar.xz) = 3041956
+SHA256 (gcin-2.7.8.tar.xz) = 708411e5d74aff8d40e338c27b6c008c47abf79c6c2f37b4f8b02308bb28392e
+SIZE (gcin-2.7.8.tar.xz) = 3705868

Modified: head/chinese/gcin/pkg-plist
==============================================================================
--- head/chinese/gcin/pkg-plist	Mon Jul 16 02:56:57 2012	(r300918)
+++ head/chinese/gcin/pkg-plist	Mon Jul 16 03:08:56 2012	(r300919)
@@ -17,6 +17,7 @@ bin/tsa2d32
 bin/tsd2a32
 bin/tsin2gtab-phrase
 bin/tslearn
+bin/txt2gtab-phrase
 lib/gtk-2.0/immodules/im-gcin.so
 %%QT_IM_MODULE%%lib/qt4/plugins/inputmethods/im-gcin.so
 %%ANTHY_MODULE%%lib/gcin/anthy-module.so
@@ -50,6 +51,7 @@ lib/gcin/libgcin-im-client.so.1
 %%DATADIR%%/table/greek.gtab
 %%DATADIR%%/table/gtab.list
 %%DATADIR%%/table/hangul.gtab
+%%DATADIR%%/table/hangul-phrase.txt
 %%DATADIR%%/table/hsu.kbm
 %%DATADIR%%/table/ibm.kbm
 %%DATADIR%%/table/jyutping.gtab



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207160308.q6G38vuD098338>