commit:     ebf12e54addc19613a03598f4ad7af389e1252e5
Author:     Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Tue Sep 23 17:31:54 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Sep 24 01:29:39 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebf12e54

games-mud/powwow: add 1.2.23

Closes: https://bugs.gentoo.org/944372
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Part-of: https://github.com/gentoo/gentoo/pull/43903
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-mud/powwow/Manifest             |  1 +
 games-mud/powwow/powwow-1.2.23.ebuild | 52 +++++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/games-mud/powwow/Manifest b/games-mud/powwow/Manifest
index f759f013a4e7..4cca4d3afe1e 100644
--- a/games-mud/powwow/Manifest
+++ b/games-mud/powwow/Manifest
@@ -1 +1,2 @@
 DIST powwow-1.2.22.tar.gz 339521 BLAKE2B 
abbad1cdce0f1f8d7c5affdb2665231fd3f4faa2439e90a5f37f23455eea0e687c63476fc63a508cbfff2ffc33ea97c31c66b868255aa60a4a9819c0eebe8844
 SHA512 
558143ab4dfa06798abe7cb6b18ce3ceb70925214ac0125f0f3823f077a6cbbda50557c954af623a2dae003a57df893325085e53a4ee9322250bc7e695b76fe5
+DIST powwow-1.2.23.tar.gz 338893 BLAKE2B 
8abb23c0f7b8f09abddf66affcf4d985d1d31d36aed86469bf6c200fe487b5aacec67e6c6029a231f8afe3569a472c9dfb3e394f989b7d5fc2ba4f8df4d90755
 SHA512 
591ff9ca9dfc3bb624cfbb7f47785af977250cf9f6858b5149cf0fa30c6e1173f03f0cbabb8a55eb6ceb7622509f6c3fb11c36b154edc243824ecb8513c110a4

diff --git a/games-mud/powwow/powwow-1.2.23.ebuild 
b/games-mud/powwow/powwow-1.2.23.ebuild
new file mode 100644
index 000000000000..0d39a6eab1b5
--- /dev/null
+++ b/games-mud/powwow/powwow-1.2.23.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic
+
+DESCRIPTION="PowWow Console MUD Client"
+HOMEPAGE="https://www.hoopajoo.net/projects/powwow.html";
+SRC_URI="https://www.hoopajoo.net/static/projects/${P}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="virtual/pkgconfig"
+DEPEND="sys-libs/ncurses:0="
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-1.2.22-linking.patch
+       "${FILESDIR}"/${PN}-1.2.22-musl-termios.patch
+)
+
+src_prepare() {
+       default
+
+       # note that that the extra, seemingly-redundant files installed are
+       # actually used by in-game help commands
+       sed -i \
+               -e "s/pkgdata_DATA = powwow.doc/pkgdata_DATA = /" \
+               Makefile.am || die
+
+       eautoreconf
+}
+
+src_configure() {
+       # https://bugs.gentoo.org/944372
+       append-cflags -std=gnu17
+
+       econf --includedir="${EPREFIX}"/usr/include
+}
+
+src_install() {
+       local DOCS=( Hacking powwow.doc powwow.help README.* TODO )
+       # Prepend doc/
+       DOCS=( ${DOCS[@]/#/doc\//} )
+       # Add in the root items
+       DOCS+=( ChangeLog NEWS )
+
+       default
+}

Reply via email to