aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Vereeken <Alexander88207@protonmail.com>2026-04-04 00:53:06 +0000
committerKenneth Raplee <kenrap@FreeBSD.org>2026-04-05 16:46:15 +0000
commitdaa622a7f6c26180e2e617c02d791c68f887f786 (patch)
treefd45bd5cb081449a1eeda8ce93c84e89afb79448
parentcd4662b6e74eeca9bbc75b4043c72f5a965d2838 (diff)
games/rare: New port
Rare is a graphical frontend for Legendary written in PySide6. PR: 286457 Co-authored-by: Kenneth Raplee <kenrap@FreeBSD.org> Approved by: makc (mentor)
-rw-r--r--games/Makefile1
-rw-r--r--games/rare/Makefile36
-rw-r--r--games/rare/distinfo3
-rw-r--r--games/rare/pkg-descr2
-rw-r--r--games/rare/pkg-message9
-rw-r--r--games/rare/pkg-plist2
6 files changed, 53 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index c9d81dfd82d8..4e160103b124 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -851,6 +851,7 @@
SUBDIR += qwfwd
SUBDIR += r1q2
SUBDIR += railroad-rampage
+ SUBDIR += rare
SUBDIR += rawgl
SUBDIR += re3
SUBDIR += redeclipse
diff --git a/games/rare/Makefile b/games/rare/Makefile
new file mode 100644
index 000000000000..02d3a7a3d8a9
--- /dev/null
+++ b/games/rare/Makefile
@@ -0,0 +1,36 @@
+PORTNAME= rare
+DISTVERSION= 1.11.3
+CATEGORIES= games
+
+MAINTAINER= Alexander88207@protonmail.com
+COMMENT= Frontend for legendary
+WWW= https://github.com/RareDevs/Rare
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR}
+
+RUN_DEPENDS= legendary>0:games/legendary \
+ ${PYTHON_PKGNAMEPREFIX}orjson>0:devel/py-orjson@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyside6>0:devel/pyside6@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}QtAwesome>0:x11-fonts/py-QtAwesome@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}vdf>0:devel/vdf@${PY_FLAVOR}
+
+USES= python
+
+USE_GITHUB= yes
+GH_ACCOUNT= RareDevs
+GH_PROJECT= Rare
+
+USE_PYTHON= autoplist distutils noflavors
+
+NO_ARCH= yes
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/misc/rare.desktop \
+ ${STAGEDIR}${PREFIX}/share/applications/rare.desktop
+ ${INSTALL_DATA} ${WRKSRC}/rare/resources/images/Rare.png \
+ ${STAGEDIR}${PREFIX}/share/pixmaps/rare.png
+
+.include <bsd.port.mk>
diff --git a/games/rare/distinfo b/games/rare/distinfo
new file mode 100644
index 000000000000..6063eec92bdf
--- /dev/null
+++ b/games/rare/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1745862104
+SHA256 (RareDevs-Rare-1.11.3_GH0.tar.gz) = 994aa89e9f1033fe9fa696ec5898f048004fe232538a1d0a6a17ba87efbfda69
+SIZE (RareDevs-Rare-1.11.3_GH0.tar.gz) = 5223046
diff --git a/games/rare/pkg-descr b/games/rare/pkg-descr
new file mode 100644
index 000000000000..da4fb868f974
--- /dev/null
+++ b/games/rare/pkg-descr
@@ -0,0 +1,2 @@
+Rare is a graphical interface for Legendary,
+a command line alternative to Epic Games launcher, written in PySide6.
diff --git a/games/rare/pkg-message b/games/rare/pkg-message
new file mode 100644
index 000000000000..657142afb30f
--- /dev/null
+++ b/games/rare/pkg-message
@@ -0,0 +1,9 @@
+[
+{
+ message: <<EOM
+To play Windows games you need to install Wine.
+
+Enjoy!
+EOM
+}
+]
diff --git a/games/rare/pkg-plist b/games/rare/pkg-plist
new file mode 100644
index 000000000000..ad86d01c5de6
--- /dev/null
+++ b/games/rare/pkg-plist
@@ -0,0 +1,2 @@
+share/applications/rare.desktop
+share/pixmaps/rare.png