pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/fonts/terminus-font Specify *_TARGET instead of patch ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ef3f27fddd83
branches:  trunk
changeset: 518380:ef3f27fddd83
user:      obache <obache%pkgsrc.org@localhost>
date:      Thu Sep 07 17:19:41 2006 +0000

description:
Specify *_TARGET instead of patch to Makefile.
Suggested by Jukka Salmi via private mail.

diffstat:

 fonts/terminus-font/Makefile         |   5 ++++-
 fonts/terminus-font/distinfo         |   3 +--
 fonts/terminus-font/patches/patch-aa |  27 ---------------------------
 3 files changed, 5 insertions(+), 30 deletions(-)

diffs (61 lines):

diff -r 9a691bac1051 -r ef3f27fddd83 fonts/terminus-font/Makefile
--- a/fonts/terminus-font/Makefile      Thu Sep 07 17:13:17 2006 +0000
+++ b/fonts/terminus-font/Makefile      Thu Sep 07 17:19:41 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2006/09/07 17:13:17 obache Exp $
+# $NetBSD: Makefile,v 1.3 2006/09/07 17:19:41 obache Exp $
 #
 
 DISTNAME=              terminus-font-4.20
@@ -14,6 +14,9 @@
 HAS_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --x11dir=${PREFIX}/lib/X11/fonts/misc
 
+BUILD_TARGET=          pcf
+INSTALL_TARGET=                install-pcf
+
 FONTS_DIRS.x11=                ${PREFIX}/lib/X11/fonts/misc
 REQD_DIRS+=            ${PREFIX}/lib/X11/fonts/misc
 
diff -r 9a691bac1051 -r ef3f27fddd83 fonts/terminus-font/distinfo
--- a/fonts/terminus-font/distinfo      Thu Sep 07 17:13:17 2006 +0000
+++ b/fonts/terminus-font/distinfo      Thu Sep 07 17:19:41 2006 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/09/06 14:01:17 obache Exp $
+$NetBSD: distinfo,v 1.2 2006/09/07 17:19:41 obache Exp $
 
 SHA1 (terminus-font-4.20.tar.gz) = f8215f8236e72423c4720956587cbda4eeea9176
 RMD160 (terminus-font-4.20.tar.gz) = f7e8a3d6990d036d00c748dbb5ba466e3694e708
 Size (terminus-font-4.20.tar.gz) = 201816 bytes
-SHA1 (patch-aa) = 24349912ec279f5551acfae8f4cf14bd0abecbad
diff -r 9a691bac1051 -r ef3f27fddd83 fonts/terminus-font/patches/patch-aa
--- a/fonts/terminus-font/patches/patch-aa      Thu Sep 07 17:13:17 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2006/09/06 14:01:17 obache Exp $
-
---- Makefile.orig      2005-05-03 19:04:32.000000000 +0000
-+++ Makefile
-@@ -69,7 +69,7 @@ PCF_32N      = ter-132n.pcf ter-232n.pcf ter-
- PCF_32B       = ter-132b.pcf ter-232b.pcf ter-532b.pcf ter-932b.pcf ter-c32b.pcf ter-d32b.pcf ter-f32b.pcf ter-g32b.pcf ter-k32b.pcf ter-p32b.pcf ter-u32b.pcf ter-x32b.pcf
- PCF   = $(PCF_12N) $(PCF_14N) $(PCF_14B) $(PCF_16N) $(PCF_16B) $(PCF_20N) $(PCF_20B) $(PCF_24N) $(PCF_24B) $(PCF_28N) $(PCF_28B) $(PCF_32N) $(PCF_32B)
- 
--all: $(PSF) $(PCF)
-+all: $(PCF)
- psf: $(PSF)
- txt: $(TXT)
- raw: $(RAW)
-@@ -79,11 +79,9 @@ pcf: $(PCF)
- DESTDIR       = 
- prefix        = /usr
- psfdir        = $(prefix)/share/consolefonts
--x11dir        = $(prefix)/X11R6/lib/X11/fonts/local
-+x11dir        = $(PREFIX)/lib/X11/fonts/misc
- 
--install: $(PSF) $(PCF)
--      mkdir -p $(DESTDIR)$(psfdir)
--      for i in $(PSF) ; do gzip -c $$i > $(DESTDIR)$(psfdir)/$$i.gz ; done
-+install: $(PCF)
-       mkdir -p $(DESTDIR)$(x11dir)
-       for i in $(PCF) ; do gzip -c $$i > $(DESTDIR)$(x11dir)/$$i.gz ; done
- 



Home | Main Index | Thread Index | Old Index