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.
36 lines
863 B
Makefile
36 lines
863 B
Makefile
# $NetBSD: Makefile,v 1.11 2004/12/28 14:38:03 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= dbz
|
|
PKGNAME= dbz-ttf-20020507
|
|
PKGREVISION= 3
|
|
CATEGORIES= fonts
|
|
MASTER_SITES= http://www.andrew.cmu.edu/~twm/fonts/
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://fonts.tom7.com/
|
|
COMMENT= Divide By Zero TrueType fonts created by Tom Murphy 7
|
|
|
|
DIST_SUBDIR= ${PKGNAME_NOREV}
|
|
|
|
LICENSE= limited-redistribution
|
|
RESTRICTED= Resale prohibited.
|
|
NO_SRC_ON_CDROM=${RESTRICTED}
|
|
NO_BIN_ON_CDROM=${RESTRICTED}
|
|
|
|
USE_X11BASE= YES
|
|
NO_BUILD= YES
|
|
NO_CONFIGURE= YES
|
|
|
|
FONTS_TTF_DIRS= ${PREFIX}/lib/X11/fonts/TTF
|
|
DOCDIR= ${PREFIX}/share/doc/dbz-ttf
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${FONTS_TTF_DIRS}
|
|
${INSTALL_DATA} ${WRKDIR}/*.ttf ${FONTS_TTF_DIRS}
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
${INSTALL_DATA} ${WRKDIR}/readme.txt ${DOCDIR}
|
|
|
|
.include "../../mk/fonts.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|