pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/fonts/Xg PKG_DESTDIR_SUPPORT
details: https://anonhg.NetBSD.org/pkgsrc/rev/23c526deb982
branches: trunk
changeset: 568735:23c526deb982
user: abs <abs%pkgsrc.org@localhost>
date: Thu Dec 17 17:31:11 2009 +0000
description:
PKG_DESTDIR_SUPPORT
diffstat:
fonts/Xg/Makefile | 3 ++-
fonts/Xg/distinfo | 4 ++--
fonts/Xg/patches/patch-aa | 40 +++++++++++++++++++---------------------
3 files changed, 23 insertions(+), 24 deletions(-)
diffs (74 lines):
diff -r d28caee172bb -r 23c526deb982 fonts/Xg/Makefile
--- a/fonts/Xg/Makefile Thu Dec 17 17:23:36 2009 +0000
+++ b/fonts/Xg/Makefile Thu Dec 17 17:31:11 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2006/03/04 21:29:38 jlam Exp $
+# $NetBSD: Makefile,v 1.25 2009/12/17 17:31:11 abs Exp $
DISTNAME= libXg.utf.fonts
PKGNAME= libXgFonts-1.0
@@ -12,6 +12,7 @@
WRKSRC= ${WRKDIR}
NO_BUILD= yes
USE_X11BASE= yes
+PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= bdftopcf
FONTS_DIRS.x11= ${PREFIX}/lib/X11/fonts/Xg
diff -r d28caee172bb -r 23c526deb982 fonts/Xg/distinfo
--- a/fonts/Xg/distinfo Thu Dec 17 17:23:36 2009 +0000
+++ b/fonts/Xg/distinfo Thu Dec 17 17:31:11 2009 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 19:18:26 agc Exp $
+$NetBSD: distinfo,v 1.4 2009/12/17 17:31:11 abs Exp $
SHA1 (libXg.utf.fonts.tar.gz) = 9c2088486cd8644a3771cc97e818a8ac43ce6f22
RMD160 (libXg.utf.fonts.tar.gz) = b6314b4b3179c0851b1bb98eac21accaa2f2263c
Size (libXg.utf.fonts.tar.gz) = 1147674 bytes
-SHA1 (patch-aa) = 70c7a74c9c5078657f92d9d639eb589ce46546a5
+SHA1 (patch-aa) = f0f93c52e4c36a4ae35a4447fdcaa599b54dc825
diff -r d28caee172bb -r 23c526deb982 fonts/Xg/patches/patch-aa
--- a/fonts/Xg/patches/patch-aa Thu Dec 17 17:23:36 2009 +0000
+++ b/fonts/Xg/patches/patch-aa Thu Dec 17 17:31:11 2009 +0000
@@ -1,22 +1,20 @@
-$NetBSD: patch-aa,v 1.2 1998/08/07 11:11:16 agc Exp $
+$NetBSD: patch-aa,v 1.3 2009/12/17 17:31:11 abs Exp $
-*** Makefile~ Sun Aug 13 13:55:37 1995
---- Makefile Sun Aug 13 13:56:11 1995
-***************
-*** 0 ****
---- 1,15 ----
-+
-+ DESTDIR=$(PREFIX)/lib/X11/fonts/Xg
-+
-+ all:
-+ @echo nothing to be done for \`$@\'
-+ @echo this is an install-only target.
-+
-+ install:
-+ [ -d $(DESTDIR) ] || mkdir -p $(DESTDIR)
-+ for i in Xg/bdf/*.bdf; do b=$$(basename $$i .bdf); \
-+ rm -f $(DESTDIR)/$$b.pcf.Z; \
-+ bdftopcf -o $(DESTDIR)/$$b.pcf $$i; \
-+ compress $(DESTDIR)/$$b.pcf; \
-+ done; mkfontdir $(DESTDIR); \
-+ cp Xg/matty/unicode.9.font $(DESTDIR)
+--- Makefile.orig 2009-12-17 17:28:59.000000000 +0000
++++ Makefile
+@@ -0,0 +1,15 @@
++
++FONTDIR=$(DESTDIR)$(PREFIX)/lib/X11/fonts/Xg
++
++all:
++ @echo nothing to be done for \`$@\'
++ @echo this is an install-only target.
++
++install:
++ [ -d $(FONTDIR) ] || mkdir -p $(FONTDIR)
++ for i in Xg/bdf/*.bdf; do b=$$(basename $$i .bdf); \
++ rm -f $(FONTDIR)/$$b.pcf.Z; \
++ bdftopcf -o $(FONTDIR)/$$b.pcf $$i; \
++ compress $(FONTDIR)/$$b.pcf; \
++ done; mkfontdir $(FONTDIR); \
++ cp Xg/matty/unicode.9.font $(FONTDIR)
Home |
Main Index |
Thread Index |
Old Index