aboutsummaryrefslogtreecommitdiffstats
path: root/korean/kaistfonts
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 /korean/kaistfonts
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 'korean/kaistfonts')
-rw-r--r--korean/kaistfonts/Makefile6
-rw-r--r--korean/kaistfonts/files/patch-Makefile4
-rw-r--r--korean/kaistfonts/pkg-plist11
3 files changed, 8 insertions, 13 deletions
diff --git a/korean/kaistfonts/Makefile b/korean/kaistfonts/Makefile
index 98dd38e2de6c..527433f3d79c 100644
--- a/korean/kaistfonts/Makefile
+++ b/korean/kaistfonts/Makefile
@@ -14,12 +14,10 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= X11 KAIST font(ksc5601.1987-0 encoding) collection
BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf
-RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
- mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
-USES= gmake
+USES= fonts gmake
NO_WRKSUBDIR= yes
-MAKE_ENV= DISTDIR=${DISTDIR} DISTFILES="${DISTFILES}"
+MAKE_ENV= DISTDIR=${DISTDIR} DISTFILES="${DISTFILES}" FONTSDIR="${FONTSDIR}"
do-extract:
@${RM} -fr ${WRKDIR} && \
diff --git a/korean/kaistfonts/files/patch-Makefile b/korean/kaistfonts/files/patch-Makefile
index b387e1c1e64a..916074523093 100644
--- a/korean/kaistfonts/files/patch-Makefile
+++ b/korean/kaistfonts/files/patch-Makefile
@@ -10,9 +10,9 @@
+all: ${PCF}
+
+install:
-+ -mkdir -p ${DESTDIR}${PREFIX}/lib/X11/fonts/local
++ -mkdir -p ${DESTDIR}${FONTSDIR}
+ for i in ${PCF}; do \
-+ gzip -c < $$i > ${DESTDIR}${PREFIX}/lib/X11/fonts/local/$$i.gz; \
++ gzip -c < $$i > ${DESTDIR}${FONTSDIR}/$$i.gz; \
+ done
+
+.bdf.pcf:
diff --git a/korean/kaistfonts/pkg-plist b/korean/kaistfonts/pkg-plist
index e9891fe2282f..29600bf4a861 100644
--- a/korean/kaistfonts/pkg-plist
+++ b/korean/kaistfonts/pkg-plist
@@ -1,7 +1,4 @@
-lib/X11/fonts/local/kaist-newmj16.pcf.gz
-lib/X11/fonts/local/kaist-newmj18.pcf.gz
-lib/X11/fonts/local/ks_iyagi16.pcf.gz
-lib/X11/fonts/local/ks_philgi16.pcf.gz
-@exec cd %D/lib/X11/fonts/local ; %D/bin/mkfontdir
-@unexec cd %D/lib/X11/fonts/local ; %D/bin/mkfontdir
-@unexec if [ `wc -c %D/lib/X11/fonts/local/fonts.dir | awk '{print $1}'` = 2 ]; then rm -f %D/lib/X11/fonts/local/fonts.dir; fi
+%%FONTSDIR%%/kaist-newmj16.pcf.gz
+%%FONTSDIR%%/kaist-newmj18.pcf.gz
+%%FONTSDIR%%/ks_iyagi16.pcf.gz
+%%FONTSDIR%%/ks_philgi16.pcf.gz