openbsd-ports/korean/baekmuk-fonts/Makefile

44 lines
1018 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.7 2008/10/31 10:16:16 naddy Exp $
2001-06-08 02:15:37 -04:00
2007-09-15 20:28:19 -04:00
COMMENT= extra Korean fonts
2001-06-08 02:15:37 -04:00
PKGNAME= baekmuk-fonts-2.0p0
2001-06-08 02:15:37 -04:00
DISTNAME= baekmuk-2.0
CATEGORIES= korean x11
2002-10-26 21:02:17 -04:00
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= Jung <moorang@gmail.com>
2001-06-08 02:15:37 -04:00
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-06-08 02:15:37 -04:00
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
2002-10-26 21:02:17 -04:00
NO_REGRESS= Yes
2001-06-08 02:15:37 -04:00
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>