summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Boshell <leonardop@gentoo.org>2006-11-02 05:19:53 +0000
committerLeonardo Boshell <leonardop@gentoo.org>2006-11-02 05:19:53 +0000
commite30dd0c2aae882352941ec68ba21fbc5d5e74c48 (patch)
tree2f31b7a1bbe279726b37a7205954d9ee1a5e7720 /app-text
parentPlay nice with $ROOT. (diff)
downloadgentoo-2-e30dd0c2aae882352941ec68ba21fbc5d5e74c48.tar.gz
gentoo-2-e30dd0c2aae882352941ec68ba21fbc5d5e74c48.tar.bz2
gentoo-2-e30dd0c2aae882352941ec68ba21fbc5d5e74c48.zip
New release: 8.1.0 (bug #146419)
(Portage version: 2.1.2_rc1-r1)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/asciidoc/ChangeLog10
-rw-r--r--app-text/asciidoc/asciidoc-8.1.0.ebuild58
-rw-r--r--app-text/asciidoc/files/digest-asciidoc-8.1.03
3 files changed, 70 insertions, 1 deletions
diff --git a/app-text/asciidoc/ChangeLog b/app-text/asciidoc/ChangeLog
index 7a8372c3bf2f..1477088e010f 100644
--- a/app-text/asciidoc/ChangeLog
+++ b/app-text/asciidoc/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-text/asciidoc
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/asciidoc/ChangeLog,v 1.33 2006/07/12 21:48:02 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/asciidoc/ChangeLog,v 1.34 2006/11/02 05:19:53 leonardop Exp $
+
+*asciidoc-8.1.0 (02 Nov 2006)
+
+ 02 Nov 2006; Leonardo Boshell <leonardop@gentoo.org>
+ -asciidoc-7.0.1.ebuild, -asciidoc-7.0.1-r1.ebuild, +asciidoc-8.1.0.ebuild:
+ Version bump (bug #146419). Install the HTML documentation sources. Added
+ 'examples' USE flag. Use the upstream installation script instead of
+ copying most of the files manually.
12 Jul 2006; Aron Griffis <agriffis@gentoo.org> asciidoc-7.0.4.ebuild:
Mark 7.0.4 stable on ia64
diff --git a/app-text/asciidoc/asciidoc-8.1.0.ebuild b/app-text/asciidoc/asciidoc-8.1.0.ebuild
new file mode 100644
index 000000000000..25a31ca7cd4f
--- /dev/null
+++ b/app-text/asciidoc/asciidoc-8.1.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/asciidoc/asciidoc-8.1.0.ebuild,v 1.1 2006/11/02 05:19:53 leonardop Exp $
+
+DESCRIPTION="A text document format for writing short documents, articles, books and UNIX man pages"
+HOMEPAGE="http://www.methods.co.nz/asciidoc/"
+SRC_URI="http://www.methods.co.nz/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~sparc ~x86"
+IUSE="examples"
+
+DEPEND=">=virtual/python-2.3"
+
+
+src_unpack() {
+ unpack "${A}"
+
+ sed -i \
+ -e "s:^BINDIR=.*:BINDIR=${D}/usr/bin:" \
+ -e "s:^MANDIR=.*:MANDIR=${D}/usr/share/man:" \
+ -e "s:^CONFDIR=.*:CONFDIR=${D}/etc/asciidoc:" \
+ "${S}/install.sh"
+}
+
+src_install() {
+ dodir /usr/bin
+ ${S}/install.sh
+
+ if use examples; then
+ # This is a symlink to a directory
+ rm -f examples/website/images
+ cp -Rf images examples/website
+
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+
+ # HTML pages (with their sources)
+ dohtml -r doc/*
+ insinto /usr/share/doc/${PF}/html
+ doins doc/*.txt
+
+ # Misc. documentation
+ dodoc BUGS CHANGELOG COPYRIGHT README
+ dodoc docbook-xsl/asciidoc-docbook-xsl.txt
+}
+
+pkg_preinst() {
+ # Clean any symlinks in /etc possibly installed by previous versions
+ if [ -d "${ROOT}etc/asciidoc" ]; then
+ einfo "Cleaning old symlinks under /etc/asciidoc"
+ for entry in $(find ${ROOT}etc/asciidoc -type l); do
+ rm -f $entry
+ done
+ fi
+}
diff --git a/app-text/asciidoc/files/digest-asciidoc-8.1.0 b/app-text/asciidoc/files/digest-asciidoc-8.1.0
new file mode 100644
index 000000000000..7c3a13ee3cb0
--- /dev/null
+++ b/app-text/asciidoc/files/digest-asciidoc-8.1.0
@@ -0,0 +1,3 @@
+MD5 6d3e050b72a8b6df112c2f9aad7a4016 asciidoc-8.1.0.tar.gz 761244
+RMD160 1f041b7dc56dd2b9c5db4b1d5ac310cce470db38 asciidoc-8.1.0.tar.gz 761244
+SHA256 900e41bd2f8858e4cfc7e3a22ce6e46daaf6373572361b3b62443e65daf5b297 asciidoc-8.1.0.tar.gz 761244