Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 2013 23:18:07 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r321161 - in head/korean/hanyangfonts: . files
Message-ID:  <201306172318.r5HNI7pV083926@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Mon Jun 17 23:18:06 2013
New Revision: 321161
URL: http://svnweb.freebsd.org/changeset/ports/321161

Log:
  - Re-add ftp.kaist.ac.kr and remove defunct ftp.kreonet.re.kr.
  - Modernize the port and make portlint happy.

Added:
  head/korean/hanyangfonts/files/
  head/korean/hanyangfonts/files/pkg-message.in
     - copied, changed from r320654, head/korean/hanyangfonts/pkg-message
Deleted:
  head/korean/hanyangfonts/pkg-message
Modified:
  head/korean/hanyangfonts/Makefile

Modified: head/korean/hanyangfonts/Makefile
==============================================================================
--- head/korean/hanyangfonts/Makefile	Mon Jun 17 23:04:51 2013	(r321160)
+++ head/korean/hanyangfonts/Makefile	Mon Jun 17 23:18:06 2013	(r321161)
@@ -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-fo
 		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
 

Copied and modified: head/korean/hanyangfonts/files/pkg-message.in (from r320654, head/korean/hanyangfonts/pkg-message)
==============================================================================
--- head/korean/hanyangfonts/pkg-message	Tue Jun 11 22:44:39 2013	(r320654, copy source)
+++ head/korean/hanyangfonts/files/pkg-message.in	Mon Jun 17 23:18:06 2013	(r321161)
@@ -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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306172318.r5HNI7pV083926>