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

Collapse All | Expand All

(-)b/japanese/skk-tools/Makefile (-23 / +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=	ports@FreeBSD.org
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
15
15
USE_GNOME=	glib20
16
DOCSDIR=	${PREFIX}/share/doc/skk
17
16
18
WRKSRC=		${WRKDIR}/skktools-${DISTNAME:S/./_/g}
17
USE_GITHUB=	yes
18
GH_ACCOUNT=	skk-dev
19
GH_PROJECT=	skktools
19
20
20
PORTDOCS=	README.skktools
21
GNU_CONFIGURE=	yes
21
PLIST_FILES=	bin/skkdic-count bin/skkdic-expr bin/skkdic-sort
22
CONFIGURE_ARGS=	--with-skkdic-expr2
22
23
23
OPTIONS_DEFINE=		DOCS EXPR2
24
PLIST_FILES=	bin/skkdic-count bin/skkdic-expr bin/skkdic-expr2 \
24
OPTIONS_DEFAULT=	EXPR2
25
		bin/skkdic-sort bin/skk2cdb
26
PORTDOCS=	FAQ.md README.md README.skkdic-expr2.md
25
27
26
EXPR2_DESC=		Build skkdic-expr2 (needs glib-2.x)
28
OPTIONS_DEFINE=		DIFF DOCS
27
EXPR2_USES=		gnome pkgconfig
29
DIFF_DESC=		Install skkdic-diff (lang/gauche dependency)
28
EXPR2_USE=		GNOME=glib20
30
DIFF_RUN_DEPENDS=	gosh:lang/gauche
29
EXPR2_PLIST_FILES=	bin/skkdic-expr2
31
DIFF_PLIST_FILES=	bin/skkdic-diff
30
EXPR2_CONFIGURE_WITH=	skkdic-expr2
31
32
32
.include <bsd.port.options.mk>
33
.include <bsd.port.options.mk>
33
34
34
.if ${PORT_OPTIONS:MEXPR2}
35
.if ${PORT_OPTIONS:MDIFF}
35
PORTDOCS+=	README.skkdic-expr2
36
PORTDOCS+=      README.skkdic-diff.md
36
.endif
37
.endif
37
38
38
post-build:
39
post-extract:
39
	@${LN} -sf README.C ${WRKSRC}/READMEs/README.skktools
40
	@${REINPLACE_CMD} -e "s|python3|${PYTHON_VERSION}|" ${WRKSRC}/skk2cdb.py
41
42
post-extract-DIFF-on:
43
	@${REINPLACE_CMD} -e 's|gosh|env gosh|' ${WRKSRC}/skkdic-diff.scm
40
44
41
post-install:
45
post-install:
46
	${INSTALL_SCRIPT} ${WRKSRC}/skk2cdb.py ${STAGEDIR}${PREFIX}/bin/skk2cdb
47
48
post-install-DIFF-on:
49
	${INSTALL_SCRIPT} ${WRKSRC}/skkdic-diff.scm \
50
		${STAGEDIR}${PREFIX}/bin/skkdic-diff
51
52
post-install-DOCS-on:
42
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
53
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
43
.for i in ${PORTDOCS}
54
.for i in ${PORTDOCS}
44
	(cd ${WRKSRC}/READMEs && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
55
	${INSTALL_DATA} ${WRKSRC}/READMEs/${i} ${STAGEDIR}${DOCSDIR}
45
.endfor
56
.endfor
46
57
47
.include <bsd.port.mk>
58
.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