summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-lua/luadoc
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-lua/luadoc')
-rw-r--r--dev-lua/luadoc/Manifest1
-rw-r--r--dev-lua/luadoc/luadoc-3.0.1.ebuild36
-rw-r--r--dev-lua/luadoc/metadata.xml14
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-lua/luadoc/Manifest b/dev-lua/luadoc/Manifest
new file mode 100644
index 000000000000..e10097112e15
--- /dev/null
+++ b/dev-lua/luadoc/Manifest
@@ -0,0 +1 @@
+DIST luadoc-3.0.1.tar.gz 108824 SHA256 b00d1d1bb11ba007b9de1d1d4b4b5d964f16d8fa5b361a45e53168837768d9e5 SHA512 413b40e72cc0699c00caf47fe3d7233c8619bfd6064eac001762bcb2ae0b21ccc6f800bd05566cd83924546e5616d1e5840d8bc20ec6d1f1c7a64910a9df6be2 WHIRLPOOL ea738ed678cc060af405b4c61517b717d3753c2fd085b071466f4963697a568c19fd3b5c8341675dacb299879323ea2bf713df042d14f316d0ec03325d49496f
diff --git a/dev-lua/luadoc/luadoc-3.0.1.ebuild b/dev-lua/luadoc/luadoc-3.0.1.ebuild
new file mode 100644
index 000000000000..7cc6c70860d7
--- /dev/null
+++ b/dev-lua/luadoc/luadoc-3.0.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit multilib
+DESCRIPTION="LuaDoc is a documentation tool for Lua source code"
+HOMEPAGE="http://luadoc.luaforge.net/"
+SRC_URI="http://luaforge.net/frs/download.php/3185/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 arm ppc ppc64 x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=""
+RDEPEND=">=dev-lang/lua-5.1.3
+ dev-lua/luafilesystem"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e "s|/usr/local|\$(DESTDIR)/usr|" \
+ -e "s|lib|$(get_libdir)|" \
+ -e "s|lua5.1|lua|" \
+ config || die
+
+ # lua-5.1.3
+ find . -name '*.lua' | xargs sed -i -e "s/gfind/gmatch/g" || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc README
+ dohtml -r doc/us/*
+}
diff --git a/dev-lua/luadoc/metadata.xml b/dev-lua/luadoc/metadata.xml
new file mode 100644
index 000000000000..946b8a6466d0
--- /dev/null
+++ b/dev-lua/luadoc/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>rafaelmartins@gentoo.org</email>
+ </maintainer>
+ <longdescription lang="en">
+ LuaDoc is a documentation generator tool for Lua source code.
+ It parses the declarations and documentation comments in a set of Lua
+ source files and produces a set of XHTML pages describing the commented
+ declarations and functions.
+ </longdescription>
+</pkgmetadata>
+