pkgsrc/fonts/vera-ttf/Makefile
wiz bc871f8be3 Fix ttf/type1 handling in fonts.mk:
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.
2004-12-28 14:38:03 +00:00

30 lines
871 B
Makefile

# $NetBSD: Makefile,v 1.7 2004/12/28 14:38:03 wiz Exp $
#
DISTNAME= ttf-bitstream-vera-1.10
PKGNAME= vera-ttf-1.10
PKGREVISION= 3
CATEGORIES= fonts
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/ttf-bitstream-vera/1.10/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.gnome.org/fonts/
COMMENT= Bitstream Vera TrueType 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}
cd ${WRKSRC} && ${PAX} -rw -pm *.ttf ${PREFIX}/lib/X11/fonts/TTF/
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vera-ttf
${INSTALL_DATA} ${WRKSRC}/local.conf ${PREFIX}/share/examples/vera-ttf
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vera-ttf
cd ${WRKSRC} && ${INSTALL_DATA} *.TXT ${PREFIX}/share/doc/vera-ttf
.include "../../mk/fonts.mk"
.include "../../mk/bsd.pkg.mk"