1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

add abcmidi 36

Convert abc music files to MIDI and PostScript

PR:		35708
Submitted by:	sue
This commit is contained in:
Ying-Chieh Liao 2002-09-18 07:08:35 +00:00
parent 4a411a2917
commit 54a9a26b81
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=66558
8 changed files with 91 additions and 0 deletions

View File

@ -3,6 +3,7 @@
SUBDIR += Maaate
SUBDIR += abcde
SUBDIR += abcmidi
SUBDIR += abcselect
SUBDIR += ac3dec
SUBDIR += adpcm

42
audio/abcmidi/Makefile Normal file
View File

@ -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>

1
audio/abcmidi/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (abcMIDI.tar.gz) = 11efd4ba996dbe6c5668136c529c6a5a

View File

@ -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

View File

@ -0,0 +1 @@
Convert abc music files to MIDI and PostScript

22
audio/abcmidi/pkg-descr Normal file
View File

@ -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

View File

@ -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).

10
audio/abcmidi/pkg-plist Normal file
View File

@ -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