1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/x11-fonts/geminifonts/files/patch-gz
Mikhail Teterin d547be1c47 Change the software's Makefile to run `mkfontdir' in the destination
directory after install instead of the ${WRKSRC} after build.
This works around a bug in Xorg's mkfontdir, which lists both -- the
bdf-sources and the pcf-binary fonts -- in the generated fonts.dir.
2005-07-11 16:47:36 +00:00

22 lines
579 B
Plaintext

--- Makefile Sun Dec 31 11:22:34 1995
+++ Makefile Mon Jul 11 12:37:08 2005
@@ -53,5 +53,4 @@
all: $(SRC) $(ROMAN) $(SLANT) $(BOLD) $(BSLANT) $(FIXED)
- mkfontdir .
src: $(SRC)
@@ -63,6 +62,7 @@
install:
-mkdir $(DESTDIR)
- for i in $(ROMAN) $(SLANT) $(BOLD) $(BSLANT) $(FIXED) fonts.dir fonts.alias;\
- do install -c -m 444 $$i $(DESTDIR)/$$i; done
+ ${BSD_INSTALL_DATA} $(ROMAN) $(SLANT) $(BOLD) $(BSLANT) $(FIXED) \
+ fonts.alias $(DESTDIR)/
+ mkfontdir $(DESTDIR)
package:
@@ -75 +75 @@
- bdftopcf -t $< | compress > $@
+ bdftopcf -t $< | gzip -9 > $@