diff options
author | abs <abs> | 2009-12-17 17:31:11 +0000 |
---|---|---|
committer | abs <abs> | 2009-12-17 17:31:11 +0000 |
commit | a5716d14ddd397d73f2fb0b7882505a3674887b3 (patch) | |
tree | 125e500fcd01f95711a35c4bdabf54f79a5ce426 /fonts | |
parent | f56a34dabf6595daa935ce8487110f81a4d183db (diff) | |
download | pkgsrc-a5716d14ddd397d73f2fb0b7882505a3674887b3.tar.gz |
PKG_DESTDIR_SUPPORT
Diffstat (limited to 'fonts')
-rw-r--r-- | fonts/Xg/Makefile | 3 | ||||
-rw-r--r-- | fonts/Xg/distinfo | 4 | ||||
-rw-r--r-- | fonts/Xg/patches/patch-aa | 40 |
3 files changed, 23 insertions, 24 deletions
diff --git a/fonts/Xg/Makefile b/fonts/Xg/Makefile index 34e9116b018..9b4c84c3007 100644 --- a/fonts/Xg/Makefile +++ b/fonts/Xg/Makefile @@ -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 @@ COMMENT= These are the UNICODE fonts for use with 9term and sam 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 --git a/fonts/Xg/distinfo b/fonts/Xg/distinfo index 032e01cd251..4b78fa4dcc9 100644 --- a/fonts/Xg/distinfo +++ b/fonts/Xg/distinfo @@ -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 --git a/fonts/Xg/patches/patch-aa b/fonts/Xg/patches/patch-aa index 251eaae1e4e..e743ce68d37 100644 --- a/fonts/Xg/patches/patch-aa +++ b/fonts/Xg/patches/patch-aa @@ -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) |