diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-visualization/xgraph/xgraph-12.1-r4.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-visualization/xgraph/xgraph-12.1-r4.ebuild')
-rw-r--r-- | sci-visualization/xgraph/xgraph-12.1-r4.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
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 000000000000..61f36811879b --- /dev/null +++ b/sci-visualization/xgraph/xgraph-12.1-r4.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +} |