1 |
patrick 09/03/01 15:25:14 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: lout-3.38.ebuild |
5 |
Log: |
6 |
Bump to 3.38, closes #222733 |
7 |
(Portage version: 2.2_rc23/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.22 app-text/lout/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/lout/ChangeLog?rev=1.22&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/lout/ChangeLog?rev=1.22&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/lout/ChangeLog?r1=1.21&r2=1.22 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-text/lout/ChangeLog,v |
19 |
retrieving revision 1.21 |
20 |
retrieving revision 1.22 |
21 |
diff -u -r1.21 -r1.22 |
22 |
--- ChangeLog 22 Jan 2008 21:32:11 -0000 1.21 |
23 |
+++ ChangeLog 1 Mar 2009 15:25:14 -0000 1.22 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for app-text/lout |
26 |
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/lout/ChangeLog,v 1.21 2008/01/22 21:32:11 grobian Exp $ |
28 |
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/lout/ChangeLog,v 1.22 2009/03/01 15:25:14 patrick Exp $ |
30 |
+ |
31 |
+*lout-3.38 (01 Mar 2009) |
32 |
+ |
33 |
+ 01 Mar 2009; Patrick Lauer <patrick@g.o> +lout-3.38.ebuild: |
34 |
+ Bump to 3.38, closes #222733 |
35 |
|
36 |
22 Jan 2008; Fabian Groffen <grobian@g.o> lout-3.31.ebuild: |
37 |
Dropped ppc-macos keyword, see you in prefix |
38 |
|
39 |
|
40 |
|
41 |
1.1 app-text/lout/lout-3.38.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/lout/lout-3.38.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/lout/lout-3.38.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: lout-3.38.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/app-text/lout/lout-3.38.ebuild,v 1.1 2009/03/01 15:25:14 patrick Exp $ |
51 |
|
52 |
IUSE="zlib doc" |
53 |
|
54 |
DESCRIPTION="high-level language for document formatting" |
55 |
HOMEPAGE="http://lout.sourceforge.net/" |
56 |
SRC_URI="mirror://sourceforge/lout/${P}.tar.gz" |
57 |
|
58 |
LICENSE="GPL-2" |
59 |
SLOT="0" |
60 |
KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
61 |
|
62 |
DEPEND="zlib? ( >=sys-libs/zlib-1.1.4 )" |
63 |
RDEPEND="${DEPEND}" |
64 |
|
65 |
src_compile() { |
66 |
local myconf |
67 |
use zlib && myconf="$myconf PDF_COMPRESSION=1 ZLIB=-lz" |
68 |
emake BINDIR=/usr/bin \ |
69 |
LOUTLIBDIR=/usr/share/lout \ |
70 |
LOUTDOCDIR=/usr/share/doc/${P} \ |
71 |
MANDIR=/usr/share/man/man1 \ |
72 |
${myconf} lout prg2lout || die "emake prg2lout lout failed" |
73 |
} |
74 |
|
75 |
compile_doc() { |
76 |
# |
77 |
# SYNOPSIS: compile_doc file times |
78 |
# |
79 |
|
80 |
einfo "${1}:" |
81 |
# yes, it *is* necessary to run this 6 times... |
82 |
for i in $(seq 1 $(expr $2 - 1)) ; do |
83 |
einfo " pass $i" |
84 |
lout all -o ${docdir}/$1 -e /dev/null |
85 |
done |
86 |
# in the last one, let errors be reported |
87 |
einfo " final pass" |
88 |
lout all -o ${docdir}/$1 || die "final pass failed" |
89 |
} |
90 |
|
91 |
src_install() { |
92 |
local bindir libdir docdir mandir |
93 |
bindir=${D}/usr/bin |
94 |
libdir=${D}/usr/share/lout |
95 |
docdir=${D}/usr/share/doc/${P} |
96 |
mandir=${D}/usr/share/man/man1 |
97 |
export LOUTLIB=${libdir} |
98 |
export PATH="${bindir}:${PATH}" |
99 |
|
100 |
mkdir -p ${bindir} ${docdir} ${mandir} |
101 |
|
102 |
make BINDIR=${bindir} \ |
103 |
LOUTLIBDIR=${libdir} \ |
104 |
LOUTDOCDIR=${docdir} \ |
105 |
MANDIR=${mandir} \ |
106 |
install installdoc installman || die "make install failed" |
107 |
|
108 |
lout -x -s "${D}"/usr/share/lout/include/init || die "lout init failed" |
109 |
|
110 |
mv ${docdir}/README{,.docs} |
111 |
dodoc README READMEPDF blurb blurb.short whatsnew |
112 |
|
113 |
if use doc ; then |
114 |
einfo "building postscript documentation (may take a while)" |
115 |
cd doc/user |
116 |
compile_doc user.ps 6 |
117 |
cd ../design |
118 |
compile_doc design.ps 3 |
119 |
cd ../expert |
120 |
compile_doc expert.ps 4 |
121 |
cd ../slides |
122 |
compile_doc slides.ps 2 |
123 |
fi |
124 |
} |