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

Collapse All | Expand All

(-)b/japanese/skk-tools/Makefile (-26 / +34 lines)
Lines 1-47 Link Here
1
PORTNAME=	skk-tools
1
PORTNAME=	skk-tools
2
PORTVERSION=	1.3.4
2
DISTVERSION=	1.3.4-28
3
PORTEPOCH=	1
3
DISTVERSIONSUFFIX=	-g1e8c457
4
PORTEPOCH=	2
4
CATEGORIES=	japanese
5
CATEGORIES=	japanese
5
MASTER_SITES=	http://openlab.ring.gr.jp/skk/tools/
6
DISTNAME=	skktools-${PORTVERSION}
7
6
8
MAINTAINER=	ports@FreeBSD.org
7
MAINTAINER=	mew14930xvi@inbox.lv
9
COMMENT=	Jisyo-tools for the SKK Japanese-input software
8
COMMENT=	Jisyo-tools for the SKK Japanese-input software
10
WWW=		http://openlab.ring.gr.jp/skk/
9
WWW=		https://github.com/skk-dev/skktools
11
10
12
LICENSE=	GPLv2
11
LICENSE=	GPLv2
12
LICENSE_FILE=	${WRKSRC}/COPYING
13
13
14
GNU_CONFIGURE=	yes
14
USES=		gettext-runtime gnome pkgconfig python shebangfix
15
15
16
DOCSDIR=	${PREFIX}/share/doc/skk
16
USE_GITHUB=	yes
17
GH_ACCOUNT=	skk-dev
18
GH_PROJECT=	skktools
17
19
18
WRKSRC=		${WRKDIR}/skktools-${DISTNAME:S/./_/g}
20
USE_GNOME=	glib20
21
SHEBANG_FILES=	skk2cdb.py
19
22
20
PORTDOCS=	README.skktools
23
GNU_CONFIGURE=	yes
21
PLIST_FILES=	bin/skkdic-count bin/skkdic-expr bin/skkdic-sort
24
CONFIGURE_ARGS=	--with-skkdic-expr2
22
25
23
OPTIONS_DEFINE=		DOCS EXPR2
26
PLIST_FILES=	bin/skkdic-count bin/skkdic-expr bin/skkdic-expr2 \
24
OPTIONS_DEFAULT=	EXPR2
27
		bin/skkdic-sort bin/skk2cdb
28
PORTDOCS=	FAQ.md README.md README.skkdic-expr2.md
25
29
26
EXPR2_DESC=		Build skkdic-expr2 (needs glib-2.x)
30
OPTIONS_DEFINE=		DIFF DOCS
27
EXPR2_USES=		gnome pkgconfig
31
DIFF_DESC=		Install skkdic-diff (lang/gauche dependency)
28
EXPR2_USE=		GNOME=glib20
32
DIFF_RUN_DEPENDS=	gosh:lang/gauche
29
EXPR2_PLIST_FILES=	bin/skkdic-expr2
33
DIFF_PLIST_FILES=	bin/skkdic-diff
30
EXPR2_CONFIGURE_WITH=	skkdic-expr2
31
34
32
.include <bsd.port.options.mk>
35
.include <bsd.port.options.mk>
33
36
34
.if ${PORT_OPTIONS:MEXPR2}
37
.if ${PORT_OPTIONS:MDIFF}
35
PORTDOCS+=	README.skkdic-expr2
38
PORTDOCS+=      README.skkdic-diff.md
39
SHEBANG_FILES+=	skkdic-diff.scm
40
SHEBANG_LANG=	gosh
36
.endif
41
.endif
37
42
38
post-build:
39
	@${LN} -sf README.C ${WRKSRC}/READMEs/README.skktools
40
41
post-install:
43
post-install:
44
	${INSTALL_SCRIPT} ${WRKSRC}/skk2cdb.py ${STAGEDIR}${PREFIX}/bin/skk2cdb
45
46
post-install-DIFF-on:
47
	${INSTALL_SCRIPT} ${WRKSRC}/skkdic-diff.scm \
48
		${STAGEDIR}${PREFIX}/bin/skkdic-diff
49
50
post-install-DOCS-on:
42
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
51
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
43
.for i in ${PORTDOCS}
52
	cd ${WRKSRC}/READMEs && \
44
	(cd ${WRKSRC}/READMEs && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
53
		${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
45
.endfor
46
54
47
.include <bsd.port.mk>
55
.include <bsd.port.mk>
(-)b/japanese/skk-tools/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1709979673
1
TIMESTAMP = 1716072620
2
SHA256 (skktools-1.3.4.tar.gz) = 84cc5d3344362372e0dfe93a84790a193d93730178401a96248961ef161f2168
2
SHA256 (skk-dev-skktools-1.3.4-28-g1e8c457_GH0.tar.gz) = ead6bf5d601370048357d05c37d21b6c6b05be36633c8a02fbfed2be13f1adb7
3
SIZE (skktools-1.3.4.tar.gz) = 482860
3
SIZE (skk-dev-skktools-1.3.4-28-g1e8c457_GH0.tar.gz) = 498683
(-)b/japanese/skk-tools/pkg-descr (-2 lines)
Lines 1-5 Link Here
1
This package includes jisyo(conversion dictionary) management tools for
1
This package includes jisyo(conversion dictionary) management tools for
2
the SKK(Simple Kana Kanji Convertor), a very fast and efficient Japanese
2
the SKK(Simple Kana Kanji Convertor), a very fast and efficient Japanese
3
input method system.
3
input method system.
4
5
Read ${PREFIX}/share/doc/skk/README.skktools for more detail.

Return to bug 279172