summaryrefslogtreecommitdiff
blob: 2fbfeb0ef04ccd3283ff79ad0152d842104018f4 (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
# 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.6 2004/12/28 13:10:08 humpback 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 doc sdl nls"

DEPEND="X? ( virtual/x11 )
	>=media-fonts/freefonts-0.10
	>=dev-lang/python-2.2.0
	>=media-libs/freetype-2.1.5
	sdl? ( >=media-libs/libsdl-1.2.6 )
	nls? ( >=sys-devel/gettext-0.12.1 )"


src_compile() {
	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
}