aboutsummaryrefslogtreecommitdiff
path: root/korean
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2013-06-17 23:18:06 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2013-06-17 23:18:06 +0000
commit34b21e2a511d0bd92cc41ab4fb3601c92e96b492 (patch)
tree68d19f3b7bb9b8cd797b6701ad2e1ea3d0b704d1 /korean
parent2267c7770294bca7538546c5a4d0305415681373 (diff)
downloadports-34b21e2a511d0bd92cc41ab4fb3601c92e96b492.tar.gz
ports-34b21e2a511d0bd92cc41ab4fb3601c92e96b492.zip
- Re-add ftp.kaist.ac.kr and remove defunct ftp.kreonet.re.kr.
- Modernize the port and make portlint happy.
Notes
Notes: svn path=/head/; revision=321161
Diffstat (limited to 'korean')
-rw-r--r--korean/hanyangfonts/Makefile13
-rw-r--r--korean/hanyangfonts/files/pkg-message.in (renamed from korean/hanyangfonts/pkg-message)4
2 files changed, 10 insertions, 7 deletions
diff --git a/korean/hanyangfonts/Makefile b/korean/hanyangfonts/Makefile
index 141e202724da..a2d0a881e4c4 100644
--- a/korean/hanyangfonts/Makefile
+++ b/korean/hanyangfonts/Makefile
@@ -3,10 +3,11 @@
PORTNAME= hanyangfonts
PORTVERSION= 1.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= korean x11-fonts
-MASTER_SITES= ftp://ftp.kr.FreeBSD.org/pub/FreeBSD-kr/distfiles/ \
- ftp://ftp.kreonet.re.kr/pub/hangul/cair-archive/fonts/
+MASTER_SITES= http://ftp.kaist.ac.kr/hangul/fonts/ \
+ ftp://ftp.kaist.ac.kr/hangul/fonts/ \
+ ftp://ftp.kr.FreeBSD.org/pub/FreeBSD-kr/distfiles/
DISTNAME= hanyang-font-pcf
MAINTAINER= ports@FreeBSD.org
@@ -16,6 +17,8 @@ RUN_DEPENDS= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf \
mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
+SUB_FILES= pkg-message
+
NO_WRKSUBDIR= yes
FONTS= hgm10 hgm12 hgm14 hgm16 hgm18 hgm20 \
@@ -31,8 +34,8 @@ do-build:
do-install:
-${MKDIR} ${PREFIX}/lib/X11/fonts/local
@cd ${WRKSRC}; \
- for file in ${FONTS}; do \
- ${INSTALL_DATA} "$$file".pcf.gz ${PREFIX}/lib/X11/fonts/local; \
+ for f in ${FONTS}; do \
+ ${INSTALL_DATA} "$$f".pcf.gz ${PREFIX}/lib/X11/fonts/local; \
done; \
mkfontdir ${PREFIX}/lib/X11/fonts/local
diff --git a/korean/hanyangfonts/pkg-message b/korean/hanyangfonts/files/pkg-message.in
index f969f1d16302..81fa8573b653 100644
--- a/korean/hanyangfonts/pkg-message
+++ b/korean/hanyangfonts/files/pkg-message.in
@@ -9,12 +9,12 @@ Please note:
Section "Files"
...
- FontPath "/usr/X11R6/lib/X11/fonts/local/"
+ FontPath "%%PREFIX%%/lib/X11/fonts/local/"
...
Or, run this command at your X desktop:
- # xset +fp /usr/X11R6/lib/X11/fonts/local/ && xset fp rehash
+ # xset +fp %%PREFIX%%/lib/X11/fonts/local/ && xset fp rehash
Don't forget to add the directory to your /etc/XF86Config, for
add the correct font path after you reboots X.