2007-09-15 20:28:19 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2007/09/16 00:28:19 merdely Exp $
|
2001-05-28 14:18:30 -04:00
|
|
|
|
2007-09-15 20:28:19 -04:00
|
|
|
COMMENT= extra Korean fonts
|
2001-05-28 14:18:30 -04:00
|
|
|
|
|
|
|
PKGNAME= hanterm-fonts-3.1
|
|
|
|
DISTNAME= hanterm-font-3.1
|
|
|
|
CATEGORIES= korean x11
|
2002-10-26 21:02:17 -04:00
|
|
|
|
2006-02-04 15:36:35 -05:00
|
|
|
MASTER_SITES= http://download.kldp.net/hanterm/hanterm-font/3.1/ \
|
|
|
|
http://hanterm.org/download/font/
|
2001-05-28 14:18:30 -04:00
|
|
|
HOMEPAGE= http://hanterm.org/
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= yes
|
|
|
|
PERMIT_PACKAGE_FTP= yes
|
|
|
|
PERMIT_DISTFILES_CDROM= yes
|
|
|
|
PERMIT_DISTFILES_FTP= yes
|
|
|
|
|
2003-03-31 08:57:49 -05:00
|
|
|
# bdftopcf, mkfontdir
|
|
|
|
USE_X11= Yes
|
|
|
|
|
2001-05-28 14:18:30 -04:00
|
|
|
FONTDIR= ${PREFIX}/lib/X11/fonts/korean
|
|
|
|
WRKDIST= ${WRKDIR}/hanterm-font
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC}; \
|
|
|
|
for file in 10-6-6/*.bdf 8-4-4/*.bdf; do \
|
|
|
|
font=`basename $$file .bdf`; \
|
|
|
|
${X11BASE}/bin/bdftopcf -t $$file | gzip > $$font.pcf.gz; \
|
|
|
|
done
|
|
|
|
${X11BASE}/bin/mkfontdir ${WRKSRC}
|
|
|
|
egrep '\.pcf\.gz' ${WRKSRC}/fonts.dir | \
|
|
|
|
sed 's/\.pcf\.gz//g' > ${WRKSRC}/fonts.alias
|
|
|
|
|
2002-10-26 21:02:17 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2001-05-28 14:18:30 -04:00
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${FONTDIR}
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/*.pcf.gz ${FONTDIR}
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/fonts.alias ${FONTDIR}/fonts.alias-hanterm
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|