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.
29 lines
670 B
Makefile
29 lines
670 B
Makefile
# $NetBSD: Makefile,v 1.2 2004/12/28 14:38:03 wiz Exp $
|
|
|
|
DISTNAME= un-fonts-core-${UN_CORE_VER}
|
|
PKGNAME= un-core-ttf-${UN_CORE_VER}
|
|
PKGREVISION= 1
|
|
CATEGORIES= fonts korean
|
|
MASTER_SITES= http://kldp.net/download.php/1425/
|
|
|
|
MAINTAINER= yui@yui.pe.kr
|
|
HOMEPAGE= http://kldp.net/projects/unfonts/
|
|
COMMENT= Core set of Un Korean TrueType fonts
|
|
|
|
CONFLICTS+= un-ttf-[0-9]*
|
|
|
|
UN_CORE_VER= 1.0
|
|
|
|
WRKSRC= ${WRKDIR}/un-fonts
|
|
USE_X11BASE= yes
|
|
NO_CONFIGURE= yes
|
|
NO_BUILD= yes
|
|
|
|
FONTS_TTF_DIRS= ${PREFIX}/lib/X11/fonts/TTF
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${FONTS_TTF_DIRS}
|
|
${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTS_TTF_DIRS}
|
|
|
|
.include "../../mk/fonts.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|