openbsd-ports/korean/baekmuk-fonts/Makefile

39 lines
985 B
Makefile
Raw Normal View History

2002-03-21 15:57:06 -05:00
# $OpenBSD: Makefile,v 1.2 2002/03/21 20:57:09 espie Exp $
2001-06-08 02:15:37 -04:00
COMMENT= "extra Korean fonts"
PKGNAME= baekmuk-fonts-2.0
DISTNAME= baekmuk-2.0
CATEGORIES= korean x11
2002-03-21 15:57:06 -05:00
NEED_VERSION= 1.515
2001-06-08 02:15:37 -04:00
MASTER_SITES= ftp://ftp.kr.freebsd.org/pub/FreeBSD/distfiles/ \
ftp://ftp.mizi.com/pub/baekmuk/
HOMEPAGE= http://www.mizi.co.kr
MAINTAINER= pilot <pilot@monkey.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
FONTDIR=${PREFIX}/lib/X11/fonts/korean
WRKDIST=${WRKDIR}
do-build:
cd ${WRKDIR}; \
for file in *.bdf; do \
font=`basename $$file .bdf`; \
${X11BASE}/bin/bdftopcf -t $$file | gzip > $$font.pcf.gz; \
done
${X11BASE}/bin/mkfontdir ${WRKDIR}
egrep '\.pcf\.gz' ${WRKSRC}/fonts.dir | \
sed 's/\.pcf\.gz//g' > ${WRKSRC}/fonts.alias
do-install:
${INSTALL_DATA_DIR} ${FONTDIR}
${INSTALL_DATA} ${WRKDIR}/*.pcf.gz ${FONTDIR}
${INSTALL_DATA} ${WRKDIR}/fonts.alias ${FONTDIR}/fonts.alias-baekmuk
.include <bsd.port.mk>