summaryrefslogtreecommitdiff
path: root/inputmethod/ibus-rime
diff options
context:
space:
mode:
authorobache <obache>2014-12-04 12:59:26 +0000
committerobache <obache>2014-12-04 12:59:26 +0000
commitdda26d3b1ef337ca63b50156f8e47449aa8f7408 (patch)
tree9f347aecc7fa06dd7da3b27310087ff7b755e6a4 /inputmethod/ibus-rime
parente2f358aca0b934073024e334b7f455be0b24b33f (diff)
downloadpkgsrc-dda26d3b1ef337ca63b50156f8e47449aa8f7408.tar.gz
Import ibus-rime-1.0 as inputmethod/ibus-rime.
ibus-rime: Rime Input Method Engine for Linux/IBus
Diffstat (limited to 'inputmethod/ibus-rime')
-rw-r--r--inputmethod/ibus-rime/DESCR1
-rw-r--r--inputmethod/ibus-rime/Makefile34
-rw-r--r--inputmethod/ibus-rime/PLIST4
-rw-r--r--inputmethod/ibus-rime/distinfo5
4 files changed, 44 insertions, 0 deletions
diff --git a/inputmethod/ibus-rime/DESCR b/inputmethod/ibus-rime/DESCR
new file mode 100644
index 00000000000..656b300efd1
--- /dev/null
+++ b/inputmethod/ibus-rime/DESCR
@@ -0,0 +1 @@
+ibus-rime: Rime Input Method Engine for Linux/IBus
diff --git a/inputmethod/ibus-rime/Makefile b/inputmethod/ibus-rime/Makefile
new file mode 100644
index 00000000000..cbe59293d60
--- /dev/null
+++ b/inputmethod/ibus-rime/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 2014/12/04 12:59:26 obache Exp $
+
+DISTNAME= ibus-rime-1.0
+CATEGORIES= inputmethod chinese
+MASTER_SITES= http://rimeime.googlecode.com/files/
+
+MAINTAINER= obache@NetBSD.org
+HOMEPAGE= http://code.google.com/p/rimeime/
+COMMENT= Rime Input Method Engine for Linux/IBus
+LICENSE= gnu-gpl-v3
+
+DEPENDS+= brise>=0.30:../../inputmethod/brise
+
+WRKSRC= ${WRKDIR}/ibus-rime
+USE_CMAKE= yes
+USE_LANGUAGES= c c++
+USE_TOOLS+= pkg-config
+
+INSTALLATION_DIRS+= share/ibus/component lib/ibus-rime share/ibus-rime/icons
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ibus-engine-rime ${DESTDIR}${PREFIX}/lib/ibus-rime/
+ ${INSTALL_DATA} ${WRKSRC}/rime.xml ${DESTDIR}${PREFIX}/share/ibus/component/
+ ${INSTALL_DATA} ${WRKSRC}/rime.png ${DESTDIR}${PREFIX}/share/ibus-rime/icons/
+
+SUBST_CLASSES+= prefix
+SUBST_STAGE.prefix= post-configure
+SUBST_FILES.prefix= rime.xml
+SUBST_SED.prefix= -e 's,/usr/,${PREFIX}/,g'
+
+.include "../../inputmethod/librime/buildlink3.mk"
+.include "../../inputmethod/ibus/buildlink3.mk"
+.include "../../sysutils/libnotify/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/inputmethod/ibus-rime/PLIST b/inputmethod/ibus-rime/PLIST
new file mode 100644
index 00000000000..ff9498fc3f4
--- /dev/null
+++ b/inputmethod/ibus-rime/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2014/12/04 12:59:26 obache Exp $
+lib/ibus-rime/ibus-engine-rime
+share/ibus-rime/icons/rime.png
+share/ibus/component/rime.xml
diff --git a/inputmethod/ibus-rime/distinfo b/inputmethod/ibus-rime/distinfo
new file mode 100644
index 00000000000..059d16daa4d
--- /dev/null
+++ b/inputmethod/ibus-rime/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/12/04 12:59:26 obache Exp $
+
+SHA1 (ibus-rime-1.0.tar.gz) = 0a137d833ff8dfe89d39b1a93cdfa4f852af5dbd
+RMD160 (ibus-rime-1.0.tar.gz) = 435ab634d49af2cb2470e72d38fa0fe61421ba1a
+Size (ibus-rime-1.0.tar.gz) = 23325 bytes