diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-06-05 18:34:46 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-06-05 18:34:46 +0000 |
commit | 561c11bf99989a2097de3c2a1b772f6f0d6a5bbe (patch) | |
tree | e2ca5a1cbd435a63a2c0873558dadc0bf4fdb945 /app-text/pdftk | |
parent | removing old ebuilds (Manifest recommit) (diff) | |
download | gentoo-2-561c11bf99989a2097de3c2a1b772f6f0d6a5bbe.tar.gz gentoo-2-561c11bf99989a2097de3c2a1b772f6f0d6a5bbe.tar.bz2 gentoo-2-561c11bf99989a2097de3c2a1b772f6f0d6a5bbe.zip |
Version bumped. Corrected pkg_setup() message, thanks to antoine marmingnon <antoine.marmingnon@wanadoo.fr>. Closing bug #52898
Diffstat (limited to 'app-text/pdftk')
-rw-r--r-- | app-text/pdftk/ChangeLog | 9 | ||||
-rw-r--r-- | app-text/pdftk/Manifest | 6 | ||||
-rw-r--r-- | app-text/pdftk/files/digest-pdftk-0.94.1 | 1 | ||||
-rw-r--r-- | app-text/pdftk/pdftk-0.93.ebuild | 6 | ||||
-rw-r--r-- | app-text/pdftk/pdftk-0.94.1.ebuild | 44 |
5 files changed, 60 insertions, 6 deletions
diff --git a/app-text/pdftk/ChangeLog b/app-text/pdftk/ChangeLog index f37e3ca58474..86082a9f2f98 100644 --- a/app-text/pdftk/ChangeLog +++ b/app-text/pdftk/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-text/pdftk # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/pdftk/ChangeLog,v 1.1 2004/03/14 18:49:33 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/pdftk/ChangeLog,v 1.2 2004/06/05 18:34:46 usata Exp $ + +*pdftk-0.94.1 (06 Jun 2004) + + 06 Jun 2004; Mamoru KOMACHI <usata@gentoo.org> pdftk-0.93.ebuild, + +pdftk-0.94.1.ebuild: + Version bumped. Corrected pkg_setup() message, thanks to antoine + marmingnon <antoine.marmingnon@wanadoo.fr>. Closing bug #52898 *pdftk-0.93 (15 Mar 2004) diff --git a/app-text/pdftk/Manifest b/app-text/pdftk/Manifest index 9ec8030fdbaf..29a10f94e02a 100644 --- a/app-text/pdftk/Manifest +++ b/app-text/pdftk/Manifest @@ -1,4 +1,6 @@ -MD5 7faaf2fc5fd89cca15c0b7c965cef8cf pdftk-0.93.ebuild 1155 -MD5 619b858577edb26a03cdf700b6997618 metadata.xml 186 MD5 d2f41a3b15af7dd8f56c212bcd2350ca ChangeLog 396 +MD5 619b858577edb26a03cdf700b6997618 metadata.xml 186 +MD5 7faaf2fc5fd89cca15c0b7c965cef8cf pdftk-0.93.ebuild 1155 +MD5 632d39f3947160c704f24746400e7940 pdftk-0.94.1.ebuild 1201 MD5 a8682b5c8db33191f88d1b1ed146557d files/digest-pdftk-0.93 62 +MD5 372043661fddd71d4fcb45e2799dd47c files/digest-pdftk-0.94.1 63 diff --git a/app-text/pdftk/files/digest-pdftk-0.94.1 b/app-text/pdftk/files/digest-pdftk-0.94.1 new file mode 100644 index 000000000000..0a95d4a5759c --- /dev/null +++ b/app-text/pdftk/files/digest-pdftk-0.94.1 @@ -0,0 +1 @@ +MD5 f5daf8c56d063a5b300885db3baa721c pdftk-0.941.tar.gz 689811 diff --git a/app-text/pdftk/pdftk-0.93.ebuild b/app-text/pdftk/pdftk-0.93.ebuild index f761db20d455..3fb478e083a1 100644 --- a/app-text/pdftk/pdftk-0.93.ebuild +++ b/app-text/pdftk/pdftk-0.93.ebuild @@ -1,13 +1,13 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/pdftk/pdftk-0.93.ebuild,v 1.1 2004/03/14 18:49:33 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/pdftk/pdftk-0.93.ebuild,v 1.2 2004/06/05 18:34:46 usata Exp $ DESCRIPTION="A tool for manipulating PDF documents" HOMEPAGE="http://www.accesspdf.com/pdftk" SRC_URI="http://www.accesspdf.com/pdftk/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86" +KEYWORDS="x86" IUSE="" DEPEND="virtual/glibc >=sys-devel/gcc-3.3" @@ -16,7 +16,7 @@ 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\" enabled, and without \"nogcj\"." + eerror "Re-emerge sys-devel/gcc with \"java\" and \"gcj\" enabled." die "gcj not found." fi } diff --git a/app-text/pdftk/pdftk-0.94.1.ebuild b/app-text/pdftk/pdftk-0.94.1.ebuild new file mode 100644 index 000000000000..f8f77694498a --- /dev/null +++ b/app-text/pdftk/pdftk-0.94.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/pdftk/pdftk-0.94.1.ebuild,v 1.1 2004/06/05 18:34:46 usata Exp $ + +MY_P="${PN}-${PV%.*}${PV##*.}" # 0.94.1 -> 0.941 + +DESCRIPTION="A tool for manipulating PDF documents" +HOMEPAGE="http://www.accesspdf.com/pdftk" +SRC_URI="http://www.accesspdf.com/pdftk/${MY_P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND="virtual/glibc + >=sys-devel/gcc-3.3" +S=${WORKDIR}/${MY_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.manpage.txt pdftk.1 +} |