musixtnt: unbundle from texlive_core

The package category dev-tex is an estimation, because Gentoo doesn't have thisi
as a separate package.
This commit is contained in:
Joachim Mairböck
2024-08-22 20:59:31 +02:00
parent f78479e116
commit db94f33698
2 changed files with 61 additions and 2 deletions

View File

@@ -267,7 +267,6 @@ PROVIDES="
cmd:mltex
cmd:mpost
cmd:mptopdf
cmd:msxlint
cmd:multibibliography
cmd:musixflx
cmd:musixtex
@@ -598,7 +597,6 @@ defineDebugInfoPackage texlive_core$secondaryArchSuffix \
$prefix/bin/mfluajit \
$prefix/bin/mft \
$prefix/bin/mpost \
$prefix/bin/msxlint \
$prefix/bin/odvicopy \
$prefix/bin/odvitype \
$prefix/bin/omfonts \
@@ -838,6 +836,7 @@ BUILD()
--disable-gregorio \
--disable-gsftopk \
--disable-lcdf-typetools \
--disable-musixtnt \
--disable-t1utils \
--build=$HOST --host=$HOST

View File

@@ -0,0 +1,60 @@
SUMMARY="A MusiXTEX extension library that enables transformations"
DESCRIPTION="musixtnt.tex provides a macro \\TransformNotes that enables transformations of the \
effect of notes commands such as \\notes. In general, the effect of \
\\TransformNotes{input}{output} is that notes commands in the source will expect their arguments \
to match the input pattern, but the notes will be typeset according to the output pattern. An \
example is extracting single-instrument parts from a multi-instrument score.
fixmsxpart corrects note spacing in a single-part MusiXTEX source (possibly derived from a \
multi-instrument score and as a result having irregular note spacing).
msxlint detects incorrectly formatted notes lines in a MusiXTEX source file. This should be used \
before using \\TransformNotes."
HOMEPAGE="https://ctan.org/tex-archive/macros/generic/musixtnt"
COPYRIGHT="20152016 Bob Tennent"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://mirrors.ctan.org/macros/generic/musixtnt/musixtnt-${portVersion//_/-}.tar.gz"
CHECKSUM_SHA256="13f901094ee11abe80c25ee6139634af820bfeb587099c3baa903fcd688ca9e9"
SOURCE_DIR="musixtnt-${portVersion//_/-}"
ARCHITECTURES="all"
PROVIDES="
musixtnt = $portVersion
cmd:msxlint
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:awk
cmd:gcc
cmd:make
"
TEST_REQUIRES="
cmd:diff
"
defineDebugInfoPackage musixtnt \
$binDir/msxlint
BUILD()
{
runConfigure ./configure
# override default cflags for gcc2 support
make $jobArgs AM_CFLAGS="-ansi -Wall"
}
INSTALL()
{
make install
}
TEST()
{
make check
}