diff options
author | jkim <jkim@FreeBSD.org> | 2013-06-18 07:18:06 +0800 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2013-06-18 07:18:06 +0800 |
commit | ae162f89a6e290a23b76c4958d6c1d4dadbee486 (patch) | |
tree | 68d19f3b7bb9b8cd797b6701ad2e1ea3d0b704d1 /korean/hanyangfonts | |
parent | 38c9c7a8222aba4229ec179b878d4f6cd9d6bfe6 (diff) | |
download | freebsd-ports-gnome-ae162f89a6e290a23b76c4958d6c1d4dadbee486.tar.gz freebsd-ports-gnome-ae162f89a6e290a23b76c4958d6c1d4dadbee486.tar.zst freebsd-ports-gnome-ae162f89a6e290a23b76c4958d6c1d4dadbee486.zip |
- Re-add ftp.kaist.ac.kr and remove defunct ftp.kreonet.re.kr.
- Modernize the port and make portlint happy.
Diffstat (limited to 'korean/hanyangfonts')
-rw-r--r-- | korean/hanyangfonts/Makefile | 13 | ||||
-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. |