commit:     3c10dc20a6778b105303c7c77f5409dcf626080e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 18 13:14:22 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 18 13:19:07 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c10dc20

games-puzzle/galaxis: add 1.12

There is a Makefile w/ install target but it doesn't create MANDIR
nor install the right filename (.1 vs .8) so just left it as-is.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-puzzle/galaxis/Manifest            |  1 +
 games-puzzle/galaxis/galaxis-1.12.ebuild | 40 ++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/games-puzzle/galaxis/Manifest b/games-puzzle/galaxis/Manifest
index d6c1772790ea..d4dcd8bfbdfc 100644
--- a/games-puzzle/galaxis/Manifest
+++ b/games-puzzle/galaxis/Manifest
@@ -1 +1,2 @@
 DIST galaxis-1.10.tar.gz 11499 BLAKE2B 
d18dbedbe9533de3238a6f77dc05854454afe05ceb3ad9fdcdba1b80c3a07a904e1c16932e19ca3ef769121704823a28e62c87fa7e79acc1707226db35b1b67e
 SHA512 
cedaac1923674fdae85dd09d6c38c6a15e0c027cf520ea6d92c15f0613adbc3a3b7e1e627d19e6d8b21c93fdb8acab8236893ce179dc4e898ba7da8f256dd341
+DIST galaxis-1.12.tar.gz 11173 BLAKE2B 
77c267b94b08f7ee361cbd9309628c4ea4beed1e267de4b1dba56fbef09a4e5df5638dfbb464bb9d7ef392493487b2af0f09e234b85d904a0d2d4fbcd04baf09
 SHA512 
18085206974983091cfdd576d7af0948c465ccea7e9be93a6205622fd2ca01d5e4353712047511a86237789cecf381018a1533d31daf92d3250eaffd6f8b9bc2

diff --git a/games-puzzle/galaxis/galaxis-1.12.ebuild 
b/games-puzzle/galaxis/galaxis-1.12.ebuild
new file mode 100644
index 000000000000..0619f93210a4
--- /dev/null
+++ b/games-puzzle/galaxis/galaxis-1.12.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop flag-o-matic toolchain-funcs
+
+DESCRIPTION="Curses-based clone of the nifty little Macintosh freeware game 
Galaxis"
+HOMEPAGE="http://www.catb.org/~esr/galaxis/";
+SRC_URI="http://www.catb.org/~esr/galaxis/${P}.tar.gz";
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+
+DEPEND="sys-libs/ncurses:="
+RDEPEND="${DEPEND}"
+BDEPEND="
+       dev-ruby/asciidoctor
+       virtual/pkgconfig
+"
+
+src_compile() {
+       append-cppflags $($(tc-getPKG_CONFIG) --cflags ncurses || die) -DNDEBUG
+       append-libs $($(tc-getPKG_CONFIG) --libs ncurses || die)
+
+       emake \
+               CC="$(tc-getCC)" \
+               CFLAGS="${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" \
+               TERMLIB="${LIBS}"
+}
+
+src_install() {
+       dobin ${PN}
+       doman ${PN}.6
+       einstalldocs
+
+       doicon ${PN}.png
+       domenu ${PN}.desktop
+}

Reply via email to