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-2012 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
EAPI=4
|
|
|
|
|
|
|
|
inherit eutils
|
|
|
|
|
|
|
|
DOCN="${PN}-doc"
|
|
|
|
DOCV="1.5"
|
|
|
|
DOC="${DOCN}-${DOCV}"
|
|
|
|
|
|
|
|
DESCRIPTION="Interactive geometry package"
|
|
|
|
HOMEPAGE="http://www.ofset.org/drgeo"
|
|
|
|
SRC_URI="
|
|
|
|
mirror://sourceforge/ofset/${P}.tar.gz
|
|
|
|
mirror://sourceforge/ofset/${DOC}.tar.gz"
|
|
|
|
|
|
|
|
SLOT="0"
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
KEYWORDS="amd64 ~ppc x86"
|
|
|
|
IUSE="nls"
|
|
|
|
|
|
|
|
RDEPEND="
|
|
|
|
x11-libs/gtk+:2
|
|
|
|
gnome-base/libglade:2.0
|
|
|
|
dev-libs/libxml2:2
|
|
|
|
|| (
|
|
|
|
>=dev-scheme/guile-1.8[deprecated]
|
|
|
|
=dev-scheme/guile-1.6*
|
|
|
|
)"
|
|
|
|
DEPEND="${RDEPEND}
|
|
|
|
virtual/pkgconfig"
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
epatch "${FILESDIR}"/${P}-gcc45.patch
|
|
|
|
}
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
default
|
|
|
|
# Can't make the documentation as it depends on Hyperlatex which isn't
|
|
|
|
# yet in portage. Fortunately HTML is already compiled for us in the
|
|
|
|
# tarball and so can be installed. Just create the make install target.
|
|
|
|
cd "${WORKDIR}"/${DOC}
|
|
|
|
econf
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
default
|
|
|
|
if use nls; then
|
|
|
|
cd "${WORKDIR}"/${DOC}
|
|
|
|
else
|
|
|
|
cd "${WORKDIR}"/${DOC}/c
|
|
|
|
fi
|
|
|
|
emake install DESTDIR="${D}"
|
|
|
|
}
|