summaryrefslogtreecommitdiff
path: root/emulators/mgba/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/mgba/Makefile')
-rw-r--r--emulators/mgba/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/emulators/mgba/Makefile b/emulators/mgba/Makefile
new file mode 100644
index 00000000000..f25a11b027d
--- /dev/null
+++ b/emulators/mgba/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2019/06/08 22:46:03 nia Exp $
+
+DISTNAME= mgba-0.7.2
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_GITHUB:=mgba-emu/}
+
+MAINTAINER= nia@NetBSD.org
+HOMEPAGE= https://mgba.io/
+COMMENT= Emulator for running Game Boy Advance games
+LICENSE= mpl-2.0
+
+EXTRACT_USING= bsdtar
+USE_TOOLS+= pkg-config
+USE_CMAKE= yes
+USE_LANGUAGES= c c++
+
+# using libzip
+CMAKE_ARGS+= -DUSE_MINIZIP=OFF
+
+.include "options.mk"
+.include "../../archivers/libzip/buildlink3.mk"
+.include "../../databases/sqlite3/buildlink3.mk"
+.include "../../devel/libelf/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"