summaryrefslogtreecommitdiff
path: root/print/abc2ps
diff options
context:
space:
mode:
authorben <ben@pkgsrc.org>2006-04-01 14:32:48 +0000
committerben <ben@pkgsrc.org>2006-04-01 14:32:48 +0000
commitb569b53657b8b621f319f050fafa1d57d8a5d63c (patch)
tree1fc6aa915d9b37fe384d0893387596c0780096ca /print/abc2ps
parent111c7dcb3ab8f0e3f82d65a2759795e63c96359d (diff)
downloadpkgsrc-b569b53657b8b621f319f050fafa1d57d8a5d63c.tar.gz
Initial import of abc2ps-1.3.3, a music typesetting program for abc.
Abc2ps is a typesetting program for abc. It reads a file containing abc code and outputs the music to another file in Postscript. The music can then displayed (i.e. using ghostview) or printed on a Postscript printer. The program is written in C and runs on most systems which have a C compiler.
Diffstat (limited to 'print/abc2ps')
-rw-r--r--print/abc2ps/DESCR5
-rw-r--r--print/abc2ps/Makefile32
-rw-r--r--print/abc2ps/PLIST24
-rw-r--r--print/abc2ps/distinfo6
-rw-r--r--print/abc2ps/patches/patch-aa13
5 files changed, 80 insertions, 0 deletions
diff --git a/print/abc2ps/DESCR b/print/abc2ps/DESCR
new file mode 100644
index 00000000000..22dd7d80c1a
--- /dev/null
+++ b/print/abc2ps/DESCR
@@ -0,0 +1,5 @@
+Abc2ps is a typesetting program for abc. It reads a file containing abc
+code and outputs the music to another file in Postscript. The music can
+then displayed (i.e. using ghostview) or printed on a Postscript
+printer. The program is written in C and runs on most systems which have
+a C compiler.
diff --git a/print/abc2ps/Makefile b/print/abc2ps/Makefile
new file mode 100644
index 00000000000..56ab0cd9618
--- /dev/null
+++ b/print/abc2ps/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/04/01 14:32:48 ben Exp $
+#
+
+DISTNAME= ABC2PS-${ABC2PSVER}
+PKGNAME= abc2ps-${ABC2PSVER}
+CATEGORIES= print
+MASTER_SITES= http://www.ihp-ffo.de/~msm/abc_src/
+EXTRACT_SUFX= .tar.Z
+WRKSRC= ${WRKDIR}
+
+MAINTAINER= ben@NetBSD.org
+HOMEPAGE= http://www.ihp-ffo.de/~msm/
+COMMENT= Music typesetting program for abc
+
+ABC2PSVER= 1.3.3
+
+do-build:
+ cd ${WRKSRC} && ${CC} -o abc2ps abc2ps.c
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/abc2ps
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/abc2ps
+ ${INSTALL_PROGRAM} ${WRKSRC}/abc2ps ${PREFIX}/bin
+ cd ${WRKSRC} && ${INSTALL_DATA} Changes License New.Features \
+ ReadMe.abc2ps layout.txt ${PREFIX}/share/doc/abc2ps/
+ cd ${WRKSRC} && ${INSTALL_DATA} bach.abc blue_boy_bass.abc \
+ bran5.abc celloprelude.abc desafinado.abc fbook.fmt \
+ fonts.fmt journey.abc landscape.fmt mtunes1.abc \
+ newfeatures.abc sample.abc scotland.abc trio.abc \
+ voices.abc ${PREFIX}/share/examples/abc2ps/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/print/abc2ps/PLIST b/print/abc2ps/PLIST
new file mode 100644
index 00000000000..b6d6be35d65
--- /dev/null
+++ b/print/abc2ps/PLIST
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/04/01 14:32:48 ben Exp $
+bin/abc2ps
+share/doc/abc2ps/Changes
+share/doc/abc2ps/License
+share/doc/abc2ps/New.Features
+share/doc/abc2ps/ReadMe.abc2ps
+share/doc/abc2ps/layout.txt
+share/examples/abc2ps/bach.abc
+share/examples/abc2ps/blue_boy_bass.abc
+share/examples/abc2ps/bran5.abc
+share/examples/abc2ps/celloprelude.abc
+share/examples/abc2ps/desafinado.abc
+share/examples/abc2ps/fbook.fmt
+share/examples/abc2ps/fonts.fmt
+share/examples/abc2ps/journey.abc
+share/examples/abc2ps/landscape.fmt
+share/examples/abc2ps/mtunes1.abc
+share/examples/abc2ps/newfeatures.abc
+share/examples/abc2ps/sample.abc
+share/examples/abc2ps/scotland.abc
+share/examples/abc2ps/trio.abc
+share/examples/abc2ps/voices.abc
+@dirrm share/doc/abc2ps
+@dirrm share/examples/abc2ps
diff --git a/print/abc2ps/distinfo b/print/abc2ps/distinfo
new file mode 100644
index 00000000000..f7ba160a374
--- /dev/null
+++ b/print/abc2ps/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/04/01 14:32:48 ben Exp $
+
+SHA1 (ABC2PS-1.3.3.tar.Z) = 0596e3c1c357767407d984b33103549b70009d93
+RMD160 (ABC2PS-1.3.3.tar.Z) = bd73aee0443e34e95377b6f3b036e3f83cd63b1c
+Size (ABC2PS-1.3.3.tar.Z) = 186611 bytes
+SHA1 (patch-aa) = 8f128d6ea0ef91cbe67126febf1d7959e63604f7
diff --git a/print/abc2ps/patches/patch-aa b/print/abc2ps/patches/patch-aa
new file mode 100644
index 00000000000..46bc31bf06b
--- /dev/null
+++ b/print/abc2ps/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/04/01 14:32:48 ben Exp $
+
+--- buffer.h.orig 1999-03-17 09:49:21.000000000 -0800
++++ buffer.h
+@@ -103,7 +103,7 @@ void write_index_entry ()
+ }
+
+
+- if (strlen(info.comp)) fprintf (findex, "( - %s) S\n", info.comp);
++ if (strlen(info.comp[0])) fprintf (findex, "( - %s) S\n", info.comp[0]);
+
+ if (cfmt.withxrefs) fprintf (findex, "( [%s]) S\n", info.xref);
+