- Re-add ftp.kaist.ac.kr and remove defunct ftp.kreonet.re.kr.
- Modernize the port and make portlint happy.
This commit is contained in:
parent
2267c77702
commit
34b21e2a51
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=321161
@ -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
|
||||
|
||||
|
@ -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.
|
Loading…
Reference in New Issue
Block a user