pkgsrc/fonts/mozilla-fonts/patches/patch-aa
wiz 39f78397ca Initial import of mozilla-fonts package provided by rxg in pkg/16267.
This is a complete set of three font faces (Times, Helvetica, Courier)
in seven sizes and four variants each, optimized for use by the Netscape
(Mozilla) WWW browser under Unix.
2002-04-09 13:17:24 +00:00

30 lines
833 B
Text

$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