Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2014 21:04:55 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r367892 - in head/print/musixtex: . scripts
Message-ID:  <201409102104.s8AL4t4c068872@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Wed Sep 10 21:04:55 2014
New Revision: 367892
URL: http://svnweb.freebsd.org/changeset/ports/367892
QAT: https://qat.redports.org/buildarchive/r367892/

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

Modified:
  head/print/musixtex/Makefile
  head/print/musixtex/pkg-descr
  head/print/musixtex/scripts/configure

Modified: head/print/musixtex/Makefile
==============================================================================
--- head/print/musixtex/Makefile	Wed Sep 10 21:01:44 2014	(r367891)
+++ head/print/musixtex/Makefile	Wed Sep 10 21:04:55 2014	(r367892)
@@ -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/
 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>

Modified: head/print/musixtex/pkg-descr
==============================================================================
--- head/print/musixtex/pkg-descr	Wed Sep 10 21:01:44 2014	(r367891)
+++ head/print/musixtex/pkg-descr	Wed Sep 10 21:04:55 2014	(r367892)
@@ -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 m
   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

Modified: head/print/musixtex/scripts/configure
==============================================================================
--- head/print/musixtex/scripts/configure	Wed Sep 10 21:01:44 2014	(r367891)
+++ head/print/musixtex/scripts/configure	Wed Sep 10 21:04:55 2014	(r367892)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409102104.s8AL4t4c068872>