blob: 95e78b7961554b75f329b1d0271712f16a5178a9 (
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
39
40
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/xpdf/xpdf-3.01-r8.ebuild,v 1.6 2006/05/26 14:23:02 wolf31o2 Exp $
inherit eutils flag-o-matic
DESCRIPTION="An X Viewer for PDF Files"
HOMEPAGE="http://www.foolabs.com/xpdf/"
SRC_URI="mirror://gentoo/${P}-poppler.tar.bz2
http://dev.gentoo.org/~genstef/files/dist/${P}-poppler.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc x86"
IUSE="nodrm"
RDEPEND=">=app-text/poppler-0.5.1
virtual/motif
|| (
( x11-libs/libX11 x11-libs/libXpm )
virtual/x11
)"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${P}-poppler
src_unpack() {
unpack ${A}
cd "${S}"
use nodrm && epatch "${FILESDIR}"/${P}-poppler-nodrm.patch
epatch "${FILESDIR}"/${P}-poppler-0.5.1.patch
}
src_install() {
dobin xpdf
doman xpdf.1 ${FILESDIR}/xpdfrc.5
insinto /etc
newins ${FILESDIR}/sample-xpdfrc xpdfrc
dodoc README ANNOUNCE CHANGES
}
|