summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-11-13 12:06:11 +0000
committerMamoru Komachi <usata@gentoo.org>2004-11-13 12:06:11 +0000
commit55a2b70180da8a1d565329736bb4f95251228dac (patch)
tree2bac127814d1157119cd79873a4cb97bd4d7118d /app-text/pdftk
parentVersion bumped. Marked 2.94.13-r2 stable on alpha. (Manifest recommit) (diff)
downloadgentoo-2-55a2b70180da8a1d565329736bb4f95251228dac.tar.gz
gentoo-2-55a2b70180da8a1d565329736bb4f95251228dac.tar.bz2
gentoo-2-55a2b70180da8a1d565329736bb4f95251228dac.zip
Version bumped.
Diffstat (limited to 'app-text/pdftk')
-rw-r--r--app-text/pdftk/ChangeLog7
-rw-r--r--app-text/pdftk/Manifest12
-rw-r--r--app-text/pdftk/files/digest-pdftk-1.121
-rw-r--r--app-text/pdftk/pdftk-1.12.ebuild43
4 files changed, 52 insertions, 11 deletions
diff --git a/app-text/pdftk/ChangeLog b/app-text/pdftk/ChangeLog
index d085c96bd1a9..7f06a982da53 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.9 2004/11/07 13:10:42 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/pdftk/ChangeLog,v 1.10 2004/11/13 12:06:11 usata Exp $
+
+*pdftk-1.12 (13 Nov 2004)
+
+ 13 Nov 2004; Mamoru KOMACHI <usata@gentoo.org> +pdftk-1.12.ebuild:
+ Version bumped.
*pdftk-1.11 (07 Nov 2004)
diff --git a/app-text/pdftk/Manifest b/app-text/pdftk/Manifest
index 4bb64f964299..ce19c12b0d52 100644
--- a/app-text/pdftk/Manifest
+++ b/app-text/pdftk/Manifest
@@ -1,20 +1,12 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 6971735d0bf0e66bffc340ab7b43ebad ChangeLog 1276
MD5 619b858577edb26a03cdf700b6997618 metadata.xml 186
MD5 92d7803a92cd82b4963577c7bd6f4521 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 92d7803a92cd82b4963577c7bd6f4521 pdftk-1.12.ebuild 1150
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
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFBjh1WVWNWqTUmv+0RAjH0AJ42A9NqfxeqChxxgUszVRREhZ1B9gCfS/Lv
-QRtV0+WEFUa0fHRGBYtBjOc=
-=kUqn
------END PGP SIGNATURE-----
+MD5 feb6c853c96b6829faad008d0dba16e2 files/digest-pdftk-1.12 62
diff --git a/app-text/pdftk/files/digest-pdftk-1.12 b/app-text/pdftk/files/digest-pdftk-1.12
new file mode 100644
index 000000000000..57fd700f53a7
--- /dev/null
+++ b/app-text/pdftk/files/digest-pdftk-1.12
@@ -0,0 +1 @@
+MD5 509d21706bbff59c00e063ea16855163 pdftk-1.12.tar.gz 779882
diff --git a/app-text/pdftk/pdftk-1.12.ebuild b/app-text/pdftk/pdftk-1.12.ebuild
new file mode 100644
index 000000000000..83b7c01f4ffc
--- /dev/null
+++ b/app-text/pdftk/pdftk-1.12.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.12.ebuild,v 1.1 2004/11/13 12:06:11 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
+}