mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
74 lines
1.7 KiB
Bash
74 lines
1.7 KiB
Bash
SUMMARY="Preprocessor for MusiXTEX"
|
|
DESCRIPTION="PMX provides a preprocessor for MusiXTeX.
|
|
|
|
pmxab builds a TeX input file based on a .pmx input file in a much simpler language, making most \
|
|
of the layout decisions by itself. It has most of MusiXTeX's functionality, but it also permits \
|
|
in-line TeX to give access to virtually all of MusiXTeX. For proof-listening, pmxab will make a \
|
|
MIDI file of your score.
|
|
|
|
scor2prt is an auxiliary program that makes parts from a score."
|
|
HOMEPAGE="http://icking-music-archive.org/software/htdocs/index.html"
|
|
COPYRIGHT="Don Simons"
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="1"
|
|
SOURCE_URI="https://mirrors.ctan.org/support/pmx/source/pmx-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="7695db503ea4eef96c313c737bf5dc471526429cbeef091f1ac542a88408eb82"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
pmx$secondaryArchSuffix = $portVersion
|
|
cmd:pmxab = $portVersion
|
|
cmd:scor2prt
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libgfortran$secondaryArchSuffix
|
|
lib:libquadmath$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
#cmd:awk
|
|
cmd:gcc$secondaryArchSuffix # missing requirement of gfortran?
|
|
cmd:gfortran$secondaryArchSuffix
|
|
#cmd:make
|
|
"
|
|
|
|
TEST_REQUIRES="
|
|
cmd:diff
|
|
"
|
|
|
|
defineDebugInfoPackage pmx$secondaryArchSuffix \
|
|
$prefix/bin/pmxab \
|
|
$prefix/bin/scor2prt
|
|
|
|
BUILD()
|
|
{
|
|
# there is no build-system for the direct fortran build
|
|
gfortran -g -O2 -o pmxab pmx${portVersion//./}.for
|
|
gfortran -g -O2 -o scor2prt scor2prt.for
|
|
|
|
#runConfigure --omit-dirs "binDir" ./configure \
|
|
# --bindir=$prefix/bin
|
|
#make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $prefix/bin
|
|
cp pmxab scor2prt $prefix/bin
|
|
|
|
#make install
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
srcdir=. test_src=tests ./pmx.test
|
|
|
|
#make check
|
|
}
|