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

Collapse All | Expand All

(-)japanese/font-ricty/Makefile (-8 / +4 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	ricty
4
PORTNAME=	ricty
5
PORTVERSION=	3.2.3
5
PORTVERSION=	3.2.4
6
CATEGORIES=	japanese x11-fonts
6
CATEGORIES=	japanese x11-fonts
7
PKGNAMEPREFIX=	ja-font-
7
PKGNAMEPREFIX=	ja-font-
8
8
Lines 17-25 BUILD_DEPENDS= ${LOCALBASE}/${X_FONTSDIR}/OTF/Inconsolata.otf:${PORTSDIR}/x11-fo Link Here
17
17
18
USE_GITHUB=	yes
18
USE_GITHUB=	yes
19
GH_ACCOUNT=	yascentur
19
GH_ACCOUNT=	yascentur
20
GH_COMMIT=	${GH_TAGNAME}
21
GH_PROJECT=	Ricty
20
GH_PROJECT=	Ricty
22
GH_TAGNAME=	0fd7047
21
GH_TAGNAME=	${PORTVERSION}
22
GH_COMMIT=	c22daa9
23
23
24
NO_PACKAGE=	redistribution is not allowed
24
NO_PACKAGE=	redistribution is not allowed
25
PKGINSTALL=	${WRKDIR}/pkg-install
25
PKGINSTALL=	${WRKDIR}/pkg-install
Lines 54-60 RUN_DEPENDS+= ${DATADIR}/RictyDiscord-Regular.ttf:${PORTSDIR}/japanese/font-rict Link Here
54
.endif
54
.endif
55
55
56
do-build:
56
do-build:
57
	cd ${WRKSRC} &&\
57
	cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
58
		${SH} ${WRKSRC}/ricty_generator.sh \
58
		${SH} ${WRKSRC}/ricty_generator.sh \
59
			${PREFIX}/${X_FONTSDIR}/OTF/Inconsolata.otf \
59
			${PREFIX}/${X_FONTSDIR}/OTF/Inconsolata.otf \
60
			${PREFIX}/${X_FONTSDIR}/TTF/migu-1m-regular.ttf \
60
			${PREFIX}/${X_FONTSDIR}/TTF/migu-1m-regular.ttf \
Lines 98-105 do-install: Link Here
98
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
98
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
99
.endif
99
.endif
100
100
101
post-install:
102
	${LOCALBASE}/bin/fc-cache -f -v ${PREFIX}/${X_FONTSDIR}/TTF
103
	${SETENV} PKG_PREFIX=${STAGEDIR}${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
104
105
.include <bsd.port.mk>
101
.include <bsd.port.mk>
(-)japanese/font-ricty/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (ricty-3.2.3.tar.gz) = cd51e941c59a13a5b42302e5b135db7fead06ddf69ca700453bf16a4eeadb95d
1
SHA256 (ricty-3.2.4.tar.gz) = c226ace2933bdf15b31318298486c494e0e53f422b91feb09ae5ec56d51ed9b4
2
SIZE (ricty-3.2.3.tar.gz) = 14708
2
SIZE (ricty-3.2.4.tar.gz) = 256833
(-)japanese/font-ricty/files/pkg-install.in (-1 / +2 lines)
Lines 7-13 catfontsdir () Link Here
7
    while read _IN
7
    while read _IN
8
    do
8
    do
9
      case "${_IN}" in
9
      case "${_IN}" in
10
      *-Ricty*) ;;
10
%%RICTY%%   *-Ricty-*) ;;
11
%%DISCORD%% *-Ricty\ Discord-*) ;;
11
      *)       echo ${_IN} ;;
12
      *)       echo ${_IN} ;;
12
      esac
13
      esac
13
    done
14
    done
(-)japanese/font-ricty/pkg-plist (-4 lines)
Lines 2-14 Link Here
2
%%RICTY%%%%DATADIR%%/Ricty-Regular.ttf
2
%%RICTY%%%%DATADIR%%/Ricty-Regular.ttf
3
%%DISCORD%%%%DATADIR%%/RictyDiscord-Bold.ttf
3
%%DISCORD%%%%DATADIR%%/RictyDiscord-Bold.ttf
4
%%DISCORD%%%%DATADIR%%/RictyDiscord-Regular.ttf
4
%%DISCORD%%%%DATADIR%%/RictyDiscord-Regular.ttf
5
@dirrm %%DATADIR%%
6
%%RICTY%%%%LOCAL_FONTSDIR%%/TTF/Ricty-Bold.ttf
5
%%RICTY%%%%LOCAL_FONTSDIR%%/TTF/Ricty-Bold.ttf
7
%%RICTY%%%%LOCAL_FONTSDIR%%/TTF/Ricty-Regular.ttf
6
%%RICTY%%%%LOCAL_FONTSDIR%%/TTF/Ricty-Regular.ttf
8
%%DISCORD%%%%LOCAL_FONTSDIR%%/TTF/RictyDiscord-Bold.ttf
7
%%DISCORD%%%%LOCAL_FONTSDIR%%/TTF/RictyDiscord-Bold.ttf
9
%%DISCORD%%%%LOCAL_FONTSDIR%%/TTF/RictyDiscord-Regular.ttf
8
%%DISCORD%%%%LOCAL_FONTSDIR%%/TTF/RictyDiscord-Regular.ttf
10
@dirrmtry %%LOCAL_FONTSDIR%%/TTF
11
@dirrmtry %%LOCAL_FONTSDIR%%
12
%%RICTY%%etc/fonts/conf.avail/20-unhint-ricty.conf
9
%%RICTY%%etc/fonts/conf.avail/20-unhint-ricty.conf
13
%%RICTY%%etc/fonts/conf.avail/62-fonts-ricty.conf
10
%%RICTY%%etc/fonts/conf.avail/62-fonts-ricty.conf
14
%%RICTY%%etc/fonts/conf.d/20-unhint-ricty.conf
11
%%RICTY%%etc/fonts/conf.d/20-unhint-ricty.conf
Lines 24-28 Link Here
24
@exec %%LOCALBASE%%/bin/fc-cache -s -f -v %D/%%X_FONTSDIR%%/TTF || true
21
@exec %%LOCALBASE%%/bin/fc-cache -s -f -v %D/%%X_FONTSDIR%%/TTF || true
25
@unexec %%LOCALBASE%%/bin/fc-cache -s -f -v %D/%%X_FONTSDIR%%/TTF || true
22
@unexec %%LOCALBASE%%/bin/fc-cache -s -f -v %D/%%X_FONTSDIR%%/TTF || true
26
@unexec rm -f %D/%%X_FONTSDIR%%/OTF/fonts.cache-1
23
@unexec rm -f %D/%%X_FONTSDIR%%/OTF/fonts.cache-1
27
@dirrmtry %%X_FONTSDIR%%/TTF
28
@unexec if [ -d %D/%%X_FONTSDIR%%/TTF ]; then %%LOCALBASE%%/bin/fc-cache -f -v %D/%%X_FONTSDIR%%/TTF || true; fi
24
@unexec if [ -d %D/%%X_FONTSDIR%%/TTF ]; then %%LOCALBASE%%/bin/fc-cache -f -v %D/%%X_FONTSDIR%%/TTF || true; fi

Return to bug 195845