summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomoya Tabuchi <t@tomoyat1.com>2016-12-28 20:25:46 +0900
committerDavid Seifert <soap@gentoo.org>2016-12-29 14:26:42 +0200
commit644caaa00fc5825985042e0951ebb7dafa97a151 (patch)
tree1294ce7545cf20b20c0cc5c331c20bd8f06ccd54 /dev-lua
parentapp-i18n/man-pages-ru: remove old version. (diff)
downloadgentoo-644caaa00fc5825985042e0951ebb7dafa97a151.tar.gz
gentoo-644caaa00fc5825985042e0951ebb7dafa97a151.tar.bz2
gentoo-644caaa00fc5825985042e0951ebb7dafa97a151.zip
dev-lua/ldoc: New package
Package-Manager: portage-2.3.0 Closes: https://github.com/gentoo/gentoo/pull/3261
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/ldoc/Manifest1
-rw-r--r--dev-lua/ldoc/files/ldoc-1.4.6-mkdir.patch10
-rw-r--r--dev-lua/ldoc/ldoc-1.4.6.ebuild22
-rw-r--r--dev-lua/ldoc/metadata.xml15
4 files changed, 48 insertions, 0 deletions
diff --git a/dev-lua/ldoc/Manifest b/dev-lua/ldoc/Manifest
new file mode 100644
index 000000000000..3eac37b5023c
--- /dev/null
+++ b/dev-lua/ldoc/Manifest
@@ -0,0 +1 @@
+DIST ldoc-1.4.6.tar.gz 126080 SHA256 4b73e78a0325fb3c295d015ddb60b5cee5b647cecb5c50ce8f01319b53bd536f SHA512 bcaddba4e462a4fb0aa0d8fcff390de3f195fa5cc569d8f05b84ad0fff900f5ac945be7a2eb15cf5ca60cc462f02c874579e4a19e33776178a04104ef9d944af WHIRLPOOL 8a724915683ea78258ab2ba852bc60ead0ab0c58318c449e8fc8b69b35707a4da7f4b5d4cc9322877aae1c86212122aa06698d248a9657887b97e57a2033a6a6
diff --git a/dev-lua/ldoc/files/ldoc-1.4.6-mkdir.patch b/dev-lua/ldoc/files/ldoc-1.4.6-mkdir.patch
new file mode 100644
index 000000000000..0c7a9497c4a5
--- /dev/null
+++ b/dev-lua/ldoc/files/ldoc-1.4.6-mkdir.patch
@@ -0,0 +1,10 @@
+--- a/makefile
++++ b/makefile
+@@ -6,6 +6,7 @@
+ ldoc:
+
+ install: install_parts
++ mkdir -p $(DESTDIR)$(LUA_BINDIR)
+ echo "lua $(LUA_SHAREDIR)/ldoc.lua \$$*" > $(DESTDIR)$(LUA_BINDIR)/ldoc
+ chmod +x $(DESTDIR)$(LUA_BINDIR)/ldoc
+
diff --git a/dev-lua/ldoc/ldoc-1.4.6.ebuild b/dev-lua/ldoc/ldoc-1.4.6.ebuild
new file mode 100644
index 000000000000..cc203af335d5
--- /dev/null
+++ b/dev-lua/ldoc/ldoc-1.4.6.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="A LuaDoc-compatible documentation generation system"
+HOMEPAGE="https://stevedonovan.github.io/ldoc/"
+SRC_URI="https://github.com/stevedonovan/LDoc/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="dev-lua/penlight"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}/${PN}-1.4.6-mkdir.patch" )
+
+S="${WORKDIR}/LDoc-${PV}"
+RESTRICT="test"
diff --git a/dev-lua/ldoc/metadata.xml b/dev-lua/ldoc/metadata.xml
new file mode 100644
index 000000000000..8bece58c613f
--- /dev/null
+++ b/dev-lua/ldoc/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>t@tomoyat1.com</email>
+ <name>Tomoya Tabuchi</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainer</name>
+ </maintainer>
+ <longdescription lang="en">
+ LDoc is a LuaDoc-compatible documentation generation system.
+ </longdescription>
+</pkgmetadata>