pkgsrc/fonts/Xg/patches/patch-aa
wiz 1adfb71852 Move fonts from lib/X11/fonts to share/fonts/X11.
As discussed on tech-pkg.

Bump PKGREVISION.
2014-06-01 16:35:31 +00:00

20 lines
571 B
Text

$NetBSD: patch-aa,v 1.5 2014/06/01 16:35:31 wiz Exp $
--- Makefile.orig 2009-12-17 17:28:59.000000000 +0000
+++ Makefile
@@ -0,0 +1,15 @@
+
+FONTDIR=$(DESTDIR)$(PREFIX)/share/fonts/X11/Xg
+
+all:
+ @echo nothing to be done for \`$@\'
+ @echo this is an install-only target.
+
+install:
+ [ -d $(FONTDIR) ] || mkdir -p $(FONTDIR)
+ for i in Xg/bdf/*.bdf; do b=$$(basename $$i .bdf); \
+ rm -f $(FONTDIR)/$$b.pcf.Z; \
+ bdftopcf -o $(FONTDIR)/$$b.pcf $$i; \
+ gzip $(FONTDIR)/$$b.pcf; \
+ done; mkfontdir $(FONTDIR); \
+ cp Xg/matty/unicode.9.font $(FONTDIR)