# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header:$ DESCRIPTION="A powerful Constructive Solid Geometry (CSG) solid modeling system" HOMEPAGE="http://brlcad.sourceforge.net/" SRC_URI="mirror://sourceforge/brlcad/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" IUSE="tcltk png" DEPEND="virtual/x11 png? ( >=media-libs/libpng-1.2.8 )" S="${WORKDIR}/${PN}-7.0" src_compile() { local myconf="--prefix=/usr --program-prefix=brl-" ./configure \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ ${myconf} || die "./configure failed" emake || die "emake failed" } src_install() { make DESTDIR=${D} MANDIR=${D}/usr/share/man install || die }