pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/fonts/mozilla-fonts Use BSD_INSTALL_* to honor *OWN an...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e77d17f5d9db
branches:  trunk
changeset: 476632:e77d17f5d9db
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Wed Jun 16 16:45:21 2004 +0000

description:
Use BSD_INSTALL_* to honor *OWN and *GRP.

diffstat:

 fonts/mozilla-fonts/distinfo         |   4 ++--
 fonts/mozilla-fonts/patches/patch-aa |  26 ++++++++++++++------------
 2 files changed, 16 insertions(+), 14 deletions(-)

diffs (59 lines):

diff -r 8a2f2dcb952b -r e77d17f5d9db fonts/mozilla-fonts/distinfo
--- a/fonts/mozilla-fonts/distinfo      Wed Jun 16 16:09:39 2004 +0000
+++ b/fonts/mozilla-fonts/distinfo      Wed Jun 16 16:45:21 2004 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/04/09 13:17:24 wiz Exp $
+$NetBSD: distinfo,v 1.2 2004/06/16 16:45:21 minskim Exp $
 
 SHA1 (mozilla-fonts-1.0.tar.gz) = 78bdf7d984f4d3fb63f1ab2ae6313be5adf297a0
 Size (mozilla-fonts-1.0.tar.gz) = 646850 bytes
-SHA1 (patch-aa) = 2d61b38289eae664e03408e15cff952405a8e2de
+SHA1 (patch-aa) = b31f0e75bf4326f0aaaa66ffb29bf866ccd9e015
diff -r 8a2f2dcb952b -r e77d17f5d9db fonts/mozilla-fonts/patches/patch-aa
--- a/fonts/mozilla-fonts/patches/patch-aa      Wed Jun 16 16:09:39 2004 +0000
+++ b/fonts/mozilla-fonts/patches/patch-aa      Wed Jun 16 16:45:21 2004 +0000
@@ -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:



Home | Main Index | Thread Index | Old Index