pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/libretro-2048



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun May 31 16:33:06 UTC 2020

Modified Files:
        pkgsrc/games/libretro-2048: Makefile

Log Message:
libretro-2048: convert to core.mk


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/games/libretro-2048/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/games/libretro-2048/Makefile
diff -u pkgsrc/games/libretro-2048/Makefile:1.2 pkgsrc/games/libretro-2048/Makefile:1.3
--- pkgsrc/games/libretro-2048/Makefile:1.2     Tue May 26 09:45:11 2020
+++ pkgsrc/games/libretro-2048/Makefile Sun May 31 16:33:06 2020
@@ -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 @@ HOMEPAGE=   https://docs.libretro.com/libr
 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