summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/abcmidi')
-rw-r--r--media-sound/abcmidi/ChangeLog10
-rw-r--r--media-sound/abcmidi/Manifest5
-rw-r--r--media-sound/abcmidi/abcmidi-2011.10.19.ebuild41
-rw-r--r--media-sound/abcmidi/files/abcmidi-2011.10.19-install.patch24
-rw-r--r--media-sound/abcmidi/metadata.xml5
5 files changed, 85 insertions, 0 deletions
diff --git a/media-sound/abcmidi/ChangeLog b/media-sound/abcmidi/ChangeLog
new file mode 100644
index 000000000000..d3a2907f3a41
--- /dev/null
+++ b/media-sound/abcmidi/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-sound/abcmidi
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/abcmidi/ChangeLog,v 1.1 2011/10/21 06:47:56 radhermit Exp $
+
+*abcmidi-2011.10.19 (21 Oct 2011)
+
+ 21 Oct 2011; Tim Harder <radhermit@gentoo.org> +abcmidi-2011.10.19.ebuild,
+ +files/abcmidi-2011.10.19-install.patch, +metadata.xml:
+ Initial import (bug #76017).
+
diff --git a/media-sound/abcmidi/Manifest b/media-sound/abcmidi/Manifest
new file mode 100644
index 000000000000..549196ccffba
--- /dev/null
+++ b/media-sound/abcmidi/Manifest
@@ -0,0 +1,5 @@
+AUX abcmidi-2011.10.19-install.patch 1058 RMD160 a92c167a8c3c8c58f3cdd9bc545121974587a612 SHA1 4f312386cd21545e3d074e2a1c709b6b6e1e3495 SHA256 2c366f695593c232ad0d386c42f601c3be2e75e4d3fbf3daca571163dd69155f
+DIST abcMIDI-2011-10-19.zip 470032 RMD160 daffc7bae1637a0d771858d80f8de7759120ff84 SHA1 14302681720b78bddc40b73d83012c9a27dba1ba SHA256 3ba0943a30ae3e2306410cfdeb099b1f550ef035d4f4ca266bcbeecf0cfd8cca
+EBUILD abcmidi-2011.10.19.ebuild 849 RMD160 ad52abc5bd7caca4b639022cdc0869369bb16dbd SHA1 45c5d6db25bfac4fa41dbe2026e5d44eadabeee0 SHA256 99259aa55b777e25a4ff4c85c3b3be5ecd997192869b5c404fd56a764ceed041
+MISC ChangeLog 322 RMD160 7b8a951cf9c976e499a32e84805a962ffd45da78 SHA1 7ade12ad74e975776a809269845e1d535bb5f540 SHA256 aaea26761a8720b253980739c8ca973fc6a54f4c40a3f2079c372a65fe22e4fe
+MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b
diff --git a/media-sound/abcmidi/abcmidi-2011.10.19.ebuild b/media-sound/abcmidi/abcmidi-2011.10.19.ebuild
new file mode 100644
index 000000000000..7d2259a4a357
--- /dev/null
+++ b/media-sound/abcmidi/abcmidi-2011.10.19.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/abcmidi/abcmidi-2011.10.19.ebuild,v 1.1 2011/10/21 06:47:56 radhermit Exp $
+
+EAPI="4"
+
+inherit eutils versionator
+
+MY_P="abcMIDI-$(replace_all_version_separators '-')"
+DESCRIPTION="Programs for processing ABC music notation files"
+HOMEPAGE="http://abc.sourceforge.net/abcMIDI/"
+SRC_URI="http://ifdo.pugmarks.com/~seymour/runabc/${MY_P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+DEPEND="app-arch/unzip"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-install.patch
+ rm makefile || die
+}
+
+src_configure() {
+ econf \
+ --docdir=/usr/share/doc/${PF}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc doc/{AUTHORS,CHANGES,abcguide.txt,abcmatch.txt,history.txt,readme.txt,yapshelp.txt}
+
+ if use examples ; then
+ docinto examples
+ dodoc samples/*.abc
+ fi
+}
diff --git a/media-sound/abcmidi/files/abcmidi-2011.10.19-install.patch b/media-sound/abcmidi/files/abcmidi-2011.10.19-install.patch
new file mode 100644
index 000000000000..5fa8ca2a5112
--- /dev/null
+++ b/media-sound/abcmidi/files/abcmidi-2011.10.19-install.patch
@@ -0,0 +1,24 @@
+--- abcmidi/Makefile.in.orig
++++ abcmidi/Makefile.in
+@@ -140,17 +140,10 @@
+ rm *.o ${binaries}
+
+ install: abc2midi midi2abc abc2abc mftext midicopy yaps abcmatch
+- test -d $(DESTDIR)${prefix}/${bindir} || mkdir -p $(DESTDIR)${prefix}/${bindir}
+- $(INSTALL) -m 755 ${binaries} $(DESTDIR)${prefix}/${bindir}
+-
+- # install documentation
+- test -d $(DESTDIR)${PREFIX}/share/doc/abcmidi || mkdir -p $(DESTDIR)${prefix}/${docdir}
+- $(INSTALL) -m 644 doc/*.txt $(DESTDIR)${prefix}/${docdir}
+- $(INSTALL) -m 644 doc/AUTHORS $(DESTDIR)${prefix}/${docdir}
+- $(INSTALL) -m 644 doc/CHANGES $(DESTDIR)${prefix}/${docdir}
+- $(INSTALL) -m 644 VERSION $(DESTDIR)${prefix}/${docdir}
++ test -d $(DESTDIR)${bindir} || mkdir -p $(DESTDIR)${bindir}
++ $(INSTALL) -m 755 ${binaries} $(DESTDIR)${bindir}
+
+ # install manpages
+- test -d $(DESTDIR)${prefix}/${mandir} || mkdir -p $(DESTDIR)${prefix}/${mandir};
+- $(INSTALL) -m 644 doc/*.1 $(DESTDIR)${prefix}/${mandir}
++ test -d $(DESTDIR)${mandir} || mkdir -p $(DESTDIR)${mandir}
++ $(INSTALL) -m 644 doc/*.1 $(DESTDIR)${mandir}
+
diff --git a/media-sound/abcmidi/metadata.xml b/media-sound/abcmidi/metadata.xml
new file mode 100644
index 000000000000..e1774e3d9ad7
--- /dev/null
+++ b/media-sound/abcmidi/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sound</herd>
+</pkgmetadata>