summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Turk <satai@gentoo.org>2002-10-25 20:18:31 +0000
committerMatthew Turk <satai@gentoo.org>2002-10-25 20:18:31 +0000
commit825b3ec522814471e5c82e39757b3388da537951 (patch)
tree78c6a1f05cff0517acb6efc9ddc3a53df1cb4c9d /app-text/djvu
parentupdated the labltk/ocaml checkup logic in pkg_setup() (diff)
downloadgentoo-2-825b3ec522814471e5c82e39757b3388da537951.tar.gz
gentoo-2-825b3ec522814471e5c82e39757b3388da537951.tar.bz2
gentoo-2-825b3ec522814471e5c82e39757b3388da537951.zip
Version bump.
Diffstat (limited to 'app-text/djvu')
-rw-r--r--app-text/djvu/ChangeLog7
-rw-r--r--app-text/djvu/djvu-3.5.9.ebuild57
-rw-r--r--app-text/djvu/files/digest-djvu-3.5.91
3 files changed, 64 insertions, 1 deletions
diff --git a/app-text/djvu/ChangeLog b/app-text/djvu/ChangeLog
index 6ba9650f0ce0..325db9207d03 100644
--- a/app-text/djvu/ChangeLog
+++ b/app-text/djvu/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/djvu
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/ChangeLog,v 1.2 2002/10/19 16:16:04 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/ChangeLog,v 1.3 2002/10/25 20:18:31 satai Exp $
+
+*djvu-3.5.9 (25 Oct 2002)
+
+ 25 Oct 2002; Matthew Turk <satai@gentoo.org> djvu-3.5.9.ebuild :
+ Closing bug 8295; version bump to 3.5.9.
*djvu-3.5.7 (02 Aug 2002)
diff --git a/app-text/djvu/djvu-3.5.9.ebuild b/app-text/djvu/djvu-3.5.9.ebuild
new file mode 100644
index 000000000000..0abd493525a5
--- /dev/null
+++ b/app-text/djvu/djvu-3.5.9.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/djvu-3.5.9.ebuild,v 1.1 2002/10/25 20:18:31 satai Exp $
+
+MY_P="${PN}libre-${PV}"
+DESCRIPTION="A web-centric format and software platform for distributing documents and images."
+HOMEPAGE="http://djvu.sourceforge.net"
+SRC_URI="mirror://sourceforge/djvu/${MY_P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~sparc ~sparc64"
+IUSE=""
+DEPEND=">=qt-3.0.4.20020606-r1
+ >=jpeg-6b-r2"
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man || die "./configure failed"
+ make depend || die
+ emake || die
+}
+
+src_install() {
+ make \
+ prefix=${D}/usr \
+ mandir=${D}/usr/share/man \
+ infodir=${D}/usr/share/info \
+ install || die
+ # Again, verify the Makefiles! We don't want anything falling
+ # outside of ${D}.
+}
+
+pkg_postinst() {
+ # The package installs the browser plugins into
+ # /usr/lib/netscape/plugins, so we need to move them to the
+ # appropriate mozilla directory. when mozilla is installed.
+ if [ -d /usr/lib/mozilla/plugins/ -a \
+ -f /usr/lib/netscape/plugins/nsdejavu.so ]
+ then
+ cp /usr/lib/netscape/plugins/nsdejavu.so /usr/lib/mozilla/plugins
+ fi
+}
+
+pkg_postrm() {
+ # Maybe we must remove the plugin from the mozilla plugins dir.
+ if [ -f /usr/lib/mozilla/plugins/nsdejavu.so ]
+ then
+ rm /usr/lib/mozilla/plugins/nsdejavu.so
+ fi
+}
+
+
diff --git a/app-text/djvu/files/digest-djvu-3.5.9 b/app-text/djvu/files/digest-djvu-3.5.9
new file mode 100644
index 000000000000..5ba1b2409490
--- /dev/null
+++ b/app-text/djvu/files/digest-djvu-3.5.9
@@ -0,0 +1 @@
+MD5 5c404709bf1a4170b8d4b3d789e9911b djvulibre-3.5.9.tar.gz 1285498