Permalink
Fetching contributors…
Cannot retrieve contributors at this time
50 lines (36 sloc) 1.65 KB
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
name abcMIDI
version 2018.01.02
categories audio
platforms darwin
maintainers nomaintainer
license GPL-2+
description Abc to midi and vice versa converter
long_description ABC is a text-based music notation language. Abc2midi is a program that \
converts an abc music notation file to a MIDI file.
homepage https://ifdo.ca/~seymour/runabc/top.html
master_sites https://ifdo.ca/~seymour/runabc/
checksums rmd160 2c1d2df7c65854442aa47649c93487d779579d86 \
sha256 84700fe038e0e86432f38b237905667ecb8731960c623bf13d6c4b50d3b6e29c
patchfiles patch-makefile.diff
worksrcdir abcmidi
use_zip yes
post-extract {
xinstall -m 755 ${filespath}/configure ${worksrcpath}
}
configure.pre_args PREFIX=${prefix}
destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 755 -W ${worksrcpath} abc2abc abc2midi mftext midi2abc \
yaps ${destroot}${prefix}/bin
xinstall -m 644 -W ${worksrcpath}/doc abc2abc.1 abc2midi.1 mftext.1 \
midi2abc.1 yaps.1 ${destroot}${prefix}/share/man/man1
xinstall -m 644 -W ${worksrcpath}/doc AUTHORS CHANGES abcguide.txt gpl.txt \
history.txt readme.txt yapshelp.txt \
${destroot}${prefix}/share/doc/${name}
}
variant universal {}
livecheck.type regex
livecheck.url ${homepage}
livecheck.regex abcMIDI-(20\[0-9\]+\\.\[0-9\]+\\.\[0-9\]+)