summaryrefslogtreecommitdiff
path: root/fonts/Xg/patches/patch-aa
blob: 9721b85fa082ce31808d308ece2b64c2b9ef748c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$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)