Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/libretro-2048 libretro-2048: convert to core.mk



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c330dd082355
branches:  trunk
changeset: 433192:c330dd082355
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun May 31 16:33:06 2020 +0000

description:
libretro-2048: convert to core.mk

diffstat:

 games/libretro-2048/Makefile |  26 +++-----------------------
 1 files changed, 3 insertions(+), 23 deletions(-)

diffs (46 lines):

diff -r d704b67538e4 -r c330dd082355 games/libretro-2048/Makefile
--- a/games/libretro-2048/Makefile      Sun May 31 16:30:24 2020 +0000
+++ b/games/libretro-2048/Makefile      Sun May 31 16:33:06 2020 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2020/05/26 09:45:11 nia Exp $
+# $NetBSD: Makefile,v 1.3 2020/05/31 16:33:06 nia Exp $
 
 DISTNAME=      libretro-2048-20181229
 CATEGORIES=    games
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=libretro/}
 GITHUB_PROJECT=        libretro-2048
 GITHUB_TAG=    bc05dc6e504e78fd4eaf7bf91f5b3f84a93c2962
 
@@ -11,30 +10,11 @@
 COMMENT=       Libretro core based on the 2048 puzzle game
 LICENSE=       unlicense
 
-USE_TOOLS+=    gmake
 MAKE_FILE=     Makefile.libretro
 
-OPSYSVARS+=    SOEXT
-SOEXT.Darwin=  dylib
-SOEXT.*=       so
-PLIST_SUBST+=  SOEXT=${SOEXT}
+LIBRETRO_CORE= 2048
 
 CHECK_PORTABILITY_SKIP+=       pixman/configure
 
-MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
-
-.include "../../mk/endian.mk"
-
-.if ${MACHINE_ENDIAN} == "big"
-CFLAGS+=       -DMSB_FIRST
-.endif
-
-BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,--no-undefined
-
-INSTALLATION_DIRS+=    ${PREFIX}/lib/libretro
-
-do-install:
-       ${INSTALL_LIB} ${WRKSRC}/2048_libretro.so \
-           ${DESTDIR}${PREFIX}/lib/libretro/2048_libretro.so
-
+.include "../../emulators/retroarch/core.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index