Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/libretro-prosystem libretro-prosystem: conve...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/31d408642639
branches:  trunk
changeset: 433070:31d408642639
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat May 30 15:22:02 2020 +0000

description:
libretro-prosystem: convert to core.mk

diffstat:

 emulators/libretro-prosystem/Makefile |  25 +++----------------------
 1 files changed, 3 insertions(+), 22 deletions(-)

diffs (43 lines):

diff -r 84dafed041d1 -r 31d408642639 emulators/libretro-prosystem/Makefile
--- a/emulators/libretro-prosystem/Makefile     Sat May 30 15:20:12 2020 +0000
+++ b/emulators/libretro-prosystem/Makefile     Sat May 30 15:22:02 2020 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2020/05/26 09:45:16 nia Exp $
+# $NetBSD: Makefile,v 1.4 2020/05/30 15:22:02 nia Exp $
 
 DISTNAME=      libretro-prosystem-20180812
 CATEGORIES=    emulators
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=libretro/}
 GITHUB_PROJECT=        prosystem-libretro
 GITHUB_TAG=    463dfff97f2e7d707ee5ae238cb2e8e70beb585a
 
@@ -11,27 +10,9 @@
 COMMENT=       Libretro core based on the ProSystem Atari 7800 emulator
 LICENSE=       gnu-gpl-v2
 
-USE_TOOLS+=    gmake
-MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
-
-OPSYSVARS+=    SOEXT
-SOEXT.Darwin=  dylib
-SOEXT.*=       so
-PLIST_SUBST+=  SOEXT=${SOEXT}
+LIBRETRO_CORE= prosystem
 
-.include "../../mk/endian.mk"
-
-.if ${MACHINE_ENDIAN} == "big"
-CFLAGS+=       -DMSB_FIRST
-.endif
-
-BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,--no-undefined
 BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,--version-script=link.T
 
-INSTALLATION_DIRS+=    ${PREFIX}/lib/libretro
-
-do-install:
-       ${INSTALL_LIB} ${WRKSRC}/prosystem_libretro.so \
-           ${DESTDIR}${PREFIX}/lib/libretro/prosystem_libretro.so
-
+.include "../../emulators/retroarch/core.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index