diff options
author | 2004-06-12 11:41:05 +0000 | |
---|---|---|
committer | 2004-06-12 11:41:05 +0000 | |
commit | 1a8ccac75e44bb35bb6f17be3dec28a0aab63ab7 (patch) | |
tree | 9ca80791e41352f979289e86535e1a114038a042 /app-doc/NaturalDocs/NaturalDocs-1.22-r1.ebuild | |
parent | Fixed #53690. (diff) | |
download | historical-1a8ccac75e44bb35bb6f17be3dec28a0aab63ab7.tar.gz historical-1a8ccac75e44bb35bb6f17be3dec28a0aab63ab7.tar.bz2 historical-1a8ccac75e44bb35bb6f17be3dec28a0aab63ab7.zip |
This package was submitted by Josh Glover in bug #47266
Diffstat (limited to 'app-doc/NaturalDocs/NaturalDocs-1.22-r1.ebuild')
-rw-r--r-- | app-doc/NaturalDocs/NaturalDocs-1.22-r1.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
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/* +} |