aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Vereeken <Alexander88207@protonmail.com>2025-04-30 17:36:44 +0000
committerKenneth Raplee <kenrap@FreeBSD.org>2026-04-27 14:16:41 +0000
commit96ee20de32e6582faf236a47dbb83409fa1c211d (patch)
tree03e6ed87832460b37a00cb1bb42c3af8076f6c6f
parented6507638548c8e97b24cd3f4f28f2c887a7ae96 (diff)
games/nile: Unofficial Amazon Games client
Nile aims to be CLI and GUI tool for managing and playing games from Amazon. At the moment, Nile is a command line application. PR: 286478 Co-authored-by: Kenneth Raplee <kenrap@FreeBSD.org> Approved by: arrowd (co-mentor)
-rw-r--r--games/Makefile1
-rw-r--r--games/nile/Makefile30
-rw-r--r--games/nile/distinfo3
-rw-r--r--games/nile/files/patch-pyproject.toml12
-rw-r--r--games/nile/pkg-descr3
5 files changed, 49 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 963274b9958b..c35f85defd36 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -674,6 +674,7 @@
SUBDIR += nextgo
SUBDIR += nexuiz
SUBDIR += nighthawk
+ SUBDIR += nile
SUBDIR += nimuh
SUBDIR += ninix-aya
SUBDIR += njam
diff --git a/games/nile/Makefile b/games/nile/Makefile
new file mode 100644
index 000000000000..bc94bdd271b3
--- /dev/null
+++ b/games/nile/Makefile
@@ -0,0 +1,30 @@
+PORTNAME= nile
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.2.0
+CATEGORIES= games
+
+MAINTAINER= Alexander88207@protonmail.com
+COMMENT= Unofficial Amazon Games client
+WWW= https://github.com/imLinguin/nile
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE.md
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}json5>0:devel/py-json5@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}platformdirs>0:devel/py-platformdirs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}protobuf>0:devel/py-protobuf@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pycryptodome>0:security/py-pycryptodome@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}zstandard>0:archivers/py-zstandard@${PY_FLAVOR}
+
+USES= python
+USE_GITHUB= yes
+GH_ACCOUNT= imLinguin
+USE_PYTHON= autoplist noflavors pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/games/nile/distinfo b/games/nile/distinfo
new file mode 100644
index 000000000000..af12857e95a0
--- /dev/null
+++ b/games/nile/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1777297030
+SHA256 (imLinguin-nile-v1.2.0_GH0.tar.gz) = a06dd595248f0b4bf8fccf2b14a534391c94b810f725b6bbeaca92bc3ac2673d
+SIZE (imLinguin-nile-v1.2.0_GH0.tar.gz) = 48348
diff --git a/games/nile/files/patch-pyproject.toml b/games/nile/files/patch-pyproject.toml
new file mode 100644
index 000000000000..80378a5e9db6
--- /dev/null
+++ b/games/nile/files/patch-pyproject.toml
@@ -0,0 +1,12 @@
+--- pyproject.toml.orig 2024-09-10 15:12:57 UTC
++++ pyproject.toml
+@@ -2,6 +2,9 @@ build-backend = "setuptools.build_meta"
+ requires = ["setuptools"]
+ build-backend = "setuptools.build_meta"
+
++[tool.setuptools.packages.find]
++where = ["."]
++
+ [project]
+ name = "nile"
+ description = "Unofficial Amazon Games client"
diff --git a/games/nile/pkg-descr b/games/nile/pkg-descr
new file mode 100644
index 000000000000..7a2647e8a111
--- /dev/null
+++ b/games/nile/pkg-descr
@@ -0,0 +1,3 @@
+Nile aims to be CLI and GUI tool for managing and playing games from Amazon.
+
+At the moment, Nile is a command line application.