diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2012-08-07 04:46:51 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2012-08-07 04:46:51 +0000 |
commit | 37dae3e8d9d29e9fe53309c16dcb6903a8ba8ae5 (patch) | |
tree | a898d78cc8bdde2b785845ac04a57542b5061687 /sci-visualization/xgraph/xgraph-12.1-r3.ebuild | |
parent | Version bump. (diff) | |
download | gentoo-2-37dae3e8d9d29e9fe53309c16dcb6903a8ba8ae5.tar.gz gentoo-2-37dae3e8d9d29e9fe53309c16dcb6903a8ba8ae5.tar.bz2 gentoo-2-37dae3e8d9d29e9fe53309c16dcb6903a8ba8ae5.zip |
Updated debian patch, use more modern autotools
(Portage version: 2.2.01.20796-prefix/cvs/Linux x86_64)
Diffstat (limited to 'sci-visualization/xgraph/xgraph-12.1-r3.ebuild')
-rw-r--r-- | sci-visualization/xgraph/xgraph-12.1-r3.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/sci-visualization/xgraph/xgraph-12.1-r3.ebuild b/sci-visualization/xgraph/xgraph-12.1-r3.ebuild new file mode 100644 index 000000000000..4b6b16b625e1 --- /dev/null +++ b/sci-visualization/xgraph/xgraph-12.1-r3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/xgraph/xgraph-12.1-r3.ebuild,v 1.1 2012/08/07 04:46:51 bicatali Exp $ + +EAPI=4 + +inherit eutils 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="as-is" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="examples" +DEPEND="x11-libs/libSM + x11-libs/libX11" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${WORKDIR}"/debian/patches/debian-changes + rm configure.in Makefile.in + eautoreconf +} + +src_install() { + default + dodoc "${WORKDIR}"/debian/changelog + if use examples; then + insinto /usr/share/doc/${PF} + doins -r 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 +} |