Page MenuHomeFreeBSD

D29816.diff
No OneTemporary

D29816.diff

diff --git a/games/Makefile b/games/Makefile
--- a/games/Makefile
+++ b/games/Makefile
@@ -858,6 +858,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,48 @@
+# Created by: Alexander Vereeken <Alexander88207@protonmail.com>
+
+PORTNAME= runelite
+PORTVERSION= 2.2.0
+CATEGORIES= games java
+MASTER_SITES+= https://github.com/runelite/launcher/releases/download/${PORTVERSION}/:game \
+ https://raw.githubusercontent.com/runelite/launcher/${PORTVERSION}/appimage/:icon \
+ https://raw.githubusercontent.com/runelite/launcher/${PORTVERSION}/:license
+DISTFILES= RuneLite.jar:game \
+ runelite.png:icon \
+ LICENSE: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 ${DATADIR}/RuneLite.jar" >> ${WRKDIR}/runelite
+ ${INSTALL_SCRIPT} ${WRKDIR}/runelite ${STAGEDIR}${PREFIX}/bin
+
+PLIST_FILES= bin/runelite \
+ share/pixmaps/runelite.png \
+ share/runelite/RuneLite.jar
+
+.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 = 1632943468
+SHA256 (runelite/2.2.0/RuneLite.jar) = e14e9d0f265b17d711370f0d4749adb6401a39a269a9531349edfd431a8f138f
+SIZE (runelite/2.2.0/RuneLite.jar) = 2551717
+SHA256 (runelite/2.2.0/runelite.png) = 81cb6ce7d8c4b9154e9840ab9d2938d0e6234f227049f004cacf90724f95cc11
+SIZE (runelite/2.2.0/runelite.png) = 35774
+SHA256 (runelite/2.2.0/LICENSE) = 1487fb5a1804002fd63fe8c01c75258c148fbfa0e2c5d9e97056f9fcd607c0ad
+SIZE (runelite/2.2.0/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

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 27, 8:16 AM (10 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15612521
Default Alt Text
D29816.diff (2 KB)

Event Timeline