diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/chord/Makefile | 4 | ||||
-rw-r--r-- | misc/chord/distinfo | 4 | ||||
-rw-r--r-- | misc/chord/patches/patch-aa | 43 |
3 files changed, 19 insertions, 32 deletions
diff --git a/misc/chord/Makefile b/misc/chord/Makefile index a22e618ebf1..950d28e7154 100644 --- a/misc/chord/Makefile +++ b/misc/chord/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2003/07/17 21:48:47 grant Exp $ +# $NetBSD: Makefile,v 1.11 2003/09/22 12:29:19 wiz Exp $ # FreeBSD Id: Makefile,v 1.4 1997/04/30 03:18:06 asami Exp # @@ -12,6 +12,6 @@ COMMENT= Produce PS sheet-music from text input NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL -MANCOMPRESSED= yes +CFLAGS+= -DPAPERSIZE=${PAPERSIZE} .include "../../mk/bsd.pkg.mk" diff --git a/misc/chord/distinfo b/misc/chord/distinfo index af9783c35aa..eac66cee58c 100644 --- a/misc/chord/distinfo +++ b/misc/chord/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.3 2001/07/22 01:16:58 wiz Exp $ +$NetBSD: distinfo,v 1.4 2003/09/22 12:29:19 wiz Exp $ SHA1 (chord.tar.gz) = 2d93a43ee153f840786d7218cf49b44c85d19388 Size (chord.tar.gz) = 74809 bytes -SHA1 (patch-aa) = 3af8a5e93e0c9c4f3dbf45cdc598daae96531509 +SHA1 (patch-aa) = 8625a6cf246d265c305faaffd826e984b30fdbc3 SHA1 (patch-ab) = d99fade958792cf1b31905d5b685b6cbfd699585 diff --git a/misc/chord/patches/patch-aa b/misc/chord/patches/patch-aa index 24f4b12cfd4..dddfd50f93e 100644 --- a/misc/chord/patches/patch-aa +++ b/misc/chord/patches/patch-aa @@ -1,13 +1,15 @@ -$NetBSD: patch-aa,v 1.2 1998/08/07 11:10:11 agc Exp $ +$NetBSD: patch-aa,v 1.3 2003/09/22 12:29:20 wiz Exp $ ---- ./Makefile.org Tue Apr 25 00:04:52 1995 -+++ ./Makefile Tue Apr 25 00:14:57 1995 -@@ -9,14 +9,14 @@ +--- Makefile.orig Tue Apr 25 08:04:52 1995 ++++ Makefile Mon Sep 22 11:18:10 2003 +@@ -8,15 +8,15 @@ + #GETOPT = getopt.o # Use a ansi or K&R compiler - CC = cc +-CC = cc -CFLAGS = -D$(PAPERSIZE) -g -+CFLAGS = -D$(PAPERSIZE) -O2 ++#CC = cc ++#CFLAGS = -D$(PAPERSIZE) -g # where to put the resulting program -BINDIR = /usr/local/bin @@ -21,38 +23,23 @@ $NetBSD: patch-aa,v 1.2 1998/08/07 11:10:11 agc Exp $ # You should not have to change anything below this line -@@ -37,7 +37,7 @@ - - a2crd: a2crd.o Makefile - $(CC) $(CFLAGS) -o $@ a2crd.o common.o -- -+ - chord.o : chord.h - common.o : chord.h - grid.o : chord.h -@@ -46,13 +46,14 @@ +@@ -46,13 +46,12 @@ toc.o : chord.h install : all - cp $(PROGRAMS) $(BINDIR) - rm -f $(MANDIR)/cat$(MANEXT)/chord.$(MANEXT) -+ install -c -s $(PROGRAMS) $(BINDIR) - cp chord.man $(MANDIR)/man$(MANEXT)/chord.$(MANEXT) +- cp chord.man $(MANDIR)/man$(MANEXT)/chord.$(MANEXT) - chmod 666 $(MANDIR)/man$(MANEXT)/chord.$(MANEXT) - Cp a2crd.man $(MANDIR)/man$(MANEXT)/a2crd.$(MANEXT) - chmod 666 $(MANDIR)/man$(MANEXT)/a2crd.$(MANEXT) - -+ chmod 444 $(MANDIR)/man$(MANEXT)/chord.$(MANEXT) -+ gzip -9nf $(MANDIR)/man$(MANEXT)/chord.$(MANEXT) -+ cp a2crd.man $(MANDIR)/man$(MANEXT)/a2crd.$(MANEXT) -+ chmod 444 $(MANDIR)/man$(MANEXT)/a2crd.$(MANEXT) -+ gzip -9nf $(MANDIR)/man$(MANEXT)/a2crd.$(MANEXT) ++ for prog in $(PROGRAMS); do \ ++ ${BSD_INSTALL_PROGRAM} $$prog $(BINDIR)/$$prog; \ ++ done ++ ${BSD_INSTALL_MAN} chord.man $(MANDIR)/man$(MANEXT)/chord.$(MANEXT) ++ ${BSD_INSTALL_MAN} a2crd.man $(MANDIR)/man$(MANEXT)/a2crd.$(MANEXT) + shar : $(SRC) rm -f $(RELNAME).part* shar -F -L 60 -o $(RELNAME).part $(SRC) $(INCL) $(SONGS) $(DOCS) -@@ -68,4 +69,3 @@ - clean: - rm -f core *.o chord - -- |