Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/libretro-np2kai libretro-np2kai: convert to ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/28cd007bd064
branches:  trunk
changeset: 433223:28cd007bd064
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun May 31 17:49:49 2020 +0000

description:
libretro-np2kai: convert to core.mk

diffstat:

 emulators/libretro-np2kai/Makefile |  18 +++---------------
 1 files changed, 3 insertions(+), 15 deletions(-)

diffs (40 lines):

diff -r 11e94502c24b -r 28cd007bd064 emulators/libretro-np2kai/Makefile
--- a/emulators/libretro-np2kai/Makefile        Sun May 31 17:44:44 2020 +0000
+++ b/emulators/libretro-np2kai/Makefile        Sun May 31 17:49:49 2020 +0000
@@ -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 @@
 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=    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"



Home | Main Index | Thread Index | Old Index