1 |
patrick 09/06/27 07:32:27 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: asciidoc-8.4.5.ebuild |
5 |
Log: |
6 |
Bump to 8.4.5, small fixes by Tim Harder. Closes #275570 |
7 |
(Portage version: 2.2_rc33/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.48 app-text/asciidoc/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/asciidoc/ChangeLog?rev=1.48&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/asciidoc/ChangeLog?rev=1.48&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/asciidoc/ChangeLog?r1=1.47&r2=1.48 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-text/asciidoc/ChangeLog,v |
19 |
retrieving revision 1.47 |
20 |
retrieving revision 1.48 |
21 |
diff -u -r1.47 -r1.48 |
22 |
--- ChangeLog 22 May 2009 22:10:56 -0000 1.47 |
23 |
+++ ChangeLog 27 Jun 2009 07:32:27 -0000 1.48 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for app-text/asciidoc |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/asciidoc/ChangeLog,v 1.47 2009/05/22 22:10:56 patrick Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/asciidoc/ChangeLog,v 1.48 2009/06/27 07:32:27 patrick Exp $ |
29 |
+ |
30 |
+*asciidoc-8.4.5 (27 Jun 2009) |
31 |
+ |
32 |
+ 27 Jun 2009; Patrick Lauer <patrick@g.o> +asciidoc-8.4.5.ebuild: |
33 |
+ Bump to 8.4.5, small fixes by Tim Harder. Closes #275570 |
34 |
|
35 |
*asciidoc-8.4.4 (22 May 2009) |
36 |
|
37 |
|
38 |
|
39 |
|
40 |
1.1 app-text/asciidoc/asciidoc-8.4.5.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/asciidoc/asciidoc-8.4.5.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/asciidoc/asciidoc-8.4.5.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: asciidoc-8.4.5.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2009 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/app-text/asciidoc/asciidoc-8.4.5.ebuild,v 1.1 2009/06/27 07:32:27 patrick Exp $ |
50 |
|
51 |
EAPI="2" |
52 |
|
53 |
DESCRIPTION="A text document format for writing short documents, articles, books and UNIX man pages" |
54 |
HOMEPAGE="http://www.methods.co.nz/asciidoc/" |
55 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
56 |
|
57 |
LICENSE="GPL-2" |
58 |
SLOT="0" |
59 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
60 |
IUSE="examples vim-syntax doc" |
61 |
|
62 |
DEPEND=">=virtual/python-2.4 |
63 |
app-text/docbook-xsl-stylesheets |
64 |
dev-libs/libxslt |
65 |
media-gfx/graphviz" |
66 |
|
67 |
src_prepare(){ |
68 |
if ! use vim-syntax; then |
69 |
sed -i -e '/^install/s/install-vim//' Makefile.in |
70 |
else |
71 |
sed -i\ |
72 |
-e '/^vimdir/s/@sysconfdir@\/vim/\/usr\/share\/vim\/vimfiles/' \ |
73 |
-e 's/\/etc\/vim//' \ |
74 |
Makefile.in |
75 |
fi |
76 |
|
77 |
sed -i -e 's/fop.sh/fop/' a2x |
78 |
} |
79 |
|
80 |
src_install() { |
81 |
dodir /usr/bin |
82 |
|
83 |
use vim-syntax && dodir /usr/share/vim/vimfiles |
84 |
|
85 |
emake DESTDIR="${D}" install || die "install failed" |
86 |
|
87 |
if use examples; then |
88 |
# This is a symlink to a directory |
89 |
rm -f examples/website/images |
90 |
cp -Rf images examples/website |
91 |
|
92 |
insinto /usr/share/doc/${PF} |
93 |
doins -r examples |
94 |
fi |
95 |
|
96 |
# HTML pages (with their sources) |
97 |
if use doc; then |
98 |
dohtml -r doc/* |
99 |
insinto /usr/share/doc/${PF}/html |
100 |
doins doc/*.txt |
101 |
fi |
102 |
|
103 |
# Misc. documentation |
104 |
dodoc BUGS CHANGELOG README |
105 |
dodoc docbook-xsl/asciidoc-docbook-xsl.txt |
106 |
} |
107 |
|
108 |
pkg_preinst() { |
109 |
# Clean any symlinks in /etc possibly installed by previous versions |
110 |
if [ -d "${ROOT}etc/asciidoc" ]; then |
111 |
einfo "Cleaning old symlinks under /etc/asciidoc" |
112 |
for entry in $(find "${ROOT}etc/asciidoc" -type l); do |
113 |
rm -f $entry |
114 |
done |
115 |
fi |
116 |
} |