# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-office/pointless/pointless-0.5.ebuild,v 1.5 2004/09/03 00:42:38 dholm Exp $ DESCRIPTION="A presentation tool using markup-language" HOMEPAGE="http://www.pointless.dk/" SRC_URI="mirror://sourceforge/pointless/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~sparc ~ppc" IUSE="X freetype doc sdl nls" DEPEND="X? ( virtual/x11 ) >=media-fonts/freefonts-0.10 >=dev-lang/python-2.2.0 freetype? ( >=media-libs/freetype-2.1.5 ) sdl? ( >=media-libs/libsdl-1.2.6 ) nls? ( >=sys-devel/gettext-0.12.1 )" src_compile() { use freetype || myconf="${myconf} --disable-freetypetest" use doc && myconf="${myconf} --enable-html" use sdl && myconf="${myconf} --enable-sdl" use sdl || myconf="${myconf} --disable-sdltest" use nls && myconf="${myconf} --enable-nls" use X && myconf="${myconf} --with-x" econf ${myconf} || die emake || die } src_install() { dodoc README PLANS TODO NEWS AUTHORS BUGS einstall || die }