summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-11-07 13:09:26 +0000
committerMamoru Komachi <usata@gentoo.org>2004-11-07 13:09:26 +0000
commite2276d77d7141b8e11af86e145c579bc2fccd653 (patch)
treefc869798addfc7e873c7d1ba3602f53f492df411 /app-text/pdftk
parentset USE_DESTDIR=1. Closing bug #49130. (Manifest recommit) (diff)
downloadgentoo-2-e2276d77d7141b8e11af86e145c579bc2fccd653.tar.gz
gentoo-2-e2276d77d7141b8e11af86e145c579bc2fccd653.tar.bz2
gentoo-2-e2276d77d7141b8e11af86e145c579bc2fccd653.zip
Version bumped.
Diffstat (limited to 'app-text/pdftk')
-rw-r--r--app-text/pdftk/ChangeLog7
-rw-r--r--app-text/pdftk/Manifest8
-rw-r--r--app-text/pdftk/files/digest-pdftk-1.111
-rw-r--r--app-text/pdftk/pdftk-1.11.ebuild43
4 files changed, 55 insertions, 4 deletions
diff --git a/app-text/pdftk/ChangeLog b/app-text/pdftk/ChangeLog
index 3b02884d7e57..f3124bde902e 100644
--- a/app-text/pdftk/ChangeLog
+++ b/app-text/pdftk/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/pdftk
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/pdftk/ChangeLog,v 1.7 2004/10/03 14:41:04 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/pdftk/ChangeLog,v 1.8 2004/11/07 13:09:26 usata Exp $
+
+*pdftk-1.11 (07 Nov 2004)
+
+ 07 Nov 2004; Mamoru KOMACHI <usata@gentoo.org> +pdftk-1.11.ebuild:
+ Version bumped.
03 Oct 2004; Mamoru KOMACHI <usata@gentoo.org> pdftk-1.00.ebuild:
Stable on x86.
diff --git a/app-text/pdftk/Manifest b/app-text/pdftk/Manifest
index 1e232bc6a8a6..dc2db8c31ff7 100644
--- a/app-text/pdftk/Manifest
+++ b/app-text/pdftk/Manifest
@@ -1,8 +1,10 @@
-MD5 9474d3fb5cad05fc1e9c2469bd5dcafa pdftk-1.10.ebuild 1151
-MD5 f3146a6d7b21471d0385c92838deb6cc pdftk-0.94.1.ebuild 1192
-MD5 3086ceca07b4cbfa48ffbb5aa0861630 pdftk-1.00.ebuild 1150
MD5 beecfdec360486d7300885f4fe514f95 ChangeLog 1046
MD5 619b858577edb26a03cdf700b6997618 metadata.xml 186
+MD5 3d2885ec163ec6d67582ae262ea0f816 pdftk-1.11.ebuild 1150
+MD5 f3146a6d7b21471d0385c92838deb6cc pdftk-0.94.1.ebuild 1192
+MD5 3086ceca07b4cbfa48ffbb5aa0861630 pdftk-1.00.ebuild 1150
+MD5 9474d3fb5cad05fc1e9c2469bd5dcafa pdftk-1.10.ebuild 1151
+MD5 c27bddf90d78343218010316a8f69e45 files/digest-pdftk-1.11 62
MD5 372043661fddd71d4fcb45e2799dd47c files/digest-pdftk-0.94.1 63
MD5 2127c3d55a42d67b46fd9c1922fe252e files/digest-pdftk-1.00 62
MD5 e28c806eb886653147cf59173914386f files/digest-pdftk-1.10 62
diff --git a/app-text/pdftk/files/digest-pdftk-1.11 b/app-text/pdftk/files/digest-pdftk-1.11
new file mode 100644
index 000000000000..6ff08739d8b9
--- /dev/null
+++ b/app-text/pdftk/files/digest-pdftk-1.11
@@ -0,0 +1 @@
+MD5 2a62aab8506d546ccd6ab8bc81d988d6 pdftk-1.11.tar.gz 783381
diff --git a/app-text/pdftk/pdftk-1.11.ebuild b/app-text/pdftk/pdftk-1.11.ebuild
new file mode 100644
index 000000000000..ba5b23da35a1
--- /dev/null
+++ b/app-text/pdftk/pdftk-1.11.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/pdftk/pdftk-1.11.ebuild,v 1.1 2004/11/07 13:09:26 usata Exp $
+
+DESCRIPTION="A tool for manipulating PDF documents"
+HOMEPAGE="http://www.accesspdf.com/pdftk"
+SRC_URI="http://www.pdfhacks.com/pdftk/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND="virtual/libc
+ >=sys-devel/gcc-3.3"
+S=${WORKDIR}/${P}/${PN}
+
+pkg_setup() {
+ if [ -z "$(which gcj 2>/dev/null)" ]; then
+ eerror "It seems that your system doesn't provides a Java compiler."
+ eerror "Re-emerge sys-devel/gcc with \"java\" and \"gcj\" enabled."
+ die "gcj not found."
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ # force usage of custom CFLAGS.
+ mv ${S}/Makefile.Generic ${T}/Makefile.Generic.orig
+ sed 's:-O2:\$(CFLAGS):g' \
+ < ${T}/Makefile.Generic.orig > ${S}/Makefile.Generic
+}
+
+src_compile() {
+ # java-config settings break compilation by gcj.
+ unset CLASSPATH
+ unset JAVA_HOME
+ make -f Makefile.Generic || die "Compilation failed."
+}
+
+src_install() {
+ dobin pdftk
+ newman ../pdftk.1.txt pdftk.1
+ dohtml ../pdftk.1.html
+}