summaryrefslogtreecommitdiff
blob: a0e78276c718be44bbb8eb709fab196c83ec3664 (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-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/pspresent/pspresent-1.1.ebuild,v 1.2 2003/12/09 17:38:34 lanius Exp $

IUSE="xinerama"

S="${WORKDIR}/${P}"
DESCRIPTION="A tool to display full-screen PostScript presentations."
SRC_URI="http://www.cse.unsw.edu.au/~matthewc/pspresent/${P}.tar.gz"
HOMEPAGE="http://www.cse.unsw.edu.au/~matthewc/pspresent/"

DEPEND="virtual/glibc
	virtual/x11
	>=sys-apps/sed-4
	virtual/ghostscript
RDEPEND="virtual/glibc
	virtual/x11
	virtual/ghostscript

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"

src_compile()
{
	if [ ! "`use xinerama`" ] ; then
		sed -i -e "/^XINERAMA/s/^/#/g" Makefile
	fi
	make pspresent || die "make failed"
}

src_install()
{
	dobin pspresent
	doman pspresent.1
	dodoc COPYING
}