summaryrefslogtreecommitdiff
path: root/fonts/Xg/patches/patch-aa
blob: e743ce68d37b96ad2e0fabc97e8aad938b954f13 (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.3 2009/12/17 17:31:11 abs Exp $

--- Makefile.orig	2009-12-17 17:28:59.000000000 +0000
+++ Makefile
@@ -0,0 +1,15 @@
+ 
+FONTDIR=$(DESTDIR)$(PREFIX)/lib/X11/fonts/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; \
+	  compress $(FONTDIR)/$$b.pcf; \
+	  done; mkfontdir $(FONTDIR); \
+	  cp Xg/matty/unicode.9.font $(FONTDIR)