View | Details | Raw Unified | Return to bug 278808 | Differences between
and this patch

Collapse All | Expand All

(-)b/japanese/skk-jawiki/Makefile (+41 lines)
Added Link Here
1
PORTNAME=	skk-jawiki
2
DISTVERSION=	g20240216
3
CATEGORIES=	japanese
4
5
MAINTAINER=	mew14930xvi@inbox.lv
6
COMMENT=	SKK dictionary from Wikipedia (Japanese edition)
7
WWW=		https://github.com/tokuhirom/jawiki-kana-kanji-dict
8
9
LICENSE=	MIT
10
11
BUILD_DEPENDS=	${LOCALBASE}/bin/cdb:databases/tinycdb \
12
		${LOCALBASE}/bin/nkf:japanese/nkf
13
14
USE_GITHUB=	yes
15
GH_ACCOUNT=	tokuhirom
16
GH_PROJECT=	jawiki-kana-kanji-dict
17
GH_TAGNAME=	0e0fb52
18
NO_ARCH=	yes
19
20
SKKDIR=		share/skk
21
SKKDIC=		SKK-JISYO.jawiki
22
23
PLIST_FILES=	${SKKDIR}/${SKKDIC} ${SKKDIR}/${SKKDIC}.utf8 \
24
		${SKKDIR}/${SKKDIC}.cdb
25
26
do-build:
27
	${LOCALBASE}/bin/nkf -e --overwrite=.utf8 ${WRKSRC}/${SKKDIC}
28
	${AWK} '/^[^;]/ { \
29
			s = substr($$0, index($$0, " ") + 1); \
30
			print "+" length($$1) "," length(s) ":" $$1 "->" s; \
31
		} \
32
		END { \
33
			print ""; \
34
		}' < ${WRKSRC}/${SKKDIC} | \
35
	${LOCALBASE}/bin/cdb -c -t - ${WRKSRC}/${SKKDIC}.cdb
36
37
do-install:
38
	${MKDIR} ${STAGEDIR}${PREFIX}/${SKKDIR}
39
	${INSTALL_DATA} ${WRKSRC}/${SKKDIC}* ${STAGEDIR}${PREFIX}/${SKKDIR}
40
41
.include <bsd.port.mk>
(-)b/japanese/skk-jawiki/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1714874708
2
SHA256 (tokuhirom-jawiki-kana-kanji-dict-g20240216-0e0fb52_GH0.tar.gz) = 48a76230bb9d8de55b8cd7babe8492f683091502ae71358aea794a79f3dbec88
3
SIZE (tokuhirom-jawiki-kana-kanji-dict-g20240216-0e0fb52_GH0.tar.gz) = 28381527
(-)b/japanese/skk-jawiki/pkg-descr (+3 lines)
Added Link Here
1
SKK (Simple Kana Kanji Convertor) is a very fast and efficient Japanese
2
input method system, written in emacs-lisp.
3
This package provides dictionary from Wikipedia (Japanese edition).

Return to bug 278808