commit:     842cc149de091217a117a2fc4d3aa58d6a1c0575
Author:     Gerhard Bräunlich <wippbox <AT> gmx <DOT> net>
AuthorDate: Sat Jan 14 17:35:56 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jan 15 10:12:35 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=842cc149

sci-visualization/xgraph: EAPI bump 4 -> 6

Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/3475

 sci-visualization/xgraph/xgraph-12.1-r4.ebuild | 43 ++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/sci-visualization/xgraph/xgraph-12.1-r4.ebuild 
b/sci-visualization/xgraph/xgraph-12.1-r4.ebuild
new file mode 100644
index 00000000..a115d1f
--- /dev/null
+++ b/sci-visualization/xgraph/xgraph-12.1-r4.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools
+
+DEB_PR=16
+
+DESCRIPTION="X11 Plotting Utility"
+HOMEPAGE="http://www.isi.edu/nsnam/xgraph/";
+SRC_URI="http://www.isi.edu/nsnam/dist/${P}.tar.gz
+       
mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}-${DEB_PR}.debian.tar.gz"
+
+LICENSE="xgraph"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="examples"
+RDEPEND="x11-libs/libSM
+       x11-libs/libX11"
+DEPEND="$RDEPEND"
+
+PATCHES=( "${WORKDIR}"/debian/patches/debian-changes )
+
+src_prepare() {
+       default
+       rm -f configure.in Makefile.in || die
+       eautoreconf
+}
+
+src_install() {
+       default
+       dodoc "${WORKDIR}"/debian/changelog
+       if use examples; then
+               dodoc -r examples
+               docompress -x /usr/share/doc/${PF}/examples
+       fi
+       dodir /usr/share/man/man1
+       mv "${ED%/}"/usr/share/man/manm/xgraph.man \
+          "${ED%/}"/usr/share/man/man1/xgraph.1 || die
+       rm -r "${ED%/}"/usr/share/man/manm || die
+}

Reply via email to