diff options
author | Maik Schreiber <blizzy@gentoo.org> | 2002-10-21 17:53:34 +0000 |
---|---|---|
committer | Maik Schreiber <blizzy@gentoo.org> | 2002-10-21 17:53:34 +0000 |
commit | 3c41eec8804e8d63e241413182121ee68c46a5c7 (patch) | |
tree | 359d62d6745c5710bbc105d4ec0194aa46102acc /media-sound/mup | |
parent | lrmi added (diff) | |
download | historical-3c41eec8804e8d63e241413182121ee68c46a5c7.tar.gz historical-3c41eec8804e8d63e241413182121ee68c46a5c7.tar.bz2 historical-3c41eec8804e8d63e241413182121ee68c46a5c7.zip |
new version
Diffstat (limited to 'media-sound/mup')
-rw-r--r-- | media-sound/mup/ChangeLog | 9 | ||||
-rw-r--r-- | media-sound/mup/files/digest-mup-4.4 | 2 | ||||
-rw-r--r-- | media-sound/mup/mup-4.4.ebuild | 94 |
3 files changed, 103 insertions, 2 deletions
diff --git a/media-sound/mup/ChangeLog b/media-sound/mup/ChangeLog index 2beba31b25da..9acd7a2ff668 100644 --- a/media-sound/mup/ChangeLog +++ b/media-sound/mup/ChangeLog @@ -1,8 +1,13 @@ # ChangeLog for media-sound/mup # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/media-sound/mup/ChangeLog,v 1.1 2002/02/26 07:31:02 gbevin Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mup/ChangeLog,v 1.2 2002/10/21 17:53:34 blizzy Exp $ -*mup-4.3 (26/02/2002) +*mup-4.4 (21 Oct 2002) + + 21 Oct 2002; Maik Schreiber <blizzy@gentoo.org> : New version, closes bug + #7880. + +*mup-4.3 (26 Feb 2002) 26 Feb 2002; G.Bevin <gbevin@gentoo.org> : diff --git a/media-sound/mup/files/digest-mup-4.4 b/media-sound/mup/files/digest-mup-4.4 new file mode 100644 index 000000000000..7389b592f6b2 --- /dev/null +++ b/media-sound/mup/files/digest-mup-4.4 @@ -0,0 +1,2 @@ +MD5 c6197621dcbfe4133575a2ddb8311441 mup44src.tar.gz 704850 +MD5 6dfd17cd78021c12ebede6371eeb24f1 mup44doc.tar.gz 558212 diff --git a/media-sound/mup/mup-4.4.ebuild b/media-sound/mup/mup-4.4.ebuild new file mode 100644 index 000000000000..dd55c3da3ab3 --- /dev/null +++ b/media-sound/mup/mup-4.4.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/mup/mup-4.4.ebuild,v 1.1 2002/10/21 17:53:34 blizzy Exp $ + +MY_P="${PN}44" + +DESCRIPTION="Program for printing music scores." +SRC_URI="ftp://ftp.arkkra.com/pub/unix/${MY_P}src.tar.gz + ftp://ftp.arkkra.com/pub/unix/${MY_P}doc.tar.gz" +HOMEPAGE="http://www.arkkra.com" +LICENSE="Arkkra" +SLOT="0" +KEYWORDS="~x86" +IUSE="X svga" + +RDEPEND="X? ( virtual/x11 ) + svga? ( >=media-libs/svgalib-1.4.3 )" + +S="${WORKDIR}" + +src_unpack() { + mkdir doc + + unpack ${MY_P}src.tar.gz + + cd doc + unpack ${MY_P}doc.tar.gz +} + +src_compile() { + local param + + cd mup + cc -O2 -o mup *.c -lm + + cd ../mkmupfnt + cc -o mkmupfnt *.c + + if [ -n "`use X`" -o -n "`use svga`" ] ; then + cd ../mupdisp + if [ -n "`use X`" ] ; then + param="-lX11 -L/usr/X11R6/lib" + else + mv dispttyp.h dispttyp.h.orig + sed <dispttyp.h.orig >dispttyp.h \ + -e '/^#define XWINDOW/ d' + fi + if [ -n "`use svga`" ] ; then + param="${param} -lvga" + else + param="${param} -DNO_VGA_LIB" + fi + cc -o mupdisp *.c -lm ${param} + fi +} + +src_install () { + dobin mup/mup + dobin mkmupfnt/mkmupfnt + dobin mupprnt + if [ -n "`use X`" -o -n "`use svga`" ] ; then + dobin mupdisp/mupdisp + fi + + dodoc license.txt README0 + cd doc + dodoc faq.txt mupfeat.txt overview.txt register.txt README1 \ + mkmupfnt.ps mupdisp.ps mupprnt.ps mup.ps mupqref.ps oddeven.ps uguide.ps + + doman mup.1 mupprnt.1 mkmupfnt.1 + if [ -n "`use X`" -o -n "`use svga`" ] ; then + doman mupdisp.1 + fi + + dohtml uguide/* + + docinto sample + dodoc sample.mup sample.ps star.mup star.ps template.mup +} + +pkg_postinst() { + if [ "`use svga`" ] ; then + einfo "Please note that using mupdisp in SVGA mode on the console" + einfo "requires that it can write to the console device. To allow" + einfo "this, make mupdisp setuid to root, like this:" + einfo "" + einfo "\tchown root:root /usr/bin/mupdisp" + einfo "\tchmod u+s /usr/bin/mupdisp" + fi + if [ -n "`use X`" -o -n "`use svga`" ] ; then + echo + einfo "If you want to use mupdisp, make sure you also install ghostscript." + fi +} |