From 34b21e2a511d0bd92cc41ab4fb3601c92e96b492 Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Mon, 17 Jun 2013 23:18:06 +0000 Subject: - Re-add ftp.kaist.ac.kr and remove defunct ftp.kreonet.re.kr. - Modernize the port and make portlint happy. --- korean/hanyangfonts/Makefile | 13 ++++++++----- korean/hanyangfonts/files/pkg-message.in | 20 ++++++++++++++++++++ korean/hanyangfonts/pkg-message | 20 -------------------- 3 files changed, 28 insertions(+), 25 deletions(-) create mode 100644 korean/hanyangfonts/files/pkg-message.in delete mode 100644 korean/hanyangfonts/pkg-message (limited to 'korean') 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/files/pkg-message.in b/korean/hanyangfonts/files/pkg-message.in new file mode 100644 index 000000000000..81fa8573b653 --- /dev/null +++ b/korean/hanyangfonts/files/pkg-message.in @@ -0,0 +1,20 @@ +Hanyang Font(KSC5601) +===================== + +Please note: + + This package installed fonts in /usr/X11R6/lib/X11/fonts/local 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 "%%PREFIX%%/lib/X11/fonts/local/" + ... + + Or, run this command at your X desktop: + + # 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. diff --git a/korean/hanyangfonts/pkg-message b/korean/hanyangfonts/pkg-message deleted file mode 100644 index f969f1d16302..000000000000 --- a/korean/hanyangfonts/pkg-message +++ /dev/null @@ -1,20 +0,0 @@ -Hanyang Font(KSC5601) -===================== - -Please note: - - This package installed fonts in /usr/X11R6/lib/X11/fonts/local 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/" - ... - - Or, run this command at your X desktop: - - # xset +fp /usr/X11R6/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. -- cgit v1.2.3