summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Glover <jmglov@gentoo.org>2004-06-12 11:41:05 +0000
committerJosh Glover <jmglov@gentoo.org>2004-06-12 11:41:05 +0000
commit70210c63c6581a86c8b432adde9742a082454e9d (patch)
tree3b78011f67207bda7aa565da666090558cac3a0f /app-doc/NaturalDocs
parentFixed #53690. (Manifest recommit) (diff)
downloadgentoo-2-70210c63c6581a86c8b432adde9742a082454e9d.tar.gz
gentoo-2-70210c63c6581a86c8b432adde9742a082454e9d.tar.bz2
gentoo-2-70210c63c6581a86c8b432adde9742a082454e9d.zip
This package was submitted by Josh Glover in bug #47266
Diffstat (limited to 'app-doc/NaturalDocs')
-rw-r--r--app-doc/NaturalDocs/ChangeLog10
-rw-r--r--app-doc/NaturalDocs/Manifest3
-rw-r--r--app-doc/NaturalDocs/NaturalDocs-1.22-r1.ebuild56
-rw-r--r--app-doc/NaturalDocs/files/digest-NaturalDocs-1.22-r12
-rw-r--r--app-doc/NaturalDocs/metadata.xml9
5 files changed, 80 insertions, 0 deletions
diff --git a/app-doc/NaturalDocs/ChangeLog b/app-doc/NaturalDocs/ChangeLog
new file mode 100644
index 000000000000..547cfa607585
--- /dev/null
+++ b/app-doc/NaturalDocs/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-doc/NaturalDocs
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-doc/NaturalDocs/ChangeLog,v 1.1 2004/06/12 11:41:05 jmglov Exp $
+
+*NaturalDocs-1.22-r1 (12 Jun 2004)
+
+ 12 Jun 2004; Josh Glover <jmglov@gentoo.org> NaturalDocs-1.22-r1.ebuild,
+ metadata.xml:
+ This package was submitted by Josh Glover in bug #47266
+
diff --git a/app-doc/NaturalDocs/Manifest b/app-doc/NaturalDocs/Manifest
new file mode 100644
index 000000000000..9857140b986a
--- /dev/null
+++ b/app-doc/NaturalDocs/Manifest
@@ -0,0 +1,3 @@
+MD5 9ccb3429e88f1bad81ef41ed43b669d6 NaturalDocs-1.22-r1.ebuild 1448
+MD5 0a1c85907143b1e0cb3a1cfbab12c5f2 metadata.xml 652
+MD5 ba8d02225abe2fef772ee5f7eff2cbf1 files/digest-NaturalDocs-1.22-r1 137
diff --git a/app-doc/NaturalDocs/NaturalDocs-1.22-r1.ebuild b/app-doc/NaturalDocs/NaturalDocs-1.22-r1.ebuild
new file mode 100644
index 000000000000..3d18224a141e
--- /dev/null
+++ b/app-doc/NaturalDocs/NaturalDocs-1.22-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-doc/NaturalDocs/NaturalDocs-1.22-r1.ebuild,v 1.1 2004/06/12 11:41:05 jmglov Exp $
+
+DESCRIPTION="Extensible, multi-language source code documentation generator"
+HOMEPAGE="http://www.naturaldocs.org/"
+SRC_URI="mirror://sourceforge/naturaldocs/${P}.zip mirror://sourceforge/naturaldocs/${P}-Patch-3.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE=""
+RESTRICT="nomirror"
+
+RDEPEND="dev-lang/perl"
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+ mkdir ${P} || die "could not create directory ${P}"
+ cd ${P}
+ unzip ${DISTDIR}/${P}.zip
+
+ # See if we have a patch. If we have more than one, use the highest-
+ # numbered one *only*
+ local patch=`ls -r ${DISTDIR}/${P}-Patch-?.zip | head -1`
+
+ # If we have a patch, it is actually a whole new Perl module. Just
+ # unzip it over top of the original one.
+ if [ -n "${patch}" ]; then
+ einfo Applying patch: `basename ${patch}`
+ unzip -o ${patch}
+ fi
+}
+
+src_compile() {
+ einfo "Nothing to compile"
+}
+
+src_install() {
+ # Install Perl script, modules, and other supporting stuff
+ dodir /usr/share/NaturalDocs
+ cp -a NaturalDocs ${D}/usr/share/NaturalDocs/
+ cp -ar Modules Project Styles ${D}/usr/share/NaturalDocs/
+
+ # Make the Perl script executable
+ chmod a+x ${D}/usr/share/NaturalDocs/NaturalDocs
+
+ # Symlink the Perl script into /usr/bin
+ dodir /usr/bin
+ dosym /usr/share/NaturalDocs/NaturalDocs /usr/bin/NaturalDocs
+
+ # Documentation
+ dodoc *.txt
+ dohtml -r Help/*
+}
diff --git a/app-doc/NaturalDocs/files/digest-NaturalDocs-1.22-r1 b/app-doc/NaturalDocs/files/digest-NaturalDocs-1.22-r1
new file mode 100644
index 000000000000..7e84af8b34e9
--- /dev/null
+++ b/app-doc/NaturalDocs/files/digest-NaturalDocs-1.22-r1
@@ -0,0 +1,2 @@
+MD5 6ba12724373ce4ce3ffcd4234d4a147e NaturalDocs-1.22.zip 271369
+MD5 01f57ba9cde6f5ea874a4c3bc56dcb57 NaturalDocs-1.22-Patch-3.zip 14712
diff --git a/app-doc/NaturalDocs/metadata.xml b/app-doc/NaturalDocs/metadata.xml
new file mode 100644
index 000000000000..ab27558ce673
--- /dev/null
+++ b/app-doc/NaturalDocs/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>jmglov@gentoo.org</email>
+ <name>Josh Glover</name>
+ </maintainer>
+ <longdescription>Natural Docs is an open-source, extensible, multi-language documentation generator. It extracts specially formatted comments from source code and builds HTML documentation from it. The syntax is transparent so that the comments in the source code read just as easily as the generated documentation. It also focuses on automation and high-quality generated output.</longdescription>
+</pkgmetadata>