summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-09-18 07:08:35 +0000
committerijliao <ijliao@FreeBSD.org>2002-09-18 07:08:35 +0000
commitd6688532af01d8764c6205b8f035ff29fc61c106 (patch)
tree4b5d98094a1028701e64abc0e728d2c8227c40f7 /audio
parentd43e00208be63a6af62a3a46af1706b582458266 (diff)
downloadFreeBSD-ports-d6688532af01d8764c6205b8f035ff29fc61c106.zip
FreeBSD-ports-d6688532af01d8764c6205b8f035ff29fc61c106.tar.gz
add abcmidi 36
Convert abc music files to MIDI and PostScript PR: 35708 Submitted by: sue
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/abcmidi/Makefile42
-rw-r--r--audio/abcmidi/distinfo1
-rw-r--r--audio/abcmidi/files/pactch-unix.mak8
-rw-r--r--audio/abcmidi/pkg-comment1
-rw-r--r--audio/abcmidi/pkg-descr22
-rw-r--r--audio/abcmidi/pkg-message6
-rw-r--r--audio/abcmidi/pkg-plist10
8 files changed, 91 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index b07769b..9a8b829 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -3,6 +3,7 @@
SUBDIR += Maaate
SUBDIR += abcde
+ SUBDIR += abcmidi
SUBDIR += abcselect
SUBDIR += ac3dec
SUBDIR += adpcm
diff --git a/audio/abcmidi/Makefile b/audio/abcmidi/Makefile
new file mode 100644
index 0000000..e8544d0
--- /dev/null
+++ b/audio/abcmidi/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: abcmidi
+# Date created: 10 March 2002
+# Whom: Sue Blake <sue@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= abcmidi
+PORTVERSION= 36
+CATEGORIES= audio
+MASTER_SITES= http://abc.sourceforge.net/abcMIDI/
+DISTNAME= abcMIDI
+
+MAINTAINER= sue@FreeBSD.org
+
+USE_REINPLACE= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}
+USE_GMAKE= yes
+MAKEFILE= unix.mak
+
+DOCS= abcguide.txt demo.abc readme.txt yaps.txt
+
+pre-patch:
+.for file in ${DOCS} ${MAKEFILE}
+ @(cd ${WRKSRC} ; ${MV} -f ${file} ${file}.orig ; \
+ ${TR} -d '\r' < ${file}.orig > ${file})
+.endfor
+ @${REINPLACE_CMD} -e "s,^CC,#CC,g" -e "s,^CFLAGS=,CFLAGS+=,g" \
+ ${WRKSRC}/${MAKEFILE}
+
+do-install:
+.for file in abc2abc abc2midi mftext midi2abc yaps
+ ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
+.endfor
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/audio/abcmidi/distinfo b/audio/abcmidi/distinfo
new file mode 100644
index 0000000..288ae30
--- /dev/null
+++ b/audio/abcmidi/distinfo
@@ -0,0 +1 @@
+MD5 (abcMIDI.tar.gz) = 11efd4ba996dbe6c5668136c529c6a5a
diff --git a/audio/abcmidi/files/pactch-unix.mak b/audio/abcmidi/files/pactch-unix.mak
new file mode 100644
index 0000000..87c14cd
--- /dev/null
+++ b/audio/abcmidi/files/pactch-unix.mak
@@ -0,0 +1,8 @@
+--- unix.mak.orig Sat Mar 9 18:29:13 2002
++++ unix.mak Sat Mar 9 20:20:53 2002
+@@ -104,4 +104,4 @@
+ $(CC) $(CFLAGS) debug.c
+
+ clean :
+- rm *.o abc2midi midi2abc abc2abc mftext
++ rm *.o abc2midi midi2abc abc2abc mftext yaps
diff --git a/audio/abcmidi/pkg-comment b/audio/abcmidi/pkg-comment
new file mode 100644
index 0000000..79a4d98
--- /dev/null
+++ b/audio/abcmidi/pkg-comment
@@ -0,0 +1 @@
+Convert abc music files to MIDI and PostScript
diff --git a/audio/abcmidi/pkg-descr b/audio/abcmidi/pkg-descr
new file mode 100644
index 0000000..b96d89b
--- /dev/null
+++ b/audio/abcmidi/pkg-descr
@@ -0,0 +1,22 @@
+abcMIDI is James Allwright's collection of abc <-> MIDI
+conversion utilities, plus YAPS to convert abc files to
+PostScript for printing music scores.
+
+midi2abc - program to convert MIDI format files to abc notation.
+abc2midi - converts abc file to MIDI file(s).
+abc2abc - a simple abc checker/re-formatter/transposer.
+mftext - gives a verbose description of what is in a MIDI file.
+yaps - an abc to PostScript converter.
+
+Also includes:
+abcguide.txt - how to write abc files for these programs
+demo.abc - a collection of sample abc tunes
+Check ${PREFIX}/share/doc/abcmidi/ for these and other docs.
+
+The abc format is plain text, but you might optionally install
+a MIDI player (timidity) and a PostScript viewer (gv with ghostscript).
+
+WWW: http://abc.sourceforge.net/abcMIDI/
+
+- Sue Blake
+sue@freebsd.org
diff --git a/audio/abcmidi/pkg-message b/audio/abcmidi/pkg-message
new file mode 100644
index 0000000..06ac193
--- /dev/null
+++ b/audio/abcmidi/pkg-message
@@ -0,0 +1,6 @@
+
+Documentation and demo file are installed to
+ ${PREFIX}/share/doc/abcmidi/
+
+The abc format is plain text, but you might optionally install a
+MIDI player (timidity) and a PostScript viewer (gv with ghostscript).
diff --git a/audio/abcmidi/pkg-plist b/audio/abcmidi/pkg-plist
new file mode 100644
index 0000000..ed82313
--- /dev/null
+++ b/audio/abcmidi/pkg-plist
@@ -0,0 +1,10 @@
+bin/abc2abc
+bin/abc2midi
+bin/mftext
+bin/midi2abc
+bin/yaps
+%%PORTDOCS%%share/doc/abcmidi/abcguide.txt
+%%PORTDOCS%%share/doc/abcmidi/demo.abc
+%%PORTDOCS%%share/doc/abcmidi/readme.txt
+%%PORTDOCS%%share/doc/abcmidi/yaps.txt
+%%PORTDOCS%%@dirrm share/doc/abcmidi
OpenPOWER on IntegriCloud