Stage print/musixtex (the last unstaged port in the tree)

This commit is contained in:
John Marino 2014-09-10 21:04:55 +00:00
parent 3d51f99e54
commit 04aa665b7c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=367892
3 changed files with 39 additions and 46 deletions

View File

@ -3,10 +3,11 @@
PORTNAME= musixtex
PORTVERSION= T112
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= print
MASTER_SITES= http://icking-music-archive.org/software/musixtex/
DISTFILES= musixtex-${PORTVERSION}.tar.gz
DISTFILES= musixtex-${PORTVERSION}.tar.gz \
musixexa-${EXAMPLE_VERSION}.tar.gz
MAINTAINER= ports@FreeBSD.org
COMMENT= Set of TeX macros to typeset music
@ -15,17 +16,10 @@ BUILD_DEPENDS= initex:${PORTSDIR}/print/tex
RUN_DEPENDS= initex:${PORTSDIR}/print/tex
EXAMPLE_VERSION= T112
DISTFILES+= musixexa-${EXAMPLE_VERSION}.tar.gz
NO_STAGE= yes
post-extract:
@${MKDIR} ${WRKDIR}/musixtex-${PORTVERSION}/examples
@${CP} ${WRKDIR}/musixexa-${EXAMPLE_VERSION}/* ${WRKDIR}/musixtex-${PORTVERSION}/examples/
pre-install:
${MKDIR} ${PREFIX}/share/texmf/documentation
post-install:
@${LOCALBASE}/bin/texhash || ${TRUE}
@${CP} ${WRKDIR}/musixexa-${EXAMPLE_VERSION}/* \
${WRKDIR}/musixtex-${PORTVERSION}/examples/
.include <bsd.port.mk>

View File

@ -1,13 +1,9 @@
MusiXTeX is a set of TeX macros to typeset polyphonic, orchestral or
polyphonic music.
polyphonic music. This software is not recommended for users that are
familiar with TeX.
If you are not familiar with TeX at all I would recommend to find another
software package to do musical typesetting. Setting up TeX and MusiXTeX
on your machine and mastering it is an awesome job which gobbles up
a lot of your time and disk space. But, once you master it...
MusiXTeX is documented in /usr/local/lib/texmf/documentation/musixtex.tex. This
file must be processed with LaTeX and musixflx:
MusiXTeX is documented in lib/texmf/documentation/musixtex.tex. This
file must be processed with LaTeX and musixflx:
latex musixdoc
musixflx musixdoc
latex musixdoc
@ -16,8 +12,7 @@ file must be processed with LaTeX and musixflx:
makeindex musixdoc.idx
latex musixdoc
A few examples are provided in the directory
/usr/local/lib/texmf/documentation/musixtex.examples
Some examples are provided in lib/texmf/documentation/musixtex.examples
for instance, to typeset the file 'traeumer.tex' type:
musixtex traeumer
musixflx traeumer

View File

@ -2,20 +2,20 @@
set +x
cd $WRKSRC || exit 1
examples="adagio.tex albinoni.tex angescam.tex angescao.tex angescax.tex \
avemaria.tex avemarid.tex avemaril.tex avemario.tex avemarix.tex \
avemaroo.tex aveverch.tex aveverdd.tex aveveruc.tex aveverud.tex \
aveverum.tex chanson.tex dissonan.tex fantaisc.tex fantaisd.tex \
fantaisi.tex fantcmol.tex fantfuga.tex fstsaens.tex fugcmoll.tex \
fugue.tex gloriab.tex glorias.tex gloriax.tex gymnoman.tex \
ilestne.tex ilestnex.tex ilfaitda.tex ilfaitdx.tex kv315.tex \
kv315f.tex kv315h.tex kv315o.tex kv315org.tex marcello.tex \
marcon1.tex marcon2.tex marcon3.tex marconf.tex marconh.tex \
marcono.tex onuitbri.tex onuitbrr.tex onuitbrx.tex ostinato.tex \
pacifiqb.tex pacifiqn.tex pacifiqt.tex parnasum.tex prelfug.tex \
prelude.tex racine.tex recit.tex recueil.tex reves.tex romances.tex \
souvenir.tex souvenix.tex tierce.tex traeumer.tex widor.tex \
widor_16.tex widor_20.tex"
examples="adagio.tex albinoni.tex angescam.tex angescao.tex angescax.tex\
avemaria.tex avemarid.tex avemaril.tex avemario.tex avemarix.tex\
avemaroo.tex aveverch.tex aveverdd.tex aveveruc.tex aveverud.tex\
aveverum.tex chanson.tex dissonan.tex fantaisc.tex fantaisd.tex\
fantaisi.tex fantcmol.tex fantfuga.tex fstsaens.tex fugcmoll.tex\
fugue.tex gloriab.tex glorias.tex gloriax.tex gymnoman.tex\
ilestne.tex ilestnex.tex ilfaitda.tex ilfaitdx.tex kv315.tex\
kv315f.tex kv315h.tex kv315o.tex kv315org.tex marcello.tex\
marcon1.tex marcon2.tex marcon3.tex marconf.tex marconh.tex\
marcono.tex onuitbri.tex onuitbrr.tex onuitbrx.tex ostinato.tex\
pacifiqb.tex pacifiqn.tex pacifiqt.tex parnasum.tex prelfug.tex\
prelude.tex racine.tex recit.tex recueil.tex reves.tex romances.tex\
souvenir.tex souvenix.tex tierce.tex traeumer.tex widor.tex\
widor_16.tex widor_20.tex"
cat > Makefile <<END
all:
@ -24,17 +24,21 @@ all:
initex '&tex ../system/dos/musixtex.ins \dump')
install:
install -c -s -o bin -g bin musixflx $PREFIX/bin/
(cd $PREFIX/bin; ln -sf virtex musixtex)
install -c -o bin -g bin mf/*.mf $PREFIX/share/texmf/metafont/
install -c -o bin -g bin tfm/*.tfm $PREFIX/share/texmf/fonts/tfm/
install -c -o bin -g bin tex/musixtex.fmt $PREFIX/share/texmf/web2c/
install -c -o bin -g bin tex/*.tex tex/*.sty $PREFIX/share/texmf/tex/
install -c -o bin -g bin tex/musixdoc.tex tex/musixdoc.sty tex/backgrnd.sty \\
$PREFIX/share/texmf/documentation/
mkdir -p $PREFIX/share/texmf/documentation/musixtex.examples
for f in $examples; do install -c -o bin -g bin examples/\$\$f \\
$PREFIX/share/texmf/documentation/musixtex.examples/; done
mkdir -p \${DESTDIR}${PREFIX}/share/texmf/documentation/musixtex.examples \
\${DESTDIR}${PREFIX}/share/texmf/fonts/tfm \
\${DESTDIR}${PREFIX}/share/texmf/metafont \
\${DESTDIR}${PREFIX}/share/texmf/tex \
\${DESTDIR}${PREFIX}/share/texmf/web2c
${BSD_INSTALL_PROGRAM} musixflx \${DESTDIR}${PREFIX}/bin/
(cd \${DESTDIR}${PREFIX}/bin; ln -sf virtex musixtex)
${BSD_INSTALL_DATA} mf/*.mf \${DESTDIR}${PREFIX}/share/texmf/metafont
${BSD_INSTALL_DATA} tfm/*.tfm \${DESTDIR}${PREFIX}/share/texmf/fonts/tfm
${BSD_INSTALL_DATA} tex/musixtex.fmt \${DESTDIR}${PREFIX}/share/texmf/web2c
${BSD_INSTALL_DATA} tex/*.tex tex/*.sty \${DESTDIR}${PREFIX}/share/texmf/tex
${BSD_INSTALL_DATA} tex/musixdoc.tex tex/musixdoc.sty tex/backgrnd.sty \\
\${DESTDIR}${PREFIX}/share/texmf/documentation/
(cd examples && ${BSD_INSTALL_DATA} ${examples} \\
\${DESTDIR}${PREFIX}/share/texmf/documentation/musixtex.examples/)
END
exit 0