summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2005-10-02 20:00:05 +0000
committerFabian Groffen <grobian@gentoo.org>2005-10-02 20:00:05 +0000
commitad416349ccb4959083da84cd61bd53bc1f664236 (patch)
treee997a8f1b5760694a55b5a1ebfc89faacd507034 /app-text
parentMark 1.0-r1 stable on ia64 (diff)
downloadgentoo-2-ad416349ccb4959083da84cd61bd53bc1f664236.tar.gz
gentoo-2-ad416349ccb4959083da84cd61bd53bc1f664236.tar.bz2
gentoo-2-ad416349ccb4959083da84cd61bd53bc1f664236.zip
Bump to version 3.31, adding ~ppc-macos and fixing zlib include
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/lout/ChangeLog9
-rw-r--r--app-text/lout/Manifest14
-rw-r--r--app-text/lout/files/digest-lout-3.311
-rw-r--r--app-text/lout/lout-3.31.ebuild76
4 files changed, 88 insertions, 12 deletions
diff --git a/app-text/lout/ChangeLog b/app-text/lout/ChangeLog
index e72eb9d1233a..4b5cb3bd3e3c 100644
--- a/app-text/lout/ChangeLog
+++ b/app-text/lout/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-text/lout
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/lout/ChangeLog,v 1.16 2005/09/16 21:41:27 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/lout/ChangeLog,v 1.17 2005/10/02 20:00:05 grobian Exp $
+
+*lout-3.31 (02 Oct 2005)
+
+ 02 Oct 2005; Fabian Groffen <grobian@gentoo.org> +lout-3.31.ebuild:
+ - Bump to version 3.31
+ - added ~ppc-macos
+ - changed /usr/lib/libz.a into -lz to allow for compilation also on OSX
16 Sep 2005; Ciaran McCreesh <ciaranm@gentoo.org> ChangeLog:
Converted to UTF-8, fixed encoding screwups
diff --git a/app-text/lout/Manifest b/app-text/lout/Manifest
index d77d19cfdd0a..bcab3fd120b7 100644
--- a/app-text/lout/Manifest
+++ b/app-text/lout/Manifest
@@ -1,17 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 e690902fe9fc5ac0b894dc6c2429d547 lout-3.31.ebuild 1925
MD5 4058f06f0e1f4543f077c51eb00298fb lout-3.29.ebuild 1806
MD5 e325d5b4c83b35004d68937449bdfce3 lout-3.30.ebuild 1923
MD5 10d00583b37c725536ed7ae85921023a ChangeLog 2548
-MD5 e898eb4de64cf9908d6e2e6cd48c5141 files/lout-3.25-r1-makefile-gentoo.patch 9685
MD5 29594e4e47a72654d5819c6ebb2d1bef files/digest-lout-3.29 62
MD5 97dd1622e0573b3b3d3157f15865753a files/digest-lout-3.30 62
+MD5 71f7b349fa7618b22609e5b1253f8120 files/digest-lout-3.31 62
+MD5 e898eb4de64cf9908d6e2e6cd48c5141 files/lout-3.25-r1-makefile-gentoo.patch 9685
MD5 eef4aadd919d3cc3b4025debb538c7fa files/lout-3.29-makefile-gentoo.patch 5985
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD4DBQFDKzw5LLFUmVNQ7rkRAhD8AJipojXFfoLP7GfRDYvnVGrZgboCAKCusvs6
-9I+Qy1ahYHzulHAoSa7ZaQ==
-=tIbY
------END PGP SIGNATURE-----
diff --git a/app-text/lout/files/digest-lout-3.31 b/app-text/lout/files/digest-lout-3.31
new file mode 100644
index 000000000000..254f8960551f
--- /dev/null
+++ b/app-text/lout/files/digest-lout-3.31
@@ -0,0 +1 @@
+MD5 8cc03412d5c26c208811877b89ad3174 lout-3.31.tar.gz 1987038
diff --git a/app-text/lout/lout-3.31.ebuild b/app-text/lout/lout-3.31.ebuild
new file mode 100644
index 000000000000..2a22cffd71c2
--- /dev/null
+++ b/app-text/lout/lout-3.31.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/lout/lout-3.31.ebuild,v 1.1 2005/10/02 20:00:05 grobian Exp $
+
+IUSE="zlib doc"
+
+DESCRIPTION="high-level language for document formatting"
+HOMEPAGE="http://lout.sourceforge.net/"
+SRC_URI="mirror://sourceforge/lout/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc-macos ~sparc ~x86"
+
+DEPEND="zlib? ( >=sys-libs/zlib-1.1.4 )"
+
+src_compile() {
+ local myconf
+ use zlib && myconf="$myconf PDF_COMPRESSION=1 ZLIB=-lz"
+ emake BINDIR=/usr/bin \
+ LIBDIR=/usr/share/lout \
+ DOCDIR=/usr/share/doc/${P} \
+ MANDIR=/usr/share/man/man1 \
+ ${myconf} lout prg2lout || die "emake prg2lout lout failed"
+}
+
+compile_doc() {
+ #
+ # SYNOPSIS: compile_doc file times
+ #
+
+ einfo "${1}:"
+ # yes, it *is* necessary to run this 6 times...
+ for i in $(seq 1 $(expr $2 - 1)) ; do
+ einfo " pass $i"
+ lout all -o ${docdir}/$1 -e /dev/null
+ done
+ # in the last one, let errors be reported
+ einfo " final pass"
+ lout all -o ${docdir}/$1 || die "final pass failed"
+}
+
+src_install() {
+ local bindir libdir docdir mandir
+ bindir=${D}/usr/bin
+ libdir=${D}/usr/share/lout
+ docdir=${D}/usr/share/doc/${P}
+ mandir=${D}/usr/share/man/man1
+ export LOUTLIB=${libdir}
+ export PATH="${bindir}:${PATH}"
+
+ mkdir -p ${bindir} ${docdir} ${mandir}
+
+ make BINDIR=${bindir} \
+ LIBDIR=${libdir} \
+ DOCDIR=${docdir} \
+ MANDIR=${mandir} \
+ install installdoc installman || die "make install failed"
+
+ lout -x -s ${D}/usr/share/lout/include/init || die "lout init failed"
+
+ mv ${docdir}/README{,.docs}
+ dodoc README READMEPDF blurb blurb.short whatsnew
+
+ if use doc ; then
+ einfo "building postscript documentation (may take a while)"
+ cd doc/user
+ compile_doc user.ps 6
+ cd ../design
+ compile_doc design.ps 3
+ cd ../expert
+ compile_doc expert.ps 4
+ cd ../slides
+ compile_doc slides.ps 2
+ fi
+}