$NetBSD: patch-aa,v 1.1.1.1 2002/04/09 13:17:24 wiz Exp $ --- Makefile.orig Sun Sep 24 10:57:57 2000 +++ Makefile @@ -1,8 +1,8 @@ # Makefile for mozilla-fonts -DESTDIR = /usr/local/lib/X11/fonts/Mozilla +DESTDIR = $(PREFIX)/lib/X11/fonts/Mozilla -INSTALL = install +INSTALL = install -c -o root -g wheel # -------- No user-serviceable parts below -------- @@ -111,10 +111,13 @@ bdftopcf $< -o $@ install: $(PCFFILES) - mkdir -p $(DESTDIR) + $(INSTALL) -d $(DESTDIR) @for font in $(PCFFILES) ; do \ echo " $(INSTALL) -m 644 $$font $(DESTDIR)/$$font" ; \ $(INSTALL) -m 644 $$font $(DESTDIR)/$$font || exit 1 ; \ + rm -f $(DESTDIR)/$$font.* ; \ + echo " Compressing $(DESTDIR)/$$font" ; \ + gzip $(DESTDIR)/$$font ; \ done $(INSTALL) -m 644 fonts.alias $(DESTDIR)/fonts.alias cd $(DESTDIR) && mkfontdir