summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2018-08-11 00:48:50 +0000
committernia <nia@pkgsrc.org>2018-08-11 00:48:50 +0000
commitfbfe97a54c5b1dc2fa9d133c145c1c43d94ece23 (patch)
tree2764ac586dfa924697f3753dda9a5a4bb2782659 /games
parented919126d42178cfce1a45edd337b5b3254e81cf (diff)
downloadpkgsrc-fbfe97a54c5b1dc2fa9d133c145c1c43d94ece23.tar.gz
games/libretro-craft: Import libretro-craft-20180803
Libretro is a simple but powerful development interface that allows for the easy creation of emulators, games and multimedia applications that can plug straight into any libretro-compatible frontend. This development interface is open to others so that they can run these pluggable emulator and game cores also in their own programs or devices. Craft is a Minecraft clone. It's just a few thousand lines of C and uses modern OpenGL (shaders).
Diffstat (limited to 'games')
-rw-r--r--games/Makefile3
-rw-r--r--games/libretro-craft/DESCR8
-rw-r--r--games/libretro-craft/Makefile27
-rw-r--r--games/libretro-craft/PLIST2
-rw-r--r--games/libretro-craft/distinfo6
5 files changed, 45 insertions, 1 deletions
diff --git a/games/Makefile b/games/Makefile
index 7dfac7bfb68..e2276d2d4da 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.416 2018/07/13 17:28:46 adam Exp $
+# $NetBSD: Makefile,v 1.417 2018/08/11 00:48:50 nia Exp $
#
COMMENT= Games
@@ -223,6 +223,7 @@ SUBDIR+= lgogdownloader
SUBDIR+= libggz
SUBDIR+= libkdegames
SUBDIR+= libkmahjongg
+SUBDIR+= libretro-craft
SUBDIR+= lincity
SUBDIR+= lincity-ng
SUBDIR+= liquidwar
diff --git a/games/libretro-craft/DESCR b/games/libretro-craft/DESCR
new file mode 100644
index 00000000000..06724965463
--- /dev/null
+++ b/games/libretro-craft/DESCR
@@ -0,0 +1,8 @@
+Libretro is a simple but powerful development interface that allows for
+the easy creation of emulators, games and multimedia applications that
+can plug straight into any libretro-compatible frontend. This development
+interface is open to others so that they can run these pluggable emulator
+and game cores also in their own programs or devices.
+
+Craft is a Minecraft clone. It's just a few thousand lines of C and uses
+modern OpenGL (shaders).
diff --git a/games/libretro-craft/Makefile b/games/libretro-craft/Makefile
new file mode 100644
index 00000000000..20710284644
--- /dev/null
+++ b/games/libretro-craft/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2018/08/11 00:48:50 nia Exp $
+
+DISTNAME= libretro-craft-20180803
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_GITHUB:=libretro/}
+GITHUB_PROJECT= Craft
+GITHUB_TAG= 581fb4255f7e856af4d568ee518e73dd38244c5d
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://docs.libretro.com/library/craft
+COMMENT= Libretro core based on the 'Craft' Minecraft clone
+LICENSE= mit
+
+USE_TOOLS+= gmake
+
+MAKE_FILE= Makefile.libretro
+MAKE_FLAGS+= GIT_VERSION=" \(pkgsrc\)"
+
+INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
+
+do-install:
+ ${INSTALL_LIB} ${WRKSRC}/craft_libretro.so \
+ ${DESTDIR}${PREFIX}/lib/libretro/craft_libretro.so
+
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/libretro-craft/PLIST b/games/libretro-craft/PLIST
new file mode 100644
index 00000000000..c80854bd86e
--- /dev/null
+++ b/games/libretro-craft/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/08/11 00:48:50 nia Exp $
+lib/libretro/craft_libretro.so
diff --git a/games/libretro-craft/distinfo b/games/libretro-craft/distinfo
new file mode 100644
index 00000000000..bf270f36771
--- /dev/null
+++ b/games/libretro-craft/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/08/11 00:48:50 nia Exp $
+
+SHA1 (libretro-craft-20180803-581fb4255f7e856af4d568ee518e73dd38244c5d.tar.gz) = 80c6b81b2d1fc2b58dff853a867093c3f58ad15c
+RMD160 (libretro-craft-20180803-581fb4255f7e856af4d568ee518e73dd38244c5d.tar.gz) = 8115a31dcb88b813e3f0a73ce8f7b5d24162b4bf
+SHA512 (libretro-craft-20180803-581fb4255f7e856af4d568ee518e73dd38244c5d.tar.gz) = 533f0f48d0f764c2f5dd8b9fea2717c1754f567b86d62a25873ee423dd2f2b75e8cd5d8a8ecaabc1531be0511fa3e896284c930498cf94cca6d756aab583e8c6
+Size (libretro-craft-20180803-581fb4255f7e856af4d568ee518e73dd38244c5d.tar.gz) = 3252506 bytes