diff options
author | minskim <minskim@pkgsrc.org> | 2004-06-16 16:45:21 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2004-06-16 16:45:21 +0000 |
commit | 0d79581eff810cb09623fedad32e0d22fcd5ab57 (patch) | |
tree | 550c834b7d86fe63a67333651b0219866342bb28 /fonts/mozilla-fonts/patches/patch-aa | |
parent | 4b6c00ea145da81d2edf2d0b72a7ef6baf5a04ac (diff) | |
download | pkgsrc-0d79581eff810cb09623fedad32e0d22fcd5ab57.tar.gz |
Use BSD_INSTALL_* to honor *OWN and *GRP.
Diffstat (limited to 'fonts/mozilla-fonts/patches/patch-aa')
-rw-r--r-- | fonts/mozilla-fonts/patches/patch-aa | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/fonts/mozilla-fonts/patches/patch-aa b/fonts/mozilla-fonts/patches/patch-aa index d362eb74975..7f73a9088ec 100644 --- a/fonts/mozilla-fonts/patches/patch-aa +++ b/fonts/mozilla-fonts/patches/patch-aa @@ -1,30 +1,32 @@ -$NetBSD: patch-aa,v 1.1.1.1 2002/04/09 13:17:24 wiz Exp $ +$NetBSD: patch-aa,v 1.2 2004/06/16 16:45:21 minskim Exp $ ---- Makefile.orig Sun Sep 24 10:57:57 2000 +--- Makefile.orig 2000-09-23 21:57:57.000000000 -0500 +++ Makefile -@@ -1,8 +1,8 @@ +@@ -1,6 +1,6 @@ # 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 + INSTALL = install - # -------- No user-serviceable parts below -------- - -@@ -111,10 +111,13 @@ +@@ -111,12 +111,15 @@ all: $(PCFFILES) bdftopcf $< -o $@ install: $(PCFFILES) - mkdir -p $(DESTDIR) -+ $(INSTALL) -d $(DESTDIR) ++ $(BSD_INSTALL_DATA_DIR) $(DESTDIR) @for font in $(PCFFILES) ; do \ - echo " $(INSTALL) -m 644 $$font $(DESTDIR)/$$font" ; \ - $(INSTALL) -m 644 $$font $(DESTDIR)/$$font || exit 1 ; \ +- echo " $(INSTALL) -m 644 $$font $(DESTDIR)/$$font" ; \ +- $(INSTALL) -m 644 $$font $(DESTDIR)/$$font || exit 1 ; \ ++ echo " $(BSD_INSTALL_DATA) $$font $(DESTDIR)/$$font" ; \ ++ $(BSD_INSTALL_DATA) -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 +- $(INSTALL) -m 644 fonts.alias $(DESTDIR)/fonts.alias ++ $(BSD_INSTALL_DATA) fonts.alias $(DESTDIR)/fonts.alias cd $(DESTDIR) && mkfontdir + + clean: |