Page MenuHomeFreeBSD

D29816.id87641.diff
No OneTemporary

D29816.id87641.diff

diff --git a/games/Makefile b/games/Makefile
--- a/games/Makefile
+++ b/games/Makefile
@@ -845,6 +845,7 @@
SUBDIR += rubygem-fortune_gem
SUBDIR += rubygem-lolcat
SUBDIR += rubygem-vimgolf
+ SUBDIR += runelite
SUBDIR += sampsvr
SUBDIR += sarien
SUBDIR += sauerbraten
diff --git a/games/runelite/Makefile b/games/runelite/Makefile
new file mode 100644
--- /dev/null
+++ b/games/runelite/Makefile
@@ -0,0 +1,44 @@
+# Created by: Alexander Vereeken <Alexander88207@protonmail.com>
+
+PORTNAME= runelite
+PORTVERSION= 2.1.5
+CATEGORIES= games java
+MASTER_SITES= https://github.com/runelite/launcher/releases/download/${PORTVERSION}/ \
+ https://raw.githubusercontent.com/runelite/launcher/${PORTVERSION}/appimage/ \
+ https://raw.githubusercontent.com/runelite/launcher/${PORTVERSION}/
+DISTFILES= RuneLite.jar \
+ runelite.png \
+ LICENSE
+DIST_SUBDIR= ${PORTNAME}/${PORTVERSION}
+EXTRACT_ONLY=
+
+MAINTAINER= Alexander88207@protonmail.com
+COMMENT= Open source Old School RuneScape client
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${DISTDIR}/${DIST_SUBDIR}/LICENSE
+
+USE_JAVA= yes
+JAVA_VERSION= 11
+
+DESKTOP_ENTRIES="RuneLite" \
+ "Old School RuneScape client" \
+ "${PREFIX}/share/pixmaps/runelite.png" \
+ "${PORTNAME}" \
+ "Game;Java;" \
+ false
+
+NO_ARCH= yes
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/RuneLite.jar \
+ ${STAGEDIR}${DATADIR}/RuneLite.jar
+ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/runelite.png \
+ ${STAGEDIR}${PREFIX}/share/pixmaps/runelite.png
+ ${ECHO} "exec java -jar /usr/local/share/runelite/RuneLite.jar" >> ${WRKDIR}/runelite
+ ${INSTALL_SCRIPT} ${WRKDIR}/runelite ${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/games/runelite/distinfo b/games/runelite/distinfo
new file mode 100644
--- /dev/null
+++ b/games/runelite/distinfo
@@ -0,0 +1,7 @@
+TIMESTAMP = 1618698332
+SHA256 (runelite/2.1.5/RuneLite.jar) = e015f5f3c4088c8153c6783692daa52a7ec0a90f6d74170a5a680e8ffe72775d
+SIZE (runelite/2.1.5/RuneLite.jar) = 2513498
+SHA256 (runelite/2.1.5/runelite.png) = 81cb6ce7d8c4b9154e9840ab9d2938d0e6234f227049f004cacf90724f95cc11
+SIZE (runelite/2.1.5/runelite.png) = 35774
+SHA256 (runelite/2.1.5/LICENSE) = 1487fb5a1804002fd63fe8c01c75258c148fbfa0e2c5d9e97056f9fcd607c0ad
+SIZE (runelite/2.1.5/LICENSE) = 1329
diff --git a/games/runelite/pkg-descr b/games/runelite/pkg-descr
new file mode 100644
--- /dev/null
+++ b/games/runelite/pkg-descr
@@ -0,0 +1,3 @@
+Popular free, open-source and super fast client for Old School RuneScape.
+
+WWW: https://runelite.net
diff --git a/games/runelite/pkg-plist b/games/runelite/pkg-plist
new file mode 100644
--- /dev/null
+++ b/games/runelite/pkg-plist
@@ -0,0 +1,3 @@
+bin/runelite
+share/pixmaps/runelite.png
+%%DATADIR%%/RuneLite.jar

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 27, 10:17 PM (7 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15618116
Default Alt Text
D29816.id87641.diff (2 KB)

Event Timeline