summaryrefslogtreecommitdiff
path: root/dev-util/mh
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:47:34 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:47:34 -0500
commitdda948891d3731927b821ce31f9d9a2d03ba20c5 (patch)
tree99cd40be4cbb0606260da212cd81b8ab2db9da9b /dev-util/mh
parenta3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (diff)
downloadbaldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.tar.gz
baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.tar.xz
baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.zip
Adding metadata
Diffstat (limited to 'dev-util/mh')
-rw-r--r--dev-util/mh/Manifest1
-rw-r--r--dev-util/mh/metadata.xml17
-rw-r--r--dev-util/mh/mh-1.4.1.ebuild34
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-util/mh/Manifest b/dev-util/mh/Manifest
new file mode 100644
index 000000000000..2cecb93033a6
--- /dev/null
+++ b/dev-util/mh/Manifest
@@ -0,0 +1 @@
+DIST mh-1.4.1.tar.gz 933304 BLAKE2B 1d68f35911d05b00cec9a1e7ab9b92b415aaf7695f0613d27a16127f1996d74bdd995ef7c3ef11f0090de12ed0c99d65786eafc8d8eb981f589a6938d9e87f25 SHA512 88af321f124aae1a51938268d318600fc0de5309f7da158679bd810e25ce172c8c246c1fecce33e5022816f45a00dc00734670573a9e276cfe0bdc177bc5f119
diff --git a/dev-util/mh/metadata.xml b/dev-util/mh/metadata.xml
new file mode 100644
index 000000000000..0416900374e7
--- /dev/null
+++ b/dev-util/mh/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <name>Oz Tiram</name>
+ <email>oz.tiram@gmail.com</email>
+ </maintainer>
+ <longdescription lang="en">
+ A small program you put in your Makefile to produce fancy help.
+ mh parses the comments you put after targets and variables, and
+ produces a help menu, which helps understanding what each target
+ does. This is useful, if Makefile is used as a task launcher for
+ different tools (e.g. wrapper around docker, yarn, npm and setup.py
+ etc.)
+ </longdescription>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
diff --git a/dev-util/mh/mh-1.4.1.ebuild b/dev-util/mh/mh-1.4.1.ebuild
new file mode 100644
index 000000000000..e42f86af5fa7
--- /dev/null
+++ b/dev-util/mh/mh-1.4.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Generate help for Makefile"
+HOMEPAGE="https://github.com/oz123/mh"
+SRC_URI="https://github.com/oz123/mh/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT=0
+KEYWORDS="~amd64"
+
+inherit toolchain-funcs
+
+IUSE="test"
+
+RESTRICT="!test? ( test )"
+
+BDEPEND="virtual/pkgconfig"
+RDEPEND="dev-libs/libpcre2"
+DEPEND="
+ ${RDEPEND}
+ test? ( dev-util/cmocka )
+"
+
+src_compile() {
+ emake mh VERSION="${PV}" CC="$(tc-getCC)"
+}
+
+src_install() {
+ emake install DESTDIR="${D}" PREFIX="/usr"
+ dodoc Makefile.example
+}