summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-02-10 12:39:10 +0000
committernia <nia@pkgsrc.org>2019-02-10 12:39:10 +0000
commit0d7ce8f3a4c83eb4b74f1fa0167ee745dd938f7c (patch)
treee9fd5ce46559e3338ee472b8334189177793e0de
parent95abc2c143ebcae75436b69ecd973fc24f87f6d0 (diff)
downloadpkgsrc-0d7ce8f3a4c83eb4b74f1fa0167ee745dd938f7c.tar.gz
games/libretro-2048: Import version libretro-2048-20181229
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. 2048 is a puzzle game.
-rw-r--r--games/Makefile3
-rw-r--r--games/libretro-2048/DESCR7
-rw-r--r--games/libretro-2048/Makefile36
-rw-r--r--games/libretro-2048/PLIST2
-rw-r--r--games/libretro-2048/distinfo6
5 files changed, 53 insertions, 1 deletions
diff --git a/games/Makefile b/games/Makefile
index b5da2505f59..211bd30c0a5 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.422 2018/12/23 15:05:51 nia Exp $
+# $NetBSD: Makefile,v 1.423 2019/02/10 12:39:10 nia Exp $
#
COMMENT= Games
@@ -226,6 +226,7 @@ SUBDIR+= libggz
SUBDIR+= libkdegames
SUBDIR+= libkmahjongg
SUBDIR+= liblcf
+SUBDIR+= libretro-2048
SUBDIR+= libretro-craft
SUBDIR+= libretro-nxengine
SUBDIR+= lincity
diff --git a/games/libretro-2048/DESCR b/games/libretro-2048/DESCR
new file mode 100644
index 00000000000..b3d4aaa07b6
--- /dev/null
+++ b/games/libretro-2048/DESCR
@@ -0,0 +1,7 @@
+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.
+
+2048 is a puzzle game.
diff --git a/games/libretro-2048/Makefile b/games/libretro-2048/Makefile
new file mode 100644
index 00000000000..88ba73d0073
--- /dev/null
+++ b/games/libretro-2048/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2019/02/10 12:39:10 nia Exp $
+
+DISTNAME= libretro-2048-20181229
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_GITHUB:=libretro/}
+GITHUB_PROJECT= libretro-2048
+GITHUB_TAG= bc05dc6e504e78fd4eaf7bf91f5b3f84a93c2962
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://docs.libretro.com/library/2048/
+COMMENT= Libretro core based on the 2048 puzzle game
+LICENSE= unlicense
+
+EXTRACT_USING= bsdtar
+USE_TOOLS+= gmake
+MAKE_FILE= Makefile.libretro
+
+CHECK_PORTABILITY_SKIP+= pixman/configure
+
+MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
+
+.include "../../mk/endian.mk"
+
+.if ${MACHINE_ENDIAN} == "big"
+CFLAGS+= -DMSB_FIRST
+.endif
+
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--no-undefined
+
+INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
+
+do-install:
+ ${INSTALL_LIB} ${WRKSRC}/2048_libretro.so \
+ ${DESTDIR}${PREFIX}/lib/libretro/2048_libretro.so
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/libretro-2048/PLIST b/games/libretro-2048/PLIST
new file mode 100644
index 00000000000..8313f2c01cb
--- /dev/null
+++ b/games/libretro-2048/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2019/02/10 12:39:10 nia Exp $
+lib/libretro/2048_libretro.so
diff --git a/games/libretro-2048/distinfo b/games/libretro-2048/distinfo
new file mode 100644
index 00000000000..9d6e173bfe6
--- /dev/null
+++ b/games/libretro-2048/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/02/10 12:39:10 nia Exp $
+
+SHA1 (libretro-2048-20181229-bc05dc6e504e78fd4eaf7bf91f5b3f84a93c2962.tar.gz) = 5628715c81e097b772f27588845fa9238787bf57
+RMD160 (libretro-2048-20181229-bc05dc6e504e78fd4eaf7bf91f5b3f84a93c2962.tar.gz) = a72feb910c6668072652afa6ed8256bf8ac675cc
+SHA512 (libretro-2048-20181229-bc05dc6e504e78fd4eaf7bf91f5b3f84a93c2962.tar.gz) = 54969a7a42827e7b7fd2ff82ed27caa0d47a59ca1ac800ea71fd949c05af98884b10f242b054064820800cab196f5fe7ffd570612cc6d79cbab1f43830dffcf6
+Size (libretro-2048-20181229-bc05dc6e504e78fd4eaf7bf91f5b3f84a93c2962.tar.gz) = 2694417 bytes