Thu Dec 17 17:31:11 2009 UTC ()
PKG_DESTDIR_SUPPORT


(abs)
diff -r1.24 -r1.25 pkgsrc/fonts/Xg/Makefile
diff -r1.3 -r1.4 pkgsrc/fonts/Xg/distinfo
diff -r1.2 -r1.3 pkgsrc/fonts/Xg/patches/patch-aa

cvs diff -r1.24 -r1.25 pkgsrc/fonts/Xg/Makefile (expand / switch to unified diff)

--- pkgsrc/fonts/Xg/Makefile 2006/03/04 21:29:38 1.24
+++ pkgsrc/fonts/Xg/Makefile 2009/12/17 17:31:11 1.25
@@ -1,20 +1,21 @@ @@ -1,20 +1,21 @@
1# $NetBSD: Makefile,v 1.24 2006/03/04 21:29:38 jlam Exp $ 1# $NetBSD: Makefile,v 1.25 2009/12/17 17:31:11 abs Exp $
2 2
3DISTNAME= libXg.utf.fonts 3DISTNAME= libXg.utf.fonts
4PKGNAME= libXgFonts-1.0 4PKGNAME= libXgFonts-1.0
5PKGREVISION= 2 5PKGREVISION= 2
6CATEGORIES= fonts plan9 6CATEGORIES= fonts plan9
7MASTER_SITES= ftp://ftp.ecf.toronto.edu/pub/plan9/matty/ 7MASTER_SITES= ftp://ftp.ecf.toronto.edu/pub/plan9/matty/
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10COMMENT= These are the UNICODE fonts for use with 9term and sam 10COMMENT= These are the UNICODE fonts for use with 9term and sam
11 11
12WRKSRC= ${WRKDIR} 12WRKSRC= ${WRKDIR}
13NO_BUILD= yes 13NO_BUILD= yes
14USE_X11BASE= yes 14USE_X11BASE= yes
 15PKG_DESTDIR_SUPPORT= user-destdir
15 16
16USE_TOOLS+= bdftopcf 17USE_TOOLS+= bdftopcf
17FONTS_DIRS.x11= ${PREFIX}/lib/X11/fonts/Xg 18FONTS_DIRS.x11= ${PREFIX}/lib/X11/fonts/Xg
18REQD_DIRS= ${PREFIX}/lib/X11/fonts/Xg 19REQD_DIRS= ${PREFIX}/lib/X11/fonts/Xg
19 20
20.include "../../mk/bsd.pkg.mk" 21.include "../../mk/bsd.pkg.mk"

cvs diff -r1.3 -r1.4 pkgsrc/fonts/Xg/distinfo (expand / switch to unified diff)

--- pkgsrc/fonts/Xg/distinfo 2005/02/23 19:18:26 1.3
+++ pkgsrc/fonts/Xg/distinfo 2009/12/17 17:31:11 1.4
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.3 2005/02/23 19:18:26 agc Exp $ 1$NetBSD: distinfo,v 1.4 2009/12/17 17:31:11 abs Exp $
2 2
3SHA1 (libXg.utf.fonts.tar.gz) = 9c2088486cd8644a3771cc97e818a8ac43ce6f22 3SHA1 (libXg.utf.fonts.tar.gz) = 9c2088486cd8644a3771cc97e818a8ac43ce6f22
4RMD160 (libXg.utf.fonts.tar.gz) = b6314b4b3179c0851b1bb98eac21accaa2f2263c 4RMD160 (libXg.utf.fonts.tar.gz) = b6314b4b3179c0851b1bb98eac21accaa2f2263c
5Size (libXg.utf.fonts.tar.gz) = 1147674 bytes 5Size (libXg.utf.fonts.tar.gz) = 1147674 bytes
6SHA1 (patch-aa) = 70c7a74c9c5078657f92d9d639eb589ce46546a5 6SHA1 (patch-aa) = f0f93c52e4c36a4ae35a4447fdcaa599b54dc825

cvs diff -r1.2 -r1.3 pkgsrc/fonts/Xg/patches/patch-aa (expand / switch to unified diff)

--- pkgsrc/fonts/Xg/patches/patch-aa 1998/08/07 11:11:16 1.2
+++ pkgsrc/fonts/Xg/patches/patch-aa 2009/12/17 17:31:11 1.3
@@ -1,22 +1,20 @@ @@ -1,22 +1,20 @@
1$NetBSD: patch-aa,v 1.2 1998/08/07 11:11:16 agc Exp $ 1$NetBSD: patch-aa,v 1.3 2009/12/17 17:31:11 abs Exp $
2 2
3*** Makefile~ Sun Aug 13 13:55:37 1995 3--- Makefile.orig 2009-12-17 17:28:59.000000000 +0000
4--- Makefile Sun Aug 13 13:56:11 1995 4+++ Makefile
5*************** 5@@ -0,0 +1,15 @@
6*** 0 **** 6+
7--- 1,15 ---- 7+FONTDIR=$(DESTDIR)$(PREFIX)/lib/X11/fonts/Xg
8+  8+
9+ DESTDIR=$(PREFIX)/lib/X11/fonts/Xg 9+all:
10+  10+ @echo nothing to be done for \`$@\'
11+ all: 11+ @echo this is an install-only target.
12+ @echo nothing to be done for \`$@\' 12+
13+ @echo this is an install-only target. 13+install:
14+  14+ [ -d $(FONTDIR) ] || mkdir -p $(FONTDIR)
15+ install: 15+ for i in Xg/bdf/*.bdf; do b=$$(basename $$i .bdf); \
16+ [ -d $(DESTDIR) ] || mkdir -p $(DESTDIR) 16+ rm -f $(FONTDIR)/$$b.pcf.Z; \
17+ for i in Xg/bdf/*.bdf; do b=$$(basename $$i .bdf); \ 17+ bdftopcf -o $(FONTDIR)/$$b.pcf $$i; \
18+ rm -f $(DESTDIR)/$$b.pcf.Z; \ 18+ compress $(FONTDIR)/$$b.pcf; \
19+ bdftopcf -o $(DESTDIR)/$$b.pcf $$i; \ 19+ done; mkfontdir $(FONTDIR); \
20+ compress $(DESTDIR)/$$b.pcf; \ 20+ cp Xg/matty/unicode.9.font $(FONTDIR)
21+ done; mkfontdir $(DESTDIR); \ 
22+ cp Xg/matty/unicode.9.font $(DESTDIR)