japanese/ibus-skk: Update 1.4.1 -> 1.4.3

Port changes:
* Add LICENSE/LICENSE_FILE
* Add to RUN_DEPENDS
* Add USE_GNOME
* Add BUILD_DEPENDS for vala
* Update the 'preferences' patch

PR:		227283
Submitted by:	Ryo ONODERA <ryo@tetera.org>
This commit is contained in:
Yuri Victorovich 2018-06-23 17:32:36 +00:00
parent da3ace7dba
commit 51c264bab7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=473145
3 changed files with 19 additions and 13 deletions

View File

@ -2,31 +2,35 @@
# $FreeBSD$
PORTNAME= ibus-skk
PORTVERSION= 1.4.1
PORTREVISION= 4
DISTVERSIONPREFIX= ibus-skk-
DISTVERSION= 1.4.3
CATEGORIES= japanese
MASTER_SITES= GHC
MAINTAINER= ports@FreeBSD.org
COMMENT= Japanese SKK input engine for IBus
RUN_DEPENDS= ${LOCALBASE}/share/skk/SKK-JISYO.L:japanese/skk-jisyo
LIB_DEPENDS= libskk.so:japanese/libskk \
libibus-1.0.so:textproc/ibus
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gettext gmake pkgconfig python
USE_GNOME= intltool
BUILD_DEPENDS= valac:lang/vala
RUN_DEPENDS= ${LOCALBASE}/share/skk/SKK-JISYO.L:japanese/skk-jisyo
LIB_DEPENDS= libgee-0.8.so:devel/libgee \
libibus-1.0.so:textproc/ibus \
libskk.so:japanese/libskk
USES= autoreconf gettext gmake libtool pkgconfig python
GNU_CONFIGURE= yes
CONFIGURE_ENV= DATADIRNAME=share
USE_GITHUB= yes
GH_ACCOUNT= ueno
GNU_CONFIGURE= yes
CONFIGURE_ENV+= DATADIRNAME=share
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 intltool pango
CPPFLAGS+= -I${LOCALBASE}/include
OPTIONS_DEFINE= NLS
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share/skk/SKK-JISYO.L|${LOCALBASE}/share/skk/SKK-JISYO.L|' ${WRKSRC}/src/preferences.c
@${REINPLACE_CMD} -e 's|/usr/share/skk/SKK-JISYO.L|${LOCALBASE}/share/skk/SKK-JISYO.L|' ${WRKSRC}/src/preferences.vala
.include <bsd.port.pre.mk>

View File

@ -1,2 +1,3 @@
SHA256 (ibus-skk-1.4.1.tar.gz) = 368b114a07f03d5d91cf333215f9429995efbbea73ee7efe2e37fb3bbc6d81de
SIZE (ibus-skk-1.4.1.tar.gz) = 478018
TIMESTAMP = 1522997396
SHA256 (ueno-ibus-skk-ibus-skk-1.4.3_GH0.tar.gz) = a5eb5fd47072dc4854a241bfa3d2394723839aea3a3474ac66fff59171e91e09
SIZE (ueno-ibus-skk-ibus-skk-1.4.3_GH0.tar.gz) = 54844

View File

@ -3,4 +3,5 @@ libexec/ibus-setup-skk
%%NLS%%share/locale/ja/LC_MESSAGES/ibus-skk.mo
%%DATADIR%%/setup/ibus-skk-preferences.ui
%%DATADIR%%/icons/ibus-skk.svg
share/applications/ibus-setup-skk.desktop
share/ibus/component/skk.xml