Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Mar 2015 17:48:30 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r381290 - head/chinese/ibus-chewing
Message-ID:  <201503141748.t2EHmU5l093663@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Mar 14 17:48:29 2015
New Revision: 381290
URL: https://svnweb.freebsd.org/changeset/ports/381290
QAT: https://qat.redports.org/buildarchive/r381290/

Log:
  - Update to 1.4.14
  - While I'm here:
    - Use = instead of +=
    - Remove PROJECTHOST
    - Sort PLIST
    - Update WWW
  
  Changes:	https://github.com/definite/ibus-chewing/blob/master/ChangeLog
  PR:		198577
  Submitted by:	Ting-Wei Lan <lantw44@gmail.com>
  Approved by:	Eric Camachat <eric@camachat.org> (maintainer)

Modified:
  head/chinese/ibus-chewing/Makefile
  head/chinese/ibus-chewing/distinfo
  head/chinese/ibus-chewing/pkg-descr
  head/chinese/ibus-chewing/pkg-plist

Modified: head/chinese/ibus-chewing/Makefile
==============================================================================
--- head/chinese/ibus-chewing/Makefile	Sat Mar 14 17:41:29 2015	(r381289)
+++ head/chinese/ibus-chewing/Makefile	Sat Mar 14 17:48:29 2015	(r381290)
@@ -2,10 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	ibus-chewing
-PORTVERSION=	1.4.3
-PORTREVISION=	2
+PORTVERSION=	1.4.14
 CATEGORIES=	chinese
-MASTER_SITES=	GOOGLE_CODE
+MASTER_SITES=	GHR
 DISTNAME=	${PORTNAME}-${PORTVERSION}-Source
 
 MAINTAINER=	eric@camachat.org
@@ -14,20 +13,31 @@ COMMENT=	Chewing engine for IBus
 LICENSE=	GPLv2
 
 BUILD_DEPENDS=	gob2:${PORTSDIR}/devel/gob2 \
-		${LOCALBASE}/share/cmake/Modules/ManageEnvironment.cmake:${PORTSDIR}/devel/cmake-fedora \
+		${LOCALBASE}/share/cmake/Modules/ManageEnvironmentCommon.cmake:${PORTSDIR}/devel/cmake-fedora \
 		ibus-daemon:${PORTSDIR}/textproc/ibus
-RUN_DEPENDS=	ibus-daemon:${PORTSDIR}/textproc/ibus
 LIB_DEPENDS=	libchewing.so:${PORTSDIR}/chinese/libchewing
+RUN_DEPENDS=	ibus-daemon:${PORTSDIR}/textproc/ibus
 
-CMAKE_ARGS+=	-DSYSCONF_INSTALL_DIR=${PREFIX}/etc \
+CMAKE_ARGS=	-DSYSCONF_INSTALL_DIR=${PREFIX}/etc \
 		-DLIB_DIR=${PREFIX}/lib
-GCONF_SCHEMAS=	${PORTNAME}.schemas
+LDFLAGS+=	-L${LOCALBASE}/lib
+GLIB_SCHEMAS=	org.freedesktop.IBus.Chewing.gschema.xml
 USES=		cmake gettext pkgconfig
-USE_GNOME=	gconf2 gtk20
+USE_GNOME=	gtk20
 USE_XORG=	xtst
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+PLIST_SUB=	PORTVERSION=${PORTVERSION}
 
-PROJECTHOST=	ibus
+USE_GITHUB=	yes
+GH_ACCOUNT=	definite
 
-PLIST_SUB+=	PORTVERSION=${PORTVERSION}
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|$${CHEWING_DATADIR}|$${CHEWING_chewing_DATADIR}|' \
+		${WRKSRC}/CMakeLists.txt
+	@${REINPLACE_CMD} -e \
+		's|/usr|${PREFIX}|' \
+		${WRKSRC}/data/ibus-setup-chewing.desktop
 
 .include <bsd.port.mk>

Modified: head/chinese/ibus-chewing/distinfo
==============================================================================
--- head/chinese/ibus-chewing/distinfo	Sat Mar 14 17:41:29 2015	(r381289)
+++ head/chinese/ibus-chewing/distinfo	Sat Mar 14 17:48:29 2015	(r381290)
@@ -1,2 +1,2 @@
-SHA256 (ibus-chewing-1.4.3-Source.tar.gz) = 3780fa780e8288934b35e4c321429ec6096273ebccff1511d801eb19398098af
-SIZE (ibus-chewing-1.4.3-Source.tar.gz) = 84023
+SHA256 (ibus-chewing-1.4.14-Source.tar.gz) = a3f4ad50b3e3216a6074f66f52400d9b9527f799b3449dfdd3143c7e8e4a2691
+SIZE (ibus-chewing-1.4.14-Source.tar.gz) = 91669

Modified: head/chinese/ibus-chewing/pkg-descr
==============================================================================
--- head/chinese/ibus-chewing/pkg-descr	Sat Mar 14 17:41:29 2015	(r381289)
+++ head/chinese/ibus-chewing/pkg-descr	Sat Mar 14 17:48:29 2015	(r381290)
@@ -1,3 +1,3 @@
 Chewing engine for IBus.
 
-WWW: http://code.google.com/p/ibus
+WWW: https://github.com/definite/ibus-chewing

Modified: head/chinese/ibus-chewing/pkg-plist
==============================================================================
--- head/chinese/ibus-chewing/pkg-plist	Sat Mar 14 17:41:29 2015	(r381289)
+++ head/chinese/ibus-chewing/pkg-plist	Sat Mar 14 17:48:29 2015	(r381290)
@@ -1,13 +1,23 @@
-lib/ibus-engine-chewing
-%%DOCSDIR%%-%%PORTVERSION%%/AUTHORS
-%%DOCSDIR%%-%%PORTVERSION%%/COPYING
-%%DOCSDIR%%-%%PORTVERSION%%/ChangeLog
-%%DOCSDIR%%-%%PORTVERSION%%/README
-%%DOCSDIR%%-%%PORTVERSION%%/RELEASE-NOTES.txt
-%%DOCSDIR%%-%%PORTVERSION%%/USER-GUIDE
+libexec/ibus-engine-chewing
+libexec/ibus-setup-chewing
+share/applications/ibus-setup-chewing.desktop
+%%DOCSDIR%%/AUTHORS
+%%DOCSDIR%%/COPYING
+%%DOCSDIR%%/ChangeLog
+%%DOCSDIR%%/README
+%%DOCSDIR%%/USER-GUIDE
 %%DATADIR%%/icons/ibus-chewing-orig.png
 %%DATADIR%%/icons/ibus-chewing.png
-%%DATADIR%%/icons/settings.png
+%%DATADIR%%/icons/ibus-setup-chewing.png
 share/ibus/component/chewing.xml
+share/locale/de/LC_MESSAGES/ibus-chewing.mo
+share/locale/es/LC_MESSAGES/ibus-chewing.mo
+share/locale/fr/LC_MESSAGES/ibus-chewing.mo
+share/locale/it/LC_MESSAGES/ibus-chewing.mo
+share/locale/ja/LC_MESSAGES/ibus-chewing.mo
+share/locale/ko/LC_MESSAGES/ibus-chewing.mo
+share/locale/pa/LC_MESSAGES/ibus-chewing.mo
+share/locale/pt_BR/LC_MESSAGES/ibus-chewing.mo
+share/locale/uk/LC_MESSAGES/ibus-chewing.mo
 share/locale/zh_CN/LC_MESSAGES/ibus-chewing.mo
 share/locale/zh_TW/LC_MESSAGES/ibus-chewing.mo



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