summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Boshell <leonardop@gentoo.org>2005-08-11 17:42:38 +0000
committerLeonardo Boshell <leonardop@gentoo.org>2005-08-11 17:42:38 +0000
commit2b9bbd0973abde3fc28368587e9a08b389b53a8c (patch)
tree2ea4521b20369ef15cbfc7b4be0307d720421fb3 /app-text/asciidoc/asciidoc-7.0.1-r1.ebuild
parentSmall sparc fixes, thus: (1) define a sane set of DRI-drivers; (2) build a wo... (diff)
downloadhistorical-2b9bbd0973abde3fc28368587e9a08b389b53a8c.tar.gz
historical-2b9bbd0973abde3fc28368587e9a08b389b53a8c.tar.bz2
historical-2b9bbd0973abde3fc28368587e9a08b389b53a8c.zip
New revision. Fixes code filters (bug #102124)
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'app-text/asciidoc/asciidoc-7.0.1-r1.ebuild')
-rw-r--r--app-text/asciidoc/asciidoc-7.0.1-r1.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/app-text/asciidoc/asciidoc-7.0.1-r1.ebuild b/app-text/asciidoc/asciidoc-7.0.1-r1.ebuild
new file mode 100644
index 000000000000..206af79a8ea5
--- /dev/null
+++ b/app-text/asciidoc/asciidoc-7.0.1-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/asciidoc/asciidoc-7.0.1-r1.ebuild,v 1.1 2005/08/11 17:42:38 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/asciidoc/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86"
+IUSE=""
+
+DEPEND=">=virtual/python-2.3"
+
+src_install() {
+ # Main binary
+ newbin asciidoc.py asciidoc
+
+ # Conf. files
+ insinto /etc/asciidoc
+ doins *.conf
+
+ # Shared files
+ dodir /usr/share/asciidoc
+ for dir in doc examples filters images stylesheets; do
+ cp -R $dir ${D}/usr/share/asciidoc
+ done
+
+ # Filters
+ dodir /etc/asciidoc/filters
+ chmod 0755 ${D}/usr/share/asciidoc/filters/*.py
+ for f in code-filter.{conf,py}; do
+ dosym /usr/share/asciidoc/filters/${f} /etc/asciidoc/filters/${f}
+ done
+
+ # Stylesheets
+ insinto /etc/asciidoc/stylesheets
+ doins stylesheets/*.css
+
+ # Misc. documentation
+ dodoc BUGS CHANGELOG COPYRIGHT README
+ dohtml -r doc/*
+ doman doc/asciidoc.1
+}