summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2009-03-29 16:33:25 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2009-03-29 16:33:25 +0000
commit48b5056ba736f3fd8ed7f5992ab683efc4c47dec (patch)
treecfd796e5a497456f3b4fe97ced76da7edcfdc573 /app-doc/NaturalDocs/NaturalDocs-1.40.ebuild
parentVersion bump. Fixes bug #146952. Keywording tracked in bug #264195. Adding su... (diff)
downloadhistorical-48b5056ba736f3fd8ed7f5992ab683efc4c47dec.tar.gz
historical-48b5056ba736f3fd8ed7f5992ab683efc4c47dec.tar.bz2
historical-48b5056ba736f3fd8ed7f5992ab683efc4c47dec.zip
Version bumped. Fixed locations. Removed old version.
Package-Manager: portage-2.1.6.8/cvs/Linux x86_64
Diffstat (limited to 'app-doc/NaturalDocs/NaturalDocs-1.40.ebuild')
-rw-r--r--app-doc/NaturalDocs/NaturalDocs-1.40.ebuild49
1 files changed, 49 insertions, 0 deletions
diff --git a/app-doc/NaturalDocs/NaturalDocs-1.40.ebuild b/app-doc/NaturalDocs/NaturalDocs-1.40.ebuild
new file mode 100644
index 000000000000..37312682ea47
--- /dev/null
+++ b/app-doc/NaturalDocs/NaturalDocs-1.40.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-doc/NaturalDocs/NaturalDocs-1.40.ebuild,v 1.1 2009/03/29 16:33:25 matsuu Exp $
+
+inherit perl-module
+
+MY_P="${PN}-1.4"
+DESCRIPTION="Extensible, multi-language source code documentation generator"
+HOMEPAGE="http://www.naturaldocs.org/"
+SRC_URI="mirror://sourceforge/naturaldocs/${MY_P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE=""
+
+RDEPEND="dev-lang/perl"
+DEPEND="${RDEPEND}
+ app-arch/unzip
+ !<app-doc/NaturalDocs-1.40" # for dosym
+
+S="${WORKDIR}"
+
+src_install() {
+ insinto /usr/share/${PN}
+ doins -r Styles Info JavaScript
+
+ insinto /etc/${PN}
+ doins -r Config/*
+ dosym /etc/${PN} /usr/share/${PN}/Config
+
+ perlinfo
+ insinto ${VENDOR_LIB}
+ doins -r Modules/NaturalDocs
+ dodir /usr/share/${PN}/Modules
+ dosym ${VENDOR_LIB}/NaturalDocs /usr/share/${PN}/Modules/NaturalDocs
+
+ exeinto /usr/share/${PN}
+ doexe ${PN}
+
+ # Symlink the Perl script into /usr/bin
+ dodir /usr/bin
+ dosym /usr/share/${PN}/${PN} /usr/bin/${PN}
+
+ # Documentation
+ dohtml -r Help/*
+ dosym /usr/share/doc/${PF}/html /usr/share/${PN}/Help
+}