MFH: r557092

games/rlvm: unbreak font fallback after r521445 r521451 r521458

$ rlvm /path/to/CLANNAD
Could not find msgothic.ttc or a suitable fallback font.: Please place a copy of msgothic.ttc in either your home directory or in the game path.
This commit is contained in:
Jan Beich 2020-12-05 22:51:39 +00:00
parent 5ad6272245
commit 3b4d42b441
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q4/; revision=557094

View File

@ -4,7 +4,7 @@ PORTNAME= rlvm
DISTVERSIONPREFIX= release-
DISTVERSION= 0.14-67
DISTVERSIONSUFFIX= -g9350209
PORTREVISION= 22
PORTREVISION= 23
CATEGORIES= games
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
@ -70,7 +70,8 @@ post-patch:
${WRKSRC}/src/platforms/gtk/gtk_rlvm_instance.cc
@${REINPLACE_CMD} -e 's,/usr/share,${LOCALBASE}/share,' \
-e 's,truetype/ttf-dejavu,dejavu,' \
-e 's,truetype/[^/"]*/,TTF/,' \
-e 's,truetype/mona,mona-ttf,' \
-e 's,truetype/,,' \
${WRKSRC}/src/utilities/find_font_file.cc
do-test-TEST-on: