pmx: unbundle from texlive_core

The category is again an estimation because there is no separate package in Gentoo.
This commit is contained in:
Joachim Mairböck
2024-08-31 21:13:35 +02:00
parent c47776113a
commit 9b4705a35a
2 changed files with 74 additions and 4 deletions

View File

@@ -315,7 +315,6 @@ PROVIDES="
cmd:platex_dev
cmd:pltotf
cmd:pmpost
cmd:pmxab
cmd:pmxchords
cmd:pn2pdf
cmd:pooltype
@@ -343,7 +342,6 @@ PROVIDES="
cmd:rumakeindex
cmd:rungs
cmd:runtexshebang
cmd:scor2prt
cmd:simpdftex
cmd:spix
cmd:splitindex
@@ -599,14 +597,12 @@ defineDebugInfoPackage texlive_core$secondaryArchSuffix \
$prefix/bin/pktype \
$prefix/bin/pltotf \
$prefix/bin/pmpost \
$prefix/bin/pmxab \
$prefix/bin/pooltype \
$prefix/bin/ppltotf \
$prefix/bin/ps2pk \
$prefix/bin/ptekf \
$prefix/bin/ptex \
$prefix/bin/ptftopl \
$prefix/bin/scor2prt \
$prefix/bin/synctex \
$prefix/bin/t4ht \
$prefix/bin/tangle \
@@ -815,6 +811,7 @@ BUILD()
--disable-lcdf-typetools \
--disable-musixtnt \
--disable-m-tx \
--disable-pmx \
--disable-psutils \
--disable-upmendex \
--disable-autosp \

View File

@@ -0,0 +1,73 @@
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
}