aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/mozc-server
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-12-15 00:06:19 +0800
committermat <mat@FreeBSD.org>2016-12-15 00:06:19 +0800
commit09fe311d63181518fddd8b7d771caad7c18fbfa7 (patch)
treedfb8fc1114d777545c03f25c7b98bb916a3a3d79 /japanese/mozc-server
parenta2b877c4fac7ba53875259ed0c83c32dd5be45d7 (diff)
downloadfreebsd-ports-gnome-09fe311d63181518fddd8b7d771caad7c18fbfa7.tar.gz
freebsd-ports-gnome-09fe311d63181518fddd8b7d771caad7c18fbfa7.tar.zst
freebsd-ports-gnome-09fe311d63181518fddd8b7d771caad7c18fbfa7.zip
More USE_GITHUB cleanup.
Use GH_SUBDIR, or GH_TUPLE, where applicable. Sponsored by: Absolight
Diffstat (limited to 'japanese/mozc-server')
-rw-r--r--japanese/mozc-server/Makefile22
-rw-r--r--japanese/mozc-server/distinfo13
2 files changed, 13 insertions, 22 deletions
diff --git a/japanese/mozc-server/Makefile b/japanese/mozc-server/Makefile
index f408dd3b9e00..8f2add862b91 100644
--- a/japanese/mozc-server/Makefile
+++ b/japanese/mozc-server/Makefile
@@ -5,12 +5,6 @@ PORTNAME= mozc
PORTVERSION= 2.17.2322.102
PORTREVISION= 2
CATEGORIES= japanese
-MASTER_SITES= https://codeload.github.com/google/${PORTNAME}/tar.gz/9b4c9e0?dummy=/:main \
- https://codeload.github.com/hiroyuki-komatsu/japanese-usage-dictionary/tar.gz/e5b3425?dummy=/:udic
-DISTFILES= google-${PORTNAME}-9b4c9e0_GH0.tar.gz:main \
- hiroyuki-komatsu-japanese-usage-dictionary-e5b3425.tar.gz:udic
-EXTRACT_ONLY= google-${PORTNAME}-9b4c9e0_GH0.tar.gz \
- hiroyuki-komatsu-japanese-usage-dictionary-e5b3425.tar.gz
MAINTAINER= hrs@FreeBSD.org
COMMENT?= Mozc Japanese Input Method, Server
@@ -25,9 +19,12 @@ LIB_DEPENDS= libprotobuf.so:devel/protobuf \
libzinnia.so:japanese/zinnia
RUN_DEPENDS= xdg-open:devel/xdg-utils
+USE_GITHUB= yes
+GH_TUPLE= google:${PORTNAME}:9b4c9e0 \
+ hiroyuki-komatsu:japanese-usage-dictionary:e5b3425:udic
+
USES= compiler:c++11-lang pkgconfig iconv:wchar_t gmake \
tar:bzip2 python:2.7,build shebangfix
-WRKSRC= ${WRKDIR}/${PORTNAME}-9b4c9e0
SHEBANG_FILES= src/build_mozc.py
BUILD_WRKSRC= ${WRKSRC}/src
@@ -153,7 +150,7 @@ post-extract-mozc_server:
${PYTHON_CMD} ${BUILD_WRKSRC}/dictionary/gen_zip_code_seed.py \
--zip_code=ken_all.csv --jigyosyo=jigyosyo.csv \
>> dictionary09.txt
- ${MV} ${WRKDIR}/japanese-usage-dictionary-e5b3425/usage_dict.txt \
+ ${MV} ${WRKSRC_udic}/usage_dict.txt \
${BUILD_WRKSRC}/third_party/japanese_usage_dictionary
post-extract: post-extract-mozc_server
@@ -259,14 +256,7 @@ do-install-ibus_mozc:
# uim_mozc
.if ${BUILD_MOZC_LIST:Muim_mozc} == "uim_mozc" || make(makesum)
-#USE_GITHUB= yes # XXX
-GH_ACCOUNT= e-kato
-GH_PROJECT= macuim
-GH_TAGNAME= v0.6.16.2.1
-DISTFILES+= ${GH_ACCOUNT}-${GH_PROJECT}-${GH_TAGNAME}_GH0${EXTRACT_SUFX}:gh_uim
-EXTRACT_ONLY+= ${GH_ACCOUNT}-${GH_PROJECT}-${GH_TAGNAME}_GH0${EXTRACT_SUFX}
-MASTER_SITES+= https://codeload.github.com/${GH_ACCOUNT}/${GH_PROJECT}/tar.gz/${GH_TAGNAME}?dummy=/:gh_uim
-WRKSRC_MU= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME:C/^v//}
+GH_TUPLE+= e-kato:macuim:v0.6.16.2.1:MU
LIB_DEPENDS+= libuim.so:textproc/uim
RUN_DEPENDS+= mozc_server:japanese/mozc-server \
diff --git a/japanese/mozc-server/distinfo b/japanese/mozc-server/distinfo
index 839bd8d3508a..1f5abcbc6a02 100644
--- a/japanese/mozc-server/distinfo
+++ b/japanese/mozc-server/distinfo
@@ -1,12 +1,13 @@
-SHA256 (google-mozc-9b4c9e0_GH0.tar.gz) = b7f57c4bfbff9a7e657de4f8213bac2f8d3cc454076463ddc66e32ebcf7bf795
-SIZE (google-mozc-9b4c9e0_GH0.tar.gz) = 57248995
-SHA256 (hiroyuki-komatsu-japanese-usage-dictionary-e5b3425.tar.gz) = 2af954cd844c6a3113449d7dca37e36b769ecb2b49d3a54318a3bdee1a75af56
-SIZE (hiroyuki-komatsu-japanese-usage-dictionary-e5b3425.tar.gz) = 71050
+TIMESTAMP = 1481723411
SHA256 (ken_all-20160428.zip) = dd732957ca98dcad8c68aaa89447d77bd9201f26a19241f2531cb3f4ba2296f0
SIZE (ken_all-20160428.zip) = 1684351
SHA256 (jigyosyo-20160428.zip) = b95ed393343ed85363e8e7e14725af5e0b0586e60289a386fdba288e0e36f040
SIZE (jigyosyo-20160428.zip) = 752471
-SHA256 (e-kato-macuim-v0.6.16.2.1_GH0.tar.bz2) = ae999a2f02379bd049484a22684c37be5eb1f4db9763fa79885c4981502336e9
-SIZE (e-kato-macuim-v0.6.16.2.1_GH0.tar.bz2) = 324549
+SHA256 (google-mozc-2.17.2322.102-9b4c9e0_GH0.tar.gz) = b7f57c4bfbff9a7e657de4f8213bac2f8d3cc454076463ddc66e32ebcf7bf795
+SIZE (google-mozc-2.17.2322.102-9b4c9e0_GH0.tar.gz) = 57248995
+SHA256 (hiroyuki-komatsu-japanese-usage-dictionary-e5b3425_GH0.tar.gz) = 2af954cd844c6a3113449d7dca37e36b769ecb2b49d3a54318a3bdee1a75af56
+SIZE (hiroyuki-komatsu-japanese-usage-dictionary-e5b3425_GH0.tar.gz) = 71050
+SHA256 (e-kato-macuim-v0.6.16.2.1_GH0.tar.gz) = ae999a2f02379bd049484a22684c37be5eb1f4db9763fa79885c4981502336e9
+SIZE (e-kato-macuim-v0.6.16.2.1_GH0.tar.gz) = 324549
SHA256 (fcitx-mozc-2.17.2313.102.1.patch) = 52a7ed450f075eca3f4d468390ef59f9a439e0ac74327639802a7f11caa1a2c2
SIZE (fcitx-mozc-2.17.2313.102.1.patch) = 140531