summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Holland <tigger@gentoo.org>2003-07-31 16:01:15 +0000
committerRob Holland <tigger@gentoo.org>2003-07-31 16:01:15 +0000
commit84cc9431a7368a3a830fe3e31e8b9ef3395d4f1c (patch)
treee0fb59831724c394c8354055a789defee968262f /media-sound/mup
parentVersion bump and tidied ebuild to make version bumps easier. Prompted by Wilb... (diff)
downloadgentoo-2-84cc9431a7368a3a830fe3e31e8b9ef3395d4f1c.tar.gz
gentoo-2-84cc9431a7368a3a830fe3e31e8b9ef3395d4f1c.tar.bz2
gentoo-2-84cc9431a7368a3a830fe3e31e8b9ef3395d4f1c.zip
Version bump and tidied ebuild to make version bumps easier. Prompted by Wilbert Berendsen <wilbert@oswf.org>, closes #18636
Diffstat (limited to 'media-sound/mup')
-rw-r--r--media-sound/mup/ChangeLog6
-rw-r--r--media-sound/mup/Manifest4
-rw-r--r--media-sound/mup/files/digest-mup-4.52
-rw-r--r--media-sound/mup/mup-4.5.ebuild93
4 files changed, 102 insertions, 3 deletions
diff --git a/media-sound/mup/ChangeLog b/media-sound/mup/ChangeLog
index 3a6a9d0f15b5..4b4314ffc874 100644
--- a/media-sound/mup/ChangeLog
+++ b/media-sound/mup/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/mup
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mup/ChangeLog,v 1.3 2003/02/12 07:32:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mup/ChangeLog,v 1.4 2003/07/31 16:00:58 tigger Exp $
+
+ 31 Jul 2003; rob holland <tigger@gentoo.org> :
+ Version bump and tidied ebuild to make version bumps easier. Prompted by
+ Wilbert Berendsen <wilbert@oswf.org>, closes #18636
*mup-4.4 (21 Oct 2002)
diff --git a/media-sound/mup/Manifest b/media-sound/mup/Manifest
index a7e3a99b950f..ebc0b61e2b20 100644
--- a/media-sound/mup/Manifest
+++ b/media-sound/mup/Manifest
@@ -1,7 +1,7 @@
MD5 edf3ac11b053eb583a519047e5e35ae4 mup-4.3.ebuild 1398
-MD5 49e9cdfa227678f6f3c812583a0337de mup-4.5.ebuild 2048
+MD5 532c326b8726b4d16dd5d385c67f2954 mup-4.5.ebuild 2141
MD5 87a61d062a4d99ad261d0d4b6c841250 mup-4.4.ebuild 2136
-MD5 9d5bcca61141d28ca0fa5085c657a107 ChangeLog 593
+MD5 fc90042dd01335ba0a38495ef4b5e17c ChangeLog 772
MD5 4358d467ef3da522a9ec0e3640172271 files/digest-mup-4.3 120
MD5 3cdff463ef32c2e7b16982e0db999cfa files/digest-mup-4.4 120
MD5 63364b59592440872b3ca477f89ab68b files/digest-mup-4.5 120
diff --git a/media-sound/mup/files/digest-mup-4.5 b/media-sound/mup/files/digest-mup-4.5
new file mode 100644
index 000000000000..11d0d982f003
--- /dev/null
+++ b/media-sound/mup/files/digest-mup-4.5
@@ -0,0 +1,2 @@
+MD5 4896e4a0dc9b54afe398c816db30ac5b mup45src.tar.gz 724239
+MD5 54548d097ab8e7fe09b207e99ecc01f3 mup45doc.tar.gz 557008
diff --git a/media-sound/mup/mup-4.5.ebuild b/media-sound/mup/mup-4.5.ebuild
new file mode 100644
index 000000000000..afa66e279781
--- /dev/null
+++ b/media-sound/mup/mup-4.5.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mup/mup-4.5.ebuild,v 1.1 2003/07/31 16:00:59 tigger Exp $
+
+MY_P="${P//[-.]/}"
+
+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() {
+ unpack ${MY_P}src.tar.gz
+
+ mkdir doc
+ 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
+}