summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2013-07-31 11:34:38 +0000
committerIan Delaney <idella4@gentoo.org>2013-07-31 11:34:38 +0000
commit62d6dad34bd30699a6182ed85b20794eb81b75b4 (patch)
tree0c24816c9dc17a0c2ec18bea5115d607168de401 /app-doc/NaturalDocs
parentamd64/x86 stable wrt bug #478716 (diff)
downloadgentoo-2-62d6dad34bd30699a6182ed85b20794eb81b75b4.tar.gz
gentoo-2-62d6dad34bd30699a6182ed85b20794eb81b75b4.tar.bz2
gentoo-2-62d6dad34bd30699a6182ed85b20794eb81b75b4.zip
bumped to EAPI 5
(Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'app-doc/NaturalDocs')
-rw-r--r--app-doc/NaturalDocs/ChangeLog9
-rw-r--r--app-doc/NaturalDocs/NaturalDocs-1.52-r1.ebuild57
2 files changed, 64 insertions, 2 deletions
diff --git a/app-doc/NaturalDocs/ChangeLog b/app-doc/NaturalDocs/ChangeLog
index e76dabf63ec5..57310fb84ce7 100644
--- a/app-doc/NaturalDocs/ChangeLog
+++ b/app-doc/NaturalDocs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-doc/NaturalDocs
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-doc/NaturalDocs/ChangeLog,v 1.41 2012/12/18 16:31:56 ago Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-doc/NaturalDocs/ChangeLog,v 1.42 2013/07/31 11:34:38 idella4 Exp $
+
+*NaturalDocs-1.52-r1 (31 Jul 2013)
+
+ 31 Jul 2013; Ian Delaney <idella4@gentoo.org> +NaturalDocs-1.52-r1.ebuild:
+ bumped to EAPI 5
18 Dec 2012; Agostino Sarubbo <ago@gentoo.org> NaturalDocs-1.52.ebuild:
Stable for ia64, wrt bug #439732
diff --git a/app-doc/NaturalDocs/NaturalDocs-1.52-r1.ebuild b/app-doc/NaturalDocs/NaturalDocs-1.52-r1.ebuild
new file mode 100644
index 000000000000..428174b0d840
--- /dev/null
+++ b/app-doc/NaturalDocs/NaturalDocs-1.52-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-doc/NaturalDocs/NaturalDocs-1.52-r1.ebuild,v 1.1 2013/07/31 11:34:38 idella4 Exp $
+
+EAPI="5"
+
+inherit perl-module
+
+DESCRIPTION="Extensible, multi-language source code documentation generator"
+HOMEPAGE="http://www.naturaldocs.org/"
+SRC_URI="mirror://sourceforge/naturaldocs/${P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+
+IUSE=""
+
+RDEPEND="dev-lang/perl"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+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
+}
+
+pkg_preinst() {
+ if [[ -e /usr/share/${PN}/Config && ! -L /usr/share/${PN}/Config ]] ; then
+ mkdir -p /etc/${PN}
+ mv /usr/share/${PN}/Config/* /etc/${PN}/
+ rm -rf /usr/share/${PN}/Config
+ fi
+}