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

Collapse All | Expand All

(-)b/japanese/skk-tools/Makefile (-25 / +37 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
PKGNAMEPREFIX=	ja-
6
DISTNAME=	skktools-${PORTVERSION}
7
7
8
MAINTAINER=	ports@FreeBSD.org
8
MAINTAINER=	mew14930xvi@inbox.lv
9
COMMENT=	Jisyo-tools for the SKK Japanese-input software
9
COMMENT=	Jisyo-tools for the SKK Japanese-input software
10
WWW=		http://openlab.ring.gr.jp/skk/
10
WWW=		https://github.com/skk-dev/skktools
11
11
12
LICENSE=	GPLv2
12
LICENSE=	GPLv2
13
LICENSE_FILE=	${WRKSRC}/COPYING
13
14
14
GNU_CONFIGURE=	yes
15
USES=		gettext-runtime gnome pkgconfig python shebangfix
15
16
16
DOCSDIR=	${PREFIX}/share/doc/skk
17
USE_GITHUB=	yes
18
GH_ACCOUNT=	skk-dev
19
GH_PROJECT=	skktools
17
20
18
WRKSRC=		${WRKDIR}/skktools-${DISTNAME:S/./_/g}
21
USE_GNOME=	glib20
22
SHEBANG_FILES=	skk2cdb.py
19
23
20
PORTDOCS=	README.skktools
24
GNU_CONFIGURE=	yes
21
PLIST_FILES=	bin/skkdic-count bin/skkdic-expr bin/skkdic-sort
25
CONFIGURE_ARGS=	--with-skkdic-expr2
22
26
23
OPTIONS_DEFINE=		DOCS EXPR2
27
PLIST_FILES=	bin/skkdic-count bin/skkdic-expr bin/skkdic-expr2 \
24
OPTIONS_DEFAULT=	EXPR2
28
		bin/skkdic-sort bin/skk2cdb
29
PORTDOCS=	FAQ.md README.md README.skkdic-expr2.md
25
30
26
EXPR2_DESC=		Build skkdic-expr2 (needs glib-2.x)
31
OPTIONS_DEFINE=		DIFF DOCS
27
EXPR2_USES=		gnome pkgconfig
32
DIFF_DESC=		Install skkdic-diff (lang/gauche dependency)
28
EXPR2_USE=		GNOME=glib20
33
DIFF_RUN_DEPENDS=	gosh:lang/gauche
29
EXPR2_PLIST_FILES=	bin/skkdic-expr2
34
DIFF_PLIST_FILES=	bin/skkdic-diff
30
EXPR2_CONFIGURE_WITH=	skkdic-expr2
31
35
32
.include <bsd.port.options.mk>
36
.include <bsd.port.options.mk>
33
37
34
.if ${PORT_OPTIONS:MEXPR2}
38
.if ${PORT_OPTIONS:MDIFF}
35
PORTDOCS+=	README.skkdic-expr2
39
PORTDOCS+=      README.skkdic-diff.md
40
SHEBANG_FILES+=	skkdic-diff.scm
41
SHEBANG_LANG=	gosh
36
.endif
42
.endif
37
43
38
post-build:
44
post-extract:
39
	@${LN} -sf README.C ${WRKSRC}/READMEs/README.skktools
45
	@${REINPLACE_CMD} -e 's|skk2cdb.py|skk2cdb|' ${WRKSRC}/skk2cdb.py
40
46
41
post-install:
47
post-install:
48
	${INSTALL_SCRIPT} ${WRKSRC}/skk2cdb.py ${STAGEDIR}${PREFIX}/bin/skk2cdb
49
50
post-install-DIFF-on:
51
	${INSTALL_SCRIPT} ${WRKSRC}/skkdic-diff.scm \
52
		${STAGEDIR}${PREFIX}/bin/skkdic-diff
53
54
post-install-DOCS-on:
42
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
55
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
43
.for i in ${PORTDOCS}
56
	cd ${WRKSRC}/READMEs && \
44
	(cd ${WRKSRC}/READMEs && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
57
		${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
45
.endfor
46
58
47
.include <bsd.port.mk>
59
.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