freebsd-ports/x11-fonts/Xg/files/patch-aa
Kevin Lo 919fa5f0d6 - Fix MASTER_SITES
- Use gzip to compress font files
PR: 20105
Submitted by: Ports Fury
2000-07-22 07:34:08 +00:00

21 lines
598 B
Plaintext

*** Makefile.orig Thu Feb 10 04:33:27 2000
--- Makefile Thu Feb 10 04:34:15 2000
***************
*** 0 ****
--- 1,15 ----
+
+ DESTDIR=$(PREFIX)/lib/X11/fonts/Xg
+
+ all:
+ @echo nothing to be done for \`$@\'
+ @echo this is an install-only target.
+
+ install:
+ [ -d $(DESTDIR) ] || mkdir -p $(DESTDIR)
+ for i in Xg/bdf/*.bdf; do b=$$(basename $$i .bdf); \
+ rm -f $(DESTDIR)/$$b.pcf.Z; \
+ bdftopcf -o $(DESTDIR)/$$b.pcf $$i; \
+ gzip -nf -9 $(DESTDIR)/$$b.pcf; \
+ done; mkfontdir $(DESTDIR); \
+ ${BSD_INSTALL_DATA} Xg/matty/unicode.9.font $(DESTDIR)