aboutsummaryrefslogtreecommitdiffstats
path: root/korean
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2015-03-23 14:22:03 +0800
committerjkim <jkim@FreeBSD.org>2015-03-23 14:22:03 +0800
commitfcc3a01a75dc5746e426f563acbc633040ed626e (patch)
treedb5a919ebde162ba2403a837774c4cc1ca404c47 /korean
parentda54ca3301892ca4ab145da3d6e00caebce3d368 (diff)
downloadfreebsd-ports-graphics-fcc3a01a75dc5746e426f563acbc633040ed626e.tar.gz
freebsd-ports-graphics-fcc3a01a75dc5746e426f563acbc633040ed626e.tar.zst
freebsd-ports-graphics-fcc3a01a75dc5746e426f563acbc633040ed626e.zip
- Install the fonts to a better place.
- Correct the pkg-message to reflect the new directory.
Diffstat (limited to 'korean')
-rw-r--r--korean/kaistfonts/Makefile7
-rw-r--r--korean/kaistfonts/files/pkg-message.in (renamed from korean/kaistfonts/pkg-message)6
2 files changed, 8 insertions, 5 deletions
diff --git a/korean/kaistfonts/Makefile b/korean/kaistfonts/Makefile
index 527433f3d79..a76dc3391e2 100644
--- a/korean/kaistfonts/Makefile
+++ b/korean/kaistfonts/Makefile
@@ -1,11 +1,12 @@
# Created by: Junho CHOI <junho.choi@gmail.com>
# $FreeBSD$
-PORTNAME= kaistfonts-ksc
+PORTNAME= kaistfonts
PORTVERSION= 1.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= korean x11-fonts
MASTER_SITES= ftp://ftp.kr.freebsd.org/pub/FreeBSD-kr/distfiles/
+PKGNAMESUFFIX= -ksc
DISTNAME= ${PKGNAME}
DISTFILES= kaist-newmj18.bdf.gz ks_philgi16.bdf.gz \
kaist-newmj16.bdf.gz ks_iyagi16.bdf.gz
@@ -13,6 +14,8 @@ DISTFILES= kaist-newmj18.bdf.gz ks_philgi16.bdf.gz \
MAINTAINER= ports@FreeBSD.org
COMMENT= X11 KAIST font(ksc5601.1987-0 encoding) collection
+SUB_FILES= pkg-message
+
BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf
USES= fonts gmake
diff --git a/korean/kaistfonts/pkg-message b/korean/kaistfonts/files/pkg-message.in
index 35e16244462..1eb85526f92 100644
--- a/korean/kaistfonts/pkg-message
+++ b/korean/kaistfonts/files/pkg-message.in
@@ -3,18 +3,18 @@ KAIST Font(KSC5601)
Please note:
- This package installed fonts in /usr/X11R6/lib/X11/fonts/local directory.
+ This package installed fonts in %%FONTSDIR%% directory.
If you are using XFree86 3.3.2 or older, please upgrade to a new version
or add this directory to your /etc/XF86Config:
Section "Files"
...
- FontPath "/usr/X11R6/lib/X11/fonts/local/"
+ FontPath "%%FONTSDIR%%"
...
Or, run this command at your X desktop:
- # xset +fp /usr/X11R6/lib/X11/fonts/local/ && xset fp rehash
+ # xset +fp %%FONTSDIR%% && xset fp rehash
Don't forget to add the directory to your /etc/XF86Config, for
add the correct font path after you reboots X.