summaryrefslogtreecommitdiff
path: root/emulators/gpsp-rpi/Makefile
diff options
context:
space:
mode:
authorjmcneill <jmcneill>2015-02-06 02:02:03 +0000
committerjmcneill <jmcneill>2015-02-06 02:02:03 +0000
commit542ebc20ca2e5e06ce73a8f6175110f193605fcd (patch)
tree6e50ace32737b873c51e699bc5e3a561c048b9d6 /emulators/gpsp-rpi/Makefile
parentd84ef11416286a35126d6ffa34857eac33a8e2b9 (diff)
downloadpkgsrc-542ebc20ca2e5e06ce73a8f6175110f193605fcd.tar.gz
Import gpsp-rpi-20150205 as emulators/gpsp-rpi.
gameplaySP (gpSP for short) is a GBA emulator written completely from scratch. It is still pretty young (only having started a 3 months prior to the first release) and thus rather immature, but it does a decent job of playing a number of games, and is being improved upon somewhat regularly. It is currently somewhat minimalistic, in the sourcecode, presentation, and features. Its number one focus is to deliver a GBA gaming experience in the most playable way that PSP can manage, with frills being secondary (although still a consideration, at least for some of them). This version of gpSP is optimized for the Raspberry Pi.
Diffstat (limited to 'emulators/gpsp-rpi/Makefile')
-rw-r--r--emulators/gpsp-rpi/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/emulators/gpsp-rpi/Makefile b/emulators/gpsp-rpi/Makefile
new file mode 100644
index 00000000000..b5d7f6dfdba
--- /dev/null
+++ b/emulators/gpsp-rpi/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1 2015/02/06 02:02:03 jmcneill Exp $
+
+DISTNAME= gpsp-rpi-20150205
+CATEGORIES= emulators
+MASTER_SITES= http://ftp.NetBSD.org/pub/NetBSD/misc/jmcneill/rpi/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= port-arm@NetBSD.org
+HOMEPAGE= https://github.com/DPRCZ/gpsp
+COMMENT= Gameboy Advance emulator (Raspberry Pi version)
+LICENSE= gnu-gpl-v2
+
+ONLY_FOR_PLATFORM= NetBSD-*-*arm*
+
+WRKSRC= ${WRKDIR}/gpsp-master
+USE_TOOLS+= gmake
+
+SUBST_CLASSES+= vc
+SUBST_STAGE.vc= pre-configure
+SUBST_MESSAGE.vc= Fixing path to VideoCore libraries.
+SUBST_FILES.vc= raspberrypi/Makefile
+SUBST_SED.vc+= -e 's;/opt/vc;${PREFIX};g'
+
+LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib
+BUILDLINK_TRANSFORM+= rm:-ldl
+
+INSTALLATION_DIRS= bin
+
+do-build:
+ cd ${WRKSRC}/raspberrypi && gmake
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/raspberrypi/gpsp \
+ ${DESTDIR}${PREFIX}/bin
+
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../misc/raspberrypi-userland/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"