summaryrefslogtreecommitdiff
path: root/emulators/libretro-np2kai
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-05-31 17:49:49 +0000
committernia <nia@pkgsrc.org>2020-05-31 17:49:49 +0000
commit998454eb29768c5f033cfa82f5704fbe5886b7de (patch)
tree46c7b1c025698c3c8a17b8d86be229d9f348236f /emulators/libretro-np2kai
parentcc2d8a3d7e8a07a82a71d5ba0269e4faa07d58bb (diff)
downloadpkgsrc-998454eb29768c5f033cfa82f5704fbe5886b7de.tar.gz
libretro-np2kai: convert to core.mk
Diffstat (limited to 'emulators/libretro-np2kai')
-rw-r--r--emulators/libretro-np2kai/Makefile18
1 files changed, 3 insertions, 15 deletions
diff --git a/emulators/libretro-np2kai/Makefile b/emulators/libretro-np2kai/Makefile
index e4b5b5c0e19..5e239f44aa7 100644
--- a/emulators/libretro-np2kai/Makefile
+++ b/emulators/libretro-np2kai/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2020/05/26 09:45:15 nia Exp $
+# $NetBSD: Makefile,v 1.4 2020/05/31 17:49:49 nia Exp $
NP2KAI_REV= 18
DISTNAME= libretro-np2kai-0.86.${NP2KAI_REV}
@@ -15,16 +15,10 @@ LICENSE= mit
BUILD_DIRS= sdl2
MAKE_FILE= Makefile.libretro
-OPSYSVARS+= SOEXT
-SOEXT.Darwin= dylib
-SOEXT.*= so
-PLIST_SUBST+= SOEXT=${SOEXT}
+LIBRETRO_CORE= np2kai
-USE_TOOLS+= gmake
USE_LANGUAGES= c c++
-MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
-
.include "../../mk/bsd.prefs.mk"
# The networking code currently uses non-portable Linux-specific calls.
@@ -32,11 +26,5 @@ MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
MAKE_FLAGS= SUPPORT_NET=0
.endif
-INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
-
-do-install:
- ${INSTALL_LIB} ${WRKSRC}/sdl2/np2kai_libretro.so \
- ${DESTDIR}${PREFIX}/lib/libretro/np2kai_libretro.so
-
-.include "../../mk/pthread.buildlink3.mk"
+.include "../../emulators/retroarch/core.mk"
.include "../../mk/bsd.pkg.mk"