You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# Copyright 1999-2014 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
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="xgraph"
|
|
|
|
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
|
|
|
|
}
|