summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron W. Swenson <titanofold@gentoo.org>2011-10-20 14:11:44 +0000
committerAaron W. Swenson <titanofold@gentoo.org>2011-10-20 14:11:44 +0000
commitcd35bac6e4b5a24b4614df61266aca33ac1d537b (patch)
treec618b3897d1262bf628f1f917bf190450c48a779 /app-doc/NaturalDocs/NaturalDocs-1.52.ebuild
parentnet-misc/x25_utils (diff)
downloadgentoo-2-cd35bac6e4b5a24b4614df61266aca33ac1d537b.tar.gz
gentoo-2-cd35bac6e4b5a24b4614df61266aca33ac1d537b.tar.bz2
gentoo-2-cd35bac6e4b5a24b4614df61266aca33ac1d537b.zip
Version bump. Now proxy-maintained by Ian "idella4" Delaney, proxy-committed by Aaron W. Swenson.
(Portage version: 2.1.10.11/cvs/Linux i686)
Diffstat (limited to 'app-doc/NaturalDocs/NaturalDocs-1.52.ebuild')
-rw-r--r--app-doc/NaturalDocs/NaturalDocs-1.52.ebuild57
1 files changed, 57 insertions, 0 deletions
diff --git a/app-doc/NaturalDocs/NaturalDocs-1.52.ebuild b/app-doc/NaturalDocs/NaturalDocs-1.52.ebuild
new file mode 100644
index 000000000000..aecf3a4d112e
--- /dev/null
+++ b/app-doc/NaturalDocs/NaturalDocs-1.52.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-doc/NaturalDocs/NaturalDocs-1.52.ebuild,v 1.1 2011/10/20 14:11:44 titanofold Exp $
+
+EAPI="4"
+
+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 ~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
+}