mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
pmx: unbundle from texlive_core
The category is again an estimation because there is no separate package in Gentoo.
This commit is contained in:
@@ -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 \
|
||||
|
||||
73
dev-tex/pmx/pmx-3.0.0.recipe
Normal file
73
dev-tex/pmx/pmx-3.0.0.recipe
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user