diff options
author | jlam <jlam@pkgsrc.org> | 2005-12-29 22:20:00 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-12-29 22:20:00 +0000 |
commit | a9bb2eaa6e4d6504717db60ca50dc0ff2756467e (patch) | |
tree | 8c97e0135ec0570be599e7f5ab204d8c961e8e1d /fonts/monafonts/Makefile | |
parent | f62733a6ab1c1553ade34a0a2a8f9282f2ca392c (diff) | |
download | pkgsrc-a9bb2eaa6e4d6504717db60ca50dc0ff2756467e.tar.gz |
Convert to use the font hooks in the pkginstall framework and get rid
of the custom INSTALL and DEINSTALL scripts. Also, just override some
make variables using MAKE_FLAGS instead of patching the Makefile, and
get rid of patch-aa.
Diffstat (limited to 'fonts/monafonts/Makefile')
-rw-r--r-- | fonts/monafonts/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/fonts/monafonts/Makefile b/fonts/monafonts/Makefile index d9c04543b34..0b7c55dff36 100644 --- a/fonts/monafonts/Makefile +++ b/fonts/monafonts/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2005/12/29 06:21:40 jlam Exp $ +# $NetBSD: Makefile,v 1.14 2005/12/29 22:20:00 jlam Exp $ DISTNAME= monafont-2.90 PKGNAME= ${DISTNAME:S/font/fonts/} @@ -12,14 +12,20 @@ COMMENT= Japanese fonts for "Mona" seen at 2ch.net USE_X11BASE= yes BUILD_TARGET= bdf -USE_TOOLS+= bdftopcf gzip mkfontdir perl sed +USE_TOOLS+= bdftopcf gzip mkdirhier mkfontdir perl sed + +# X11BINDIR is just the path to the X11 tools listed above. +MAKE_FLAGS+= X11BINDIR=${TOOLS_DIR:Q}/bin + +MAKE_FLAGS+= X11FONTDIR=${PREFIX:Q}/${FONTS_SUBDIR:Q} MAKE_FLAGS+= SED_CMD=${SED:Q} MAKE_FLAGS+= PERL_CMD=${PERL5:Q} MAKE_FLAGS+= GZIP_CMD=${GZIP_CMD:Q} -FILES_SUBST+= X11FONTSSUBDIR=local +FONTS_SUBDIR= lib/X11/fonts/local +FONTS_DIRS.x11= ${FONTS_SUBDIR} -post-extract: +pre-build: ${MKDIR} ${WRKSRC}/dist .include "../../mk/bsd.pkg.mk" |