mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
46 lines
1.4 KiB
Tcl
46 lines
1.4 KiB
Tcl
# -*- 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 2026.06.09
|
|
revision 0
|
|
|
|
categories audio
|
|
maintainers {judaew @judaew} openmaintainer
|
|
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 cda8b5f323d13c5d6a6b7582a3fad69734577c10 \
|
|
sha256 4b19d93b66cf382e0a50e91206b1ac2082bdceeaa29d29f8b61738b576db8c40 \
|
|
size 639201
|
|
|
|
use_zip yes
|
|
set worksrcpath ${workpath}/abcmidi
|
|
|
|
post-extract {
|
|
file attributes ${worksrcpath}/configure -permissions a+x
|
|
|
|
foreach f [glob -types d ${worksrcpath}/*] {
|
|
file attributes ${f} -permissions 0755
|
|
}
|
|
}
|
|
|
|
patchfiles-append patch-configure.diff
|
|
|
|
test.run yes
|
|
test {
|
|
system -W ${worksrcpath}/samples "../abc2midi drums.abc"
|
|
system -W ${worksrcpath}/samples "../midi2abc drums1.mid"
|
|
}
|
|
|
|
livecheck.type regex
|
|
livecheck.url ${homepage}
|
|
livecheck.regex abcMIDI-(20\[0-9\]+\\.\[0-9\]+\\.\[0-9\]+)
|