commit: bf1e389a2632e668c3ffdcd8092609aab6b72e9b
Author: Maciej Barć gentoo org>
AuthorDate: Tue Jan 30 00:14:54 2024 +
Commit: Maciej Barć gentoo org>
CommitDate: Tue Jan 30 00:27:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf1e389a
dev-lang/oorexx: new package; add 5.0.0
Signed-off-by: Maciej Barć gentoo.org>
dev-lang/oorexx/Manifest | 1 +
dev-lang/oorexx/files/oorexx-5.0.0-man.patch | 21
dev-lang/oorexx/metadata.xml | 20 +++
dev-lang/oorexx/oorexx-5.0.0.ebuild | 37
4 files changed, 79 insertions(+)
diff --git a/dev-lang/oorexx/Manifest b/dev-lang/oorexx/Manifest
new file mode 100644
index ..9baf8267b212
--- /dev/null
+++ b/dev-lang/oorexx/Manifest
@@ -0,0 +1 @@
+DIST oorexx-5.0.0-12583.tar.gz 6398458 BLAKE2B
3df1eb024eae75f9c29bd46a7c9e0c8fffecf54545e5926f872b6757f0cba56530c4b457e94ec44debbd98e514e1043ba751384dc0f1dabb4812aa52da4381e0
SHA512
141af22e0a99731d50492940d5db55cc59099e5a7fa8acba918d1ae82bcd6e2983fb0ca71bbbf044cc4fc89e740c8a0ac81237eea5812d7a570f825bba5d08b9
diff --git a/dev-lang/oorexx/files/oorexx-5.0.0-man.patch
b/dev-lang/oorexx/files/oorexx-5.0.0-man.patch
new file mode 100644
index ..61679305cd49
--- /dev/null
+++ b/dev-lang/oorexx/files/oorexx-5.0.0-man.patch
@@ -0,0 +1,21 @@
+--- a/CMakeLists.txt
b/CMakeLists.txt
+@@ -1791,13 +1791,13 @@ install(PROGRAMS
${CMAKE_SAMPLES_OUTPUT_DIRECTORY}/rexxcps.rex COMPONENT Samples
+
+ if (NOT WIN32)
+macro (add_manpage name cat)
+- add_custom_command(OUTPUT ${name}.${cat}.gz
+- COMMAND gzip -c
++ add_custom_command(OUTPUT ${name}.${cat}
++ COMMAND cp
+ ${CMAKE_CURRENT_SOURCE_DIR}/${build_platform_dir}/${name}.${cat}
+- > ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${name}.${cat}.gz
++ ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${name}.${cat}
+ DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/${build_platform_dir}/${name}.${cat})
+- add_custom_target(${name}_man ALL DEPENDS ${name}.${cat}.gz)
+- install(FILES ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${name}.${cat}.gz
++ add_custom_target(${name}_man ALL DEPENDS ${name}.${cat})
++ install(FILES ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${name}.${cat}
+ DESTINATION ${INSTALL_MAN_DIR}/man${cat}
+ PERMISSIONS OWNER_READ GROUP_READ WORLD_READ OWNER_WRITE)
+endmacro (add_manpage)
diff --git a/dev-lang/oorexx/metadata.xml b/dev-lang/oorexx/metadata.xml
new file mode 100644
index ..0f076930b212
--- /dev/null
+++ b/dev-lang/oorexx/metadata.xml
@@ -0,0 +1,20 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+
+
+x...@gentoo.org
+Maciej Barć
+
+
+Open Object Rexx (ooRexx) is an Open Source project managed by Rexx
+Language Association (RexxLA) providing a free implementation of Object
+Rexx. ooRexx is distributed under Common Public License (CPL) v1.0. Object
+Rexx is an enhancement of classic Rexx; a powerful, full-featured
+programming language which has a human-oriented syntax.
+
+
+https://sourceforge.net/p/oorexx/bugs/
+oorexx
+
+
diff --git a/dev-lang/oorexx/oorexx-5.0.0.ebuild
b/dev-lang/oorexx/oorexx-5.0.0.ebuild
new file mode 100644
index ..51c81bc9f4f2
--- /dev/null
+++ b/dev-lang/oorexx/oorexx-5.0.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+APP_REVISION=12583
+
+inherit cmake
+
+DESCRIPTION="Open source implementation of Object Rexx"
+HOMEPAGE="https://www.oorexx.org/about.html
+ https://sourceforge.net/projects/oorexx/;
+SRC_URI="https://sourceforge.net/projects/${PN}/files/${PN}/${PV}/${P}-${APP_REVISION}.tar.gz;
+S="${WORKDIR}/${P}"
+
+LICENSE="CPL-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ sys-libs/ncurses:=
+ virtual/libcrypt:=
+"
+DEPEND="
+ ${RDEPEND}
+"
+
+PATCHES=( "${FILESDIR}/${PN}-5.0.0-man.patch" )
+
+src_unpack() {
+ default
+
+ # HACK: Dance around cmake.eclass S directory requirements.
+ mv "${WORKDIR}" "${T}/${P}" || die
+ mkdir -p "${WORKDIR}" || die
+ mv "${T}/${P}" "${S}" || die
+}