summaryrefslogtreecommitdiff
blob: b4b672834b008820b3ee8fa7cd4ad0c6dc49bbb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# 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
}