summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2005-02-21 13:29:45 +0000
committerMamoru Komachi <usata@gentoo.org>2005-02-21 13:29:45 +0000
commitaf272f69dacdf664a4725254e59450261056cea0 (patch)
tree5c21440f19e42e55ec56241c69b2a0ac17970aa9 /app-text/pdfjam/pdfjam-1.20.ebuild
parentAdd ~amd64 for tigger@gentoo.org. (diff)
downloadhistorical-af272f69dacdf664a4725254e59450261056cea0.tar.gz
historical-af272f69dacdf664a4725254e59450261056cea0.tar.bz2
historical-af272f69dacdf664a4725254e59450261056cea0.zip
Version bumped; bug #82688. Thanks to Till Maas <opensource@gmx.net> for fixing manpages.
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'app-text/pdfjam/pdfjam-1.20.ebuild')
-rw-r--r--app-text/pdfjam/pdfjam-1.20.ebuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/app-text/pdfjam/pdfjam-1.20.ebuild b/app-text/pdfjam/pdfjam-1.20.ebuild
new file mode 100644
index 000000000000..e7fff022df21
--- /dev/null
+++ b/app-text/pdfjam/pdfjam-1.20.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/pdfjam/pdfjam-1.20.ebuild,v 1.1 2005/02/21 13:29:45 usata Exp $
+
+DESCRIPTION="pdfnup, pdfjoin and pdf90"
+HOMEPAGE="http://www.warwick.ac.uk/go/pdfjam"
+SRC_URI="http://www2.warwick.ac.uk/fac/sci/statistics/staff/academic/firth/software/pdfjam/${P/-/_}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE=""
+S=${WORKDIR}/${PN}
+
+DEPEND="virtual/tetex"
+
+src_compile() {
+ for i in pdf90 pdfjoin pdfnup; do
+ cp scripts/$i scripts/$i.orig
+ sed -e 's,^pdflatex="/usr/local/bin/pdflatex",pdflatex="/usr/bin/pdflatex",' scripts/$i.orig >scripts/$i
+ done
+}
+
+src_install() {
+ dobin scripts/pdf90 scripts/pdfjoin scripts/pdfnup || die
+ dodoc PDFjam-README.html || die
+ doman man1/pdf90.1 man1/pdfjoin.1 man1/pdfnup.1 || die
+}