/[gentoo-x86]/app-text/pdfjam/pdfjam-1.20-r1.ebuild
Gentoo

Contents of /app-text/pdfjam/pdfjam-1.20-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Tue Jan 20 07:55:23 2009 UTC (5 years, 8 months ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -1 lines
assign RDEPEND to DEPEND
(Portage version: 2.2_rc23/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-text/pdfjam/pdfjam-1.20-r1.ebuild,v 1.3 2009/01/18 11:12:20 dertobi123 Exp $
4
5 inherit eutils
6
7 DESCRIPTION="pdfnup, pdfjoin and pdf90"
8 HOMEPAGE="http://www.warwick.ac.uk/go/pdfjam"
9 SRC_URI="http://www2.warwick.ac.uk/fac/sci/statistics/staff/academic/firth/software/pdfjam/${P/-/_}.tgz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="amd64 ppc ~ppc64 x86"
14 IUSE=""
15 S=${WORKDIR}/${PN}
16
17 DEPEND="virtual/latex-base"
18 RDEPEND="${DEPEND}"
19
20 src_unpack() {
21 unpack ${A}
22 cd "${S}"
23 epatch "${FILESDIR}/${P}-security.patch"
24 }
25
26 src_compile() {
27 for i in pdf90 pdfjoin pdfnup; do
28 cp scripts/$i scripts/$i.orig
29 sed -e 's,^pdflatex="/usr/local/bin/pdflatex",pdflatex="/usr/bin/pdflatex",' scripts/$i.orig >scripts/$i
30 done
31 }
32
33 src_install() {
34 dobin scripts/pdf90 scripts/pdfjoin scripts/pdfnup || die
35 dodoc PDFjam-README.html || die
36 doman man1/pdf90.1 man1/pdfjoin.1 man1/pdfnup.1 || die
37 }

  ViewVC Help
Powered by ViewVC 1.1.20