bc871f8be3
Previously, ttmkfdir's output was redirected to fonts.dir, while the correct behaviour is to let it create fonts.scale and then let mkfontdir merge fonts.scale into fonts.dir. type1 handling had a similar problem. Get the wanted behaviour by automatically appending the contents of FONTS_TTF_DIRS and FONTS_TYPE1_DIRS to FONTS_X11_DIRS. Also, save a subshell in install/fonts while there. Bump PKGREVISION for all affected packages. jmmv@ says ok.
26 lines
673 B
Makefile
26 lines
673 B
Makefile
# $NetBSD: Makefile,v 1.13 2004/12/28 14:38:03 wiz Exp $
|
|
|
|
DISTNAME= baekmuk-ttf-2.2
|
|
PKGREVISION= 1
|
|
CATEGORIES= fonts korean
|
|
MASTER_SITES= http://kldp.net/download.php/1429/
|
|
|
|
MAINTAINER= yui@yui.pe.kr
|
|
HOMEPAGE= http://kldp.net/projects/baekmuk/
|
|
COMMENT= Baekmuk family Korean TrueType fonts
|
|
|
|
USE_X11BASE= YES
|
|
NO_CONFIGURE= YES
|
|
NO_BUILD= YES
|
|
|
|
FONTS_TTF_DIRS= ${PREFIX}/lib/X11/fonts/TTF
|
|
DOCDIR= ${PREFIX}/share/doc/baekmuk-ttf
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${FONTS_TTF_DIRS}
|
|
${INSTALL_DATA} ${WRKSRC}/ttf/*.ttf ${FONTS_TTF_DIRS}
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/COPYRIGHT* ${DOCDIR}
|
|
|
|
.include "../../mk/fonts.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|