aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/kterm
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-03-22 07:05:19 +0800
committerbapt <bapt@FreeBSD.org>2015-03-22 07:05:19 +0800
commitfe5a7e4bee2fc7a40343278a44de77847b5c91c5 (patch)
treeb9556c9042a9d20d7c71f49869f39f95afc00052 /japanese/kterm
parent9167139629893ea7664f3b1cf93141ff1eeb82b4 (diff)
downloadfreebsd-ports-gnome-fe5a7e4bee2fc7a40343278a44de77847b5c91c5.tar.gz
freebsd-ports-gnome-fe5a7e4bee2fc7a40343278a44de77847b5c91c5.tar.zst
freebsd-ports-gnome-fe5a7e4bee2fc7a40343278a44de77847b5c91c5.zip
Make fonts repecting XDG
Xorg is now looking in ${LOCALBASE}/share/fonts by default Xorg now accepts symlinks in etc/X11/fontpath.d (as decribed in Xserver(1)) Large cleanup on lots of font ports All fonts are now properly dynamically generating fonts.dir and fonts.scale instead of sometime overwriting existing ones) All fonts are generating fontconfig's cache Improve consistency in fonts ports
Diffstat (limited to 'japanese/kterm')
-rw-r--r--japanese/kterm/Makefile5
-rw-r--r--japanese/kterm/pkg-plist4
2 files changed, 4 insertions, 5 deletions
diff --git a/japanese/kterm/Makefile b/japanese/kterm/Makefile
index ccb01e5a9222..0ded7946dd8b 100644
--- a/japanese/kterm/Makefile
+++ b/japanese/kterm/Makefile
@@ -37,6 +37,7 @@ COMMENT= Xterm variant with Japanese support
BUILD_DEPENDS= nkf:${PORTSDIR}/japanese/nkf
USES= imake
+VGAFONT_USES= fonts
USE_XORG= xaw
CFLAGS+= -Wno-return-type
PORTDOCS= README.kt README.wallpaper.ja dot.termcap
@@ -76,9 +77,9 @@ post-extract:
cd ${WRKDIR}/pcemu1.01alpha && \
${LOCALBASE}/bin/bdftopcf vga.bdf | ${GZIP_CMD} > vga.pcf.gz
post-install-vgafont:
- ${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/fonts/misc
+ ${MKDIR} ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${WRKDIR}/pcemu1.01alpha/vga.pcf.gz \
- ${STAGEDIR}${PREFIX}/lib/X11/fonts/misc
+ ${STAGEDIR}${FONTSDIR}
post-install: post-install-vgafont
.endif
diff --git a/japanese/kterm/pkg-plist b/japanese/kterm/pkg-plist
index 2bf3ab5539ae..f54a3f08f712 100644
--- a/japanese/kterm/pkg-plist
+++ b/japanese/kterm/pkg-plist
@@ -2,6 +2,4 @@ bin/kterm
man/ja/man1/kterm.1.gz
man/man1/kterm.1.gz
lib/X11/app-defaults/KTerm
-%%VGAFONT%%lib/X11/fonts/misc/vga.pcf.gz
-%%VGAFONT%%@exec %D/bin/mkfontdir %D/lib/X11/fonts/misc
-%%VGAFONT%%@unexec %D/bin/mkfontdir %D/lib/X11/fonts/misc; if [ `/usr/bin/wc -c < %D/lib/X11/fonts/misc/fonts.dir` = 2 ]; then /bin/rm -f %D/lib/X11/fonts/misc/fonts.dir; fi
+%%VGAFONT%%%%FONTSDIR%%/vga.pcf.gz