pkgsrc-Changes archive

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

CVS commit: pkgsrc



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue May 26 09:45:17 UTC 2020

Modified Files:
        pkgsrc/emulators/libretro-beetle-ngp: Makefile PLIST
        pkgsrc/emulators/libretro-beetle-pce-fast: Makefile PLIST
        pkgsrc/emulators/libretro-beetle-psx: PLIST
        pkgsrc/emulators/libretro-beetle-psx-hw: PLIST
        pkgsrc/emulators/libretro-beetle-saturn: Makefile PLIST
        pkgsrc/emulators/libretro-beetle-sgx: Makefile PLIST
        pkgsrc/emulators/libretro-beetle-vb: Makefile PLIST
        pkgsrc/emulators/libretro-beetle-wswan: Makefile PLIST
        pkgsrc/emulators/libretro-bluemsx: Makefile PLIST
        pkgsrc/emulators/libretro-bsnes-mercury: Makefile.common PLIST
        pkgsrc/emulators/libretro-bsnes-mercury-accuracy: PLIST
        pkgsrc/emulators/libretro-bsnes-mercury-performance: PLIST
        pkgsrc/emulators/libretro-cap32: Makefile PLIST
        pkgsrc/emulators/libretro-core-info: Makefile
        pkgsrc/emulators/libretro-database: Makefile
        pkgsrc/emulators/libretro-desmume: Makefile PLIST
        pkgsrc/emulators/libretro-dolphin: Makefile PLIST
        pkgsrc/emulators/libretro-fbalpha: Makefile PLIST
        pkgsrc/emulators/libretro-fceumm: Makefile PLIST
        pkgsrc/emulators/libretro-freeintv: Makefile PLIST
        pkgsrc/emulators/libretro-fuse: Makefile PLIST
        pkgsrc/emulators/libretro-gambatte: Makefile PLIST
        pkgsrc/emulators/libretro-genesis-plus-gx: Makefile PLIST
        pkgsrc/emulators/libretro-mame2010: Makefile PLIST
        pkgsrc/emulators/libretro-mgba: Makefile PLIST
        pkgsrc/emulators/libretro-mupen64plus: Makefile PLIST
        pkgsrc/emulators/libretro-nestopia: Makefile PLIST
        pkgsrc/emulators/libretro-np2kai: Makefile PLIST
        pkgsrc/emulators/libretro-o2em: Makefile PLIST
        pkgsrc/emulators/libretro-pcsx-rearmed: Makefile PLIST
        pkgsrc/emulators/libretro-picodrive: Makefile PLIST
        pkgsrc/emulators/libretro-ppsspp: Makefile PLIST
        pkgsrc/emulators/libretro-prosystem: Makefile PLIST
        pkgsrc/emulators/libretro-reicast: Makefile PLIST
        pkgsrc/emulators/libretro-sameboy: Makefile PLIST
        pkgsrc/emulators/libretro-snes9x: Makefile PLIST
        pkgsrc/emulators/libretro-snes9x2005: Makefile PLIST
        pkgsrc/emulators/libretro-snes9x2010: Makefile PLIST
        pkgsrc/emulators/libretro-stella: Makefile PLIST
        pkgsrc/emulators/libretro-vba-next: Makefile PLIST
        pkgsrc/emulators/libretro-vecx: Makefile PLIST
        pkgsrc/emulators/libretro-virtualjaguar: Makefile PLIST
        pkgsrc/games/libretro-2048: Makefile PLIST
        pkgsrc/games/libretro-craft: Makefile PLIST
        pkgsrc/games/libretro-nxengine: Makefile PLIST

Log Message:
libretro-*: Support Darwin by cargo-culting SOEXT. Remove bsdtar hack.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/emulators/libretro-beetle-ngp/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-beetle-ngp/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/emulators/libretro-beetle-pce-fast/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-beetle-pce-fast/PLIST
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-beetle-psx/PLIST
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-beetle-psx-hw/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/emulators/libretro-beetle-saturn/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-beetle-saturn/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/emulators/libretro-beetle-sgx/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-beetle-sgx/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/emulators/libretro-beetle-vb/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-beetle-vb/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/emulators/libretro-beetle-wswan/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-beetle-wswan/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/emulators/libretro-bluemsx/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-bluemsx/PLIST
cvs rdiff -u -r1.4 -r1.5 \
    pkgsrc/emulators/libretro-bsnes-mercury/Makefile.common
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-bsnes-mercury/PLIST
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/emulators/libretro-bsnes-mercury-accuracy/PLIST
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/emulators/libretro-bsnes-mercury-performance/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/emulators/libretro-cap32/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-cap32/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/emulators/libretro-core-info/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/emulators/libretro-database/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/emulators/libretro-desmume/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-desmume/PLIST
cvs rdiff -u -r1.15 -r1.16 pkgsrc/emulators/libretro-dolphin/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-dolphin/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/emulators/libretro-fbalpha/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-fbalpha/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/emulators/libretro-fceumm/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-fceumm/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/emulators/libretro-freeintv/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-freeintv/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/emulators/libretro-fuse/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-fuse/PLIST
cvs rdiff -u -r1.7 -r1.8 pkgsrc/emulators/libretro-gambatte/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-gambatte/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/emulators/libretro-genesis-plus-gx/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-genesis-plus-gx/PLIST
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-mame2010/Makefile \
    pkgsrc/emulators/libretro-mame2010/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/emulators/libretro-mgba/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/emulators/libretro-mgba/PLIST
cvs rdiff -u -r1.21 -r1.22 pkgsrc/emulators/libretro-mupen64plus/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-mupen64plus/PLIST
cvs rdiff -u -r1.6 -r1.7 pkgsrc/emulators/libretro-nestopia/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/emulators/libretro-nestopia/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/emulators/libretro-np2kai/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-np2kai/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/emulators/libretro-o2em/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-o2em/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/emulators/libretro-pcsx-rearmed/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-pcsx-rearmed/PLIST
cvs rdiff -u -r1.7 -r1.8 pkgsrc/emulators/libretro-picodrive/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-picodrive/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/emulators/libretro-ppsspp/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-ppsspp/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/emulators/libretro-prosystem/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-prosystem/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/emulators/libretro-reicast/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-reicast/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/emulators/libretro-sameboy/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-sameboy/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/emulators/libretro-snes9x/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-snes9x/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/emulators/libretro-snes9x2005/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-snes9x2005/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/emulators/libretro-snes9x2010/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-snes9x2010/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/emulators/libretro-stella/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-stella/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/emulators/libretro-vba-next/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-vba-next/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/emulators/libretro-vecx/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-vecx/PLIST
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-virtualjaguar/Makefile \
    pkgsrc/emulators/libretro-virtualjaguar/PLIST
cvs rdiff -u -r1.1 -r1.2 pkgsrc/games/libretro-2048/Makefile \
    pkgsrc/games/libretro-2048/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/games/libretro-craft/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/games/libretro-craft/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/games/libretro-nxengine/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/games/libretro-nxengine/PLIST

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

Modified files:

Index: pkgsrc/emulators/libretro-beetle-ngp/Makefile
diff -u pkgsrc/emulators/libretro-beetle-ngp/Makefile:1.4 pkgsrc/emulators/libretro-beetle-ngp/Makefile:1.5
--- pkgsrc/emulators/libretro-beetle-ngp/Makefile:1.4   Mon Feb 25 21:37:41 2019
+++ pkgsrc/emulators/libretro-beetle-ngp/Makefile       Tue May 26 09:45:12 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2019/02/25 21:37:41 nia Exp $
+# $NetBSD: Makefile,v 1.5 2020/05/26 09:45:12 nia Exp $
 
 DISTNAME=      libretro-beetle-ngp-20190203
 CATEGORIES=    emulators
@@ -15,6 +15,11 @@ USE_TOOLS+=  gmake
 USE_LANGUAGES= c c++03
 MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 .include "../../mk/endian.mk"
 
 .if ${MACHINE_ENDIAN} == "big"

Index: pkgsrc/emulators/libretro-beetle-ngp/PLIST
diff -u pkgsrc/emulators/libretro-beetle-ngp/PLIST:1.1 pkgsrc/emulators/libretro-beetle-ngp/PLIST:1.2
--- pkgsrc/emulators/libretro-beetle-ngp/PLIST:1.1      Sat Aug 11 00:32:25 2018
+++ pkgsrc/emulators/libretro-beetle-ngp/PLIST  Tue May 26 09:45:12 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/11 00:32:25 nia Exp $
-lib/libretro/mednafen_ngp_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:12 nia Exp $
+lib/libretro/mednafen_ngp_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-beetle-pce-fast/Makefile
diff -u pkgsrc/emulators/libretro-beetle-pce-fast/Makefile:1.2 pkgsrc/emulators/libretro-beetle-pce-fast/Makefile:1.3
--- pkgsrc/emulators/libretro-beetle-pce-fast/Makefile:1.2      Tue Oct  2 21:09:28 2018
+++ pkgsrc/emulators/libretro-beetle-pce-fast/Makefile  Tue May 26 09:45:12 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2018/10/02 21:09:28 nia Exp $
+# $NetBSD: Makefile,v 1.3 2020/05/26 09:45:12 nia Exp $
 
 DISTNAME=      libretro-beetle-pce-fast-20180720
 CATEGORIES=    emulators
@@ -11,10 +11,14 @@ HOMEPAGE=   https://docs.libretro.com/libr
 COMMENT=       Libretro core based on the Mednafen PC Engine emulator
 LICENSE=       gnu-gpl-v2
 
-EXTRACT_USING= bsdtar
 USE_TOOLS+=    gmake
 USE_LANGUAGES= c c++
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
 
 BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,--version-script=link.T

Index: pkgsrc/emulators/libretro-beetle-pce-fast/PLIST
diff -u pkgsrc/emulators/libretro-beetle-pce-fast/PLIST:1.1 pkgsrc/emulators/libretro-beetle-pce-fast/PLIST:1.2
--- pkgsrc/emulators/libretro-beetle-pce-fast/PLIST:1.1 Fri Aug 10 23:16:12 2018
+++ pkgsrc/emulators/libretro-beetle-pce-fast/PLIST     Tue May 26 09:45:12 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/10 23:16:12 nia Exp $
-lib/libretro/mednafen_pce_fast_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:12 nia Exp $
+lib/libretro/mednafen_pce_fast_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-beetle-psx/PLIST
diff -u pkgsrc/emulators/libretro-beetle-psx/PLIST:1.1 pkgsrc/emulators/libretro-beetle-psx/PLIST:1.2
--- pkgsrc/emulators/libretro-beetle-psx/PLIST:1.1      Sat Aug 11 00:19:58 2018
+++ pkgsrc/emulators/libretro-beetle-psx/PLIST  Tue May 26 09:45:12 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/11 00:19:58 nia Exp $
-lib/libretro/mednafen_psx_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:12 nia Exp $
+lib/libretro/mednafen_psx_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-beetle-psx-hw/PLIST
diff -u pkgsrc/emulators/libretro-beetle-psx-hw/PLIST:1.1 pkgsrc/emulators/libretro-beetle-psx-hw/PLIST:1.2
--- pkgsrc/emulators/libretro-beetle-psx-hw/PLIST:1.1   Tue Dec 18 15:50:48 2018
+++ pkgsrc/emulators/libretro-beetle-psx-hw/PLIST       Tue May 26 09:45:12 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/12/18 15:50:48 nia Exp $
-lib/libretro/mednafen_psx_hw_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:12 nia Exp $
+lib/libretro/mednafen_psx_hw_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-beetle-saturn/Makefile
diff -u pkgsrc/emulators/libretro-beetle-saturn/Makefile:1.4 pkgsrc/emulators/libretro-beetle-saturn/Makefile:1.5
--- pkgsrc/emulators/libretro-beetle-saturn/Makefile:1.4        Tue Oct  2 21:09:29 2018
+++ pkgsrc/emulators/libretro-beetle-saturn/Makefile    Tue May 26 09:45:12 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2018/10/02 21:09:29 nia Exp $
+# $NetBSD: Makefile,v 1.5 2020/05/26 09:45:12 nia Exp $
 
 DISTNAME=      libretro-beetle-saturn-20180620
 PKGREVISION=   1
@@ -12,10 +12,14 @@ HOMEPAGE=   https://docs.libretro.com/libr
 COMMENT=       Libretro core based on the Mednafen Sega Saturn emulator
 LICENSE=       gnu-gpl-v2
 
-EXTRACT_USING= bsdtar
 USE_TOOLS+=    gmake
 USE_LANGUAGES= c c++
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
 
 # "experimental, x86_64 only" - https://mednafen.github.io/

Index: pkgsrc/emulators/libretro-beetle-saturn/PLIST
diff -u pkgsrc/emulators/libretro-beetle-saturn/PLIST:1.1 pkgsrc/emulators/libretro-beetle-saturn/PLIST:1.2
--- pkgsrc/emulators/libretro-beetle-saturn/PLIST:1.1   Sun Aug 12 13:22:43 2018
+++ pkgsrc/emulators/libretro-beetle-saturn/PLIST       Tue May 26 09:45:12 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/12 13:22:43 nia Exp $
-lib/libretro/mednafen_saturn_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:12 nia Exp $
+lib/libretro/mednafen_saturn_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-beetle-sgx/Makefile
diff -u pkgsrc/emulators/libretro-beetle-sgx/Makefile:1.2 pkgsrc/emulators/libretro-beetle-sgx/Makefile:1.3
--- pkgsrc/emulators/libretro-beetle-sgx/Makefile:1.2   Tue Oct  2 21:09:29 2018
+++ pkgsrc/emulators/libretro-beetle-sgx/Makefile       Tue May 26 09:45:12 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2018/10/02 21:09:29 nia Exp $
+# $NetBSD: Makefile,v 1.3 2020/05/26 09:45:12 nia Exp $
 
 DISTNAME=      libretro-beetle-sgx-20180512
 CATEGORIES=    emulators
@@ -11,10 +11,14 @@ HOMEPAGE=   https://docs.libretro.com/libr
 COMMENT=       Libretro core based on the Mednafen SuperGrafx emulator
 LICENSE=       gnu-gpl-v2
 
-EXTRACT_USING= bsdtar
 USE_TOOLS+=    gmake
 USE_LANGUAGES= c c++
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
 
 .include "../../mk/endian.mk"

Index: pkgsrc/emulators/libretro-beetle-sgx/PLIST
diff -u pkgsrc/emulators/libretro-beetle-sgx/PLIST:1.1 pkgsrc/emulators/libretro-beetle-sgx/PLIST:1.2
--- pkgsrc/emulators/libretro-beetle-sgx/PLIST:1.1      Mon Aug 13 00:54:25 2018
+++ pkgsrc/emulators/libretro-beetle-sgx/PLIST  Tue May 26 09:45:12 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/13 00:54:25 nia Exp $
-lib/libretro/mednafen_supergrafx_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:12 nia Exp $
+lib/libretro/mednafen_supergrafx_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-beetle-vb/Makefile
diff -u pkgsrc/emulators/libretro-beetle-vb/Makefile:1.2 pkgsrc/emulators/libretro-beetle-vb/Makefile:1.3
--- pkgsrc/emulators/libretro-beetle-vb/Makefile:1.2    Tue Oct  2 21:09:29 2018
+++ pkgsrc/emulators/libretro-beetle-vb/Makefile        Tue May 26 09:45:13 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2018/10/02 21:09:29 nia Exp $
+# $NetBSD: Makefile,v 1.3 2020/05/26 09:45:13 nia Exp $
 
 DISTNAME=      libretro-beetle-vb-20180620
 CATEGORIES=    emulators
@@ -11,10 +11,14 @@ HOMEPAGE=   https://docs.libretro.com/libr
 COMMENT=       Libretro core based on the Mednafen VirtualBoy emulator
 LICENSE=       gnu-gpl-v2
 
-EXTRACT_USING= bsdtar
 USE_TOOLS+=    gmake
 USE_LANGUAGES= c c++
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
 
 .include "../../mk/endian.mk"

Index: pkgsrc/emulators/libretro-beetle-vb/PLIST
diff -u pkgsrc/emulators/libretro-beetle-vb/PLIST:1.1 pkgsrc/emulators/libretro-beetle-vb/PLIST:1.2
--- pkgsrc/emulators/libretro-beetle-vb/PLIST:1.1       Sun Aug 12 14:36:52 2018
+++ pkgsrc/emulators/libretro-beetle-vb/PLIST   Tue May 26 09:45:13 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/12 14:36:52 nia Exp $
-lib/libretro/mednafen_vb_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:13 nia Exp $
+lib/libretro/mednafen_vb_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-beetle-wswan/Makefile
diff -u pkgsrc/emulators/libretro-beetle-wswan/Makefile:1.3 pkgsrc/emulators/libretro-beetle-wswan/Makefile:1.4
--- pkgsrc/emulators/libretro-beetle-wswan/Makefile:1.3 Thu May  9 16:27:55 2019
+++ pkgsrc/emulators/libretro-beetle-wswan/Makefile     Tue May 26 09:45:13 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2019/05/09 16:27:55 nia Exp $
+# $NetBSD: Makefile,v 1.4 2020/05/26 09:45:13 nia Exp $
 
 DISTNAME=      libretro-beetle-wswan-20190402
 CATEGORIES=    emulators
@@ -11,10 +11,14 @@ HOMEPAGE=   https://docs.libretro.com/libr
 COMMENT=       Libretro core based on the Mednafen Wonderswan emulator
 LICENSE=       gnu-gpl-v2
 
-EXTRACT_USING= bsdtar
 USE_TOOLS+=    gmake
 USE_LANGUAGES= c c++
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
 
 .include "../../mk/endian.mk"

Index: pkgsrc/emulators/libretro-beetle-wswan/PLIST
diff -u pkgsrc/emulators/libretro-beetle-wswan/PLIST:1.1 pkgsrc/emulators/libretro-beetle-wswan/PLIST:1.2
--- pkgsrc/emulators/libretro-beetle-wswan/PLIST:1.1    Sun Aug 12 12:52:52 2018
+++ pkgsrc/emulators/libretro-beetle-wswan/PLIST        Tue May 26 09:45:13 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/12 12:52:52 nia Exp $
-lib/libretro/mednafen_wswan_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:13 nia Exp $
+lib/libretro/mednafen_wswan_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-bluemsx/Makefile
diff -u pkgsrc/emulators/libretro-bluemsx/Makefile:1.4 pkgsrc/emulators/libretro-bluemsx/Makefile:1.5
--- pkgsrc/emulators/libretro-bluemsx/Makefile:1.4      Thu Apr 25 13:46:11 2019
+++ pkgsrc/emulators/libretro-bluemsx/Makefile  Tue May 26 09:45:13 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2019/04/25 13:46:11 nia Exp $
+# $NetBSD: Makefile,v 1.5 2020/05/26 09:45:13 nia Exp $
 
 DISTNAME=      libretro-bluemsx-20190420
 CATEGORIES=    emulators
@@ -11,11 +11,15 @@ HOMEPAGE=   https://docs.libretro.com/libr
 COMMENT=       Libretro core for MSX/MSX2/ColecoVision/SVI/SG-1000 emulation
 LICENSE=       gnu-gpl-v2
 
-EXTRACT_USING= bsdtar
 MAKE_FILE=     Makefile.libretro
 USE_TOOLS+=    gmake
 USE_LANGUAGES= c c++03
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
 
 .include "../../mk/bsd.prefs.mk"

Index: pkgsrc/emulators/libretro-bluemsx/PLIST
diff -u pkgsrc/emulators/libretro-bluemsx/PLIST:1.1 pkgsrc/emulators/libretro-bluemsx/PLIST:1.2
--- pkgsrc/emulators/libretro-bluemsx/PLIST:1.1 Mon Aug 13 16:34:07 2018
+++ pkgsrc/emulators/libretro-bluemsx/PLIST     Tue May 26 09:45:13 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/13 16:34:07 nia Exp $
-lib/libretro/bluemsx_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:13 nia Exp $
+lib/libretro/bluemsx_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-bsnes-mercury/Makefile.common
diff -u pkgsrc/emulators/libretro-bsnes-mercury/Makefile.common:1.4 pkgsrc/emulators/libretro-bsnes-mercury/Makefile.common:1.5
--- pkgsrc/emulators/libretro-bsnes-mercury/Makefile.common:1.4 Sat May 18 09:42:03 2019
+++ pkgsrc/emulators/libretro-bsnes-mercury/Makefile.common     Tue May 26 09:45:13 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.4 2019/05/18 09:42:03 nia Exp $
+# $NetBSD: Makefile.common,v 1.5 2020/05/26 09:45:13 nia Exp $
 #
 # used by emulators/libretro-bsnes-mercury/Makefile
 # used by emulators/libretro-bsnes-mercury-accuracy/Makefile
@@ -15,10 +15,14 @@ LICENSE=    gnu-gpl-v3
 
 WRKSRC=                ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG}
 
-EXTRACT_USING= bsdtar
 USE_TOOLS+=    gmake
 USE_LANGUAGES= c gnu++11
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 MAKE_FLAGS+=   profile=${BSNES_PROFILE}
 MAKE_FLAGS+=   compiler=${CXX:Q}
 MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"

Index: pkgsrc/emulators/libretro-bsnes-mercury/PLIST
diff -u pkgsrc/emulators/libretro-bsnes-mercury/PLIST:1.1 pkgsrc/emulators/libretro-bsnes-mercury/PLIST:1.2
--- pkgsrc/emulators/libretro-bsnes-mercury/PLIST:1.1   Mon Aug 13 14:37:25 2018
+++ pkgsrc/emulators/libretro-bsnes-mercury/PLIST       Tue May 26 09:45:13 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/13 14:37:25 nia Exp $
-lib/libretro/bsnes_mercury_balanced_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:13 nia Exp $
+lib/libretro/bsnes_mercury_balanced_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-bsnes-mercury-accuracy/PLIST
diff -u pkgsrc/emulators/libretro-bsnes-mercury-accuracy/PLIST:1.1 pkgsrc/emulators/libretro-bsnes-mercury-accuracy/PLIST:1.2
--- pkgsrc/emulators/libretro-bsnes-mercury-accuracy/PLIST:1.1  Mon Aug 13 14:37:25 2018
+++ pkgsrc/emulators/libretro-bsnes-mercury-accuracy/PLIST      Tue May 26 09:45:13 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/13 14:37:25 nia Exp $
-lib/libretro/bsnes_mercury_accuracy_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:13 nia Exp $
+lib/libretro/bsnes_mercury_accuracy_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-bsnes-mercury-performance/PLIST
diff -u pkgsrc/emulators/libretro-bsnes-mercury-performance/PLIST:1.1 pkgsrc/emulators/libretro-bsnes-mercury-performance/PLIST:1.2
--- pkgsrc/emulators/libretro-bsnes-mercury-performance/PLIST:1.1       Mon Aug 13 14:37:25 2018
+++ pkgsrc/emulators/libretro-bsnes-mercury-performance/PLIST   Tue May 26 09:45:13 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/13 14:37:25 nia Exp $
-lib/libretro/bsnes_mercury_performance_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:13 nia Exp $
+lib/libretro/bsnes_mercury_performance_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-cap32/Makefile
diff -u pkgsrc/emulators/libretro-cap32/Makefile:1.3 pkgsrc/emulators/libretro-cap32/Makefile:1.4
--- pkgsrc/emulators/libretro-cap32/Makefile:1.3        Fri Feb  1 10:11:03 2019
+++ pkgsrc/emulators/libretro-cap32/Makefile    Tue May 26 09:45:13 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2019/02/01 10:11:03 nia Exp $
+# $NetBSD: Makefile,v 1.4 2020/05/26 09:45:13 nia Exp $
 
 DISTNAME=      libretro-cap32-20190128
 CATEGORIES=    emulators
@@ -10,10 +10,14 @@ HOMEPAGE=   https://docs.libretro.com/libr
 COMMENT=       Libretro core based on the Caprice32 Amstrad CPC emulator
 LICENSE=       gnu-gpl-v2
 
-EXTRACT_USING= bsdtar
 USE_TOOLS+=    gmake
 USE_LANGUAGES= c99
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 .include "../../mk/endian.mk"
 
 .if ${MACHINE_ENDIAN} == "big"

Index: pkgsrc/emulators/libretro-cap32/PLIST
diff -u pkgsrc/emulators/libretro-cap32/PLIST:1.1 pkgsrc/emulators/libretro-cap32/PLIST:1.2
--- pkgsrc/emulators/libretro-cap32/PLIST:1.1   Sat Oct 13 17:58:08 2018
+++ pkgsrc/emulators/libretro-cap32/PLIST       Tue May 26 09:45:13 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/10/13 17:58:08 nia Exp $
-lib/libretro/cap32_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:13 nia Exp $
+lib/libretro/cap32_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-core-info/Makefile
diff -u pkgsrc/emulators/libretro-core-info/Makefile:1.4 pkgsrc/emulators/libretro-core-info/Makefile:1.5
--- pkgsrc/emulators/libretro-core-info/Makefile:1.4    Wed May  8 12:40:05 2019
+++ pkgsrc/emulators/libretro-core-info/Makefile        Tue May 26 09:45:13 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2019/05/08 12:40:05 nia Exp $
+# $NetBSD: Makefile,v 1.5 2020/05/26 09:45:13 nia Exp $
 
 DISTNAME=      libretro-core-info-${RETROARCH_VERSION}
 CATEGORIES=    emulators
@@ -10,7 +10,6 @@ HOMEPAGE=     https://www.libretro.com/
 COMMENT=       Libretro core information
 LICENSE=       public-domain
 
-EXTRACT_USING= bsdtar
 USE_LANGUAGES= # none
 NO_BUILD=      yes
 

Index: pkgsrc/emulators/libretro-database/Makefile
diff -u pkgsrc/emulators/libretro-database/Makefile:1.4 pkgsrc/emulators/libretro-database/Makefile:1.5
--- pkgsrc/emulators/libretro-database/Makefile:1.4     Thu Sep  6 09:33:38 2018
+++ pkgsrc/emulators/libretro-database/Makefile Tue May 26 09:45:14 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2018/09/06 09:33:38 nia Exp $
+# $NetBSD: Makefile,v 1.5 2020/05/26 09:45:14 nia Exp $
 
 DISTNAME=      libretro-database-20180904
 CATEGORIES=    emulators
@@ -11,7 +11,6 @@ HOMEPAGE=     https://www.libretro.com/
 COMMENT=       ROM scanning data provided by the libretro project
 LICENSE=       gnu-gpl-v3
 
-EXTRACT_USING= bsdtar
 USE_LANGUAGES= # none
 NO_BUILD=      yes
 

Index: pkgsrc/emulators/libretro-desmume/Makefile
diff -u pkgsrc/emulators/libretro-desmume/Makefile:1.10 pkgsrc/emulators/libretro-desmume/Makefile:1.11
--- pkgsrc/emulators/libretro-desmume/Makefile:1.10     Mon May 20 10:32:32 2019
+++ pkgsrc/emulators/libretro-desmume/Makefile  Tue May 26 09:45:14 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2019/05/20 10:32:32 nia Exp $
+# $NetBSD: Makefile,v 1.11 2020/05/26 09:45:14 nia Exp $
 
 DISTNAME=      libretro-desmume-20190426
 PKGREVISION=   2
@@ -12,12 +12,16 @@ HOMEPAGE=   https://docs.libretro.com/libr
 COMMENT=       Libretro core based on the DeSmuME Nintendo DS emulator
 LICENSE=       gnu-gpl-v2
 
-EXTRACT_USING= bsdtar
 BUILD_DIRS=    desmume/src/frontend/libretro
 MAKE_FILE=     Makefile.libretro
 USE_TOOLS+=    gmake
 USE_LANGUAGES= c99 gnu++11
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 .include "../../mk/bsd.prefs.mk"
 
 .if !empty(MACHINE_ARCH:M*arm*)

Index: pkgsrc/emulators/libretro-desmume/PLIST
diff -u pkgsrc/emulators/libretro-desmume/PLIST:1.1 pkgsrc/emulators/libretro-desmume/PLIST:1.2
--- pkgsrc/emulators/libretro-desmume/PLIST:1.1 Sat Aug 11 12:57:23 2018
+++ pkgsrc/emulators/libretro-desmume/PLIST     Tue May 26 09:45:14 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/11 12:57:23 nia Exp $
-lib/libretro/desmume_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:14 nia Exp $
+lib/libretro/desmume_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-dolphin/Makefile
diff -u pkgsrc/emulators/libretro-dolphin/Makefile:1.15 pkgsrc/emulators/libretro-dolphin/Makefile:1.16
--- pkgsrc/emulators/libretro-dolphin/Makefile:1.15     Fri May 22 10:56:05 2020
+++ pkgsrc/emulators/libretro-dolphin/Makefile  Tue May 26 09:45:14 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2020/05/22 10:56:05 adam Exp $
+# $NetBSD: Makefile,v 1.16 2020/05/26 09:45:14 nia Exp $
 
 DISTNAME=      libretro-dolphin-20180827
 PKGREVISION=   10
@@ -12,12 +12,16 @@ HOMEPAGE=   https://docs.libretro.com/libr
 COMMENT=       Libretro core based on the Dolphin GameCube/Wii emulator
 LICENSE=       gnu-gpl-v2
 
-EXTRACT_USING= bsdtar
 USE_TOOLS+=    pkg-config
 USE_CMAKE=     yes
 USE_LANGUAGES= c c++14
 GCC_REQD+=     6
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 CMAKE_ARGS+=   -DCMAKE_BUILD_TYPE=Release
 CMAKE_ARGS+=   -DTRY_X11=OFF
 CMAKE_ARGS+=   -DUSE_DISCORD_PRESENCE=OFF

Index: pkgsrc/emulators/libretro-dolphin/PLIST
diff -u pkgsrc/emulators/libretro-dolphin/PLIST:1.1 pkgsrc/emulators/libretro-dolphin/PLIST:1.2
--- pkgsrc/emulators/libretro-dolphin/PLIST:1.1 Mon Oct 15 17:20:21 2018
+++ pkgsrc/emulators/libretro-dolphin/PLIST     Tue May 26 09:45:14 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/10/15 17:20:21 nia Exp $
-lib/libretro/dolphin_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:14 nia Exp $
+lib/libretro/dolphin_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-fbalpha/Makefile
diff -u pkgsrc/emulators/libretro-fbalpha/Makefile:1.5 pkgsrc/emulators/libretro-fbalpha/Makefile:1.6
--- pkgsrc/emulators/libretro-fbalpha/Makefile:1.5      Tue Nov 13 17:16:25 2018
+++ pkgsrc/emulators/libretro-fbalpha/Makefile  Tue May 26 09:45:14 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2018/11/13 17:16:25 nia Exp $
+# $NetBSD: Makefile,v 1.6 2020/05/26 09:45:14 nia Exp $
 
 DISTNAME=      libretro-fbalpha-0.2.97.43.20181022
 PKGREVISION=   1
@@ -12,11 +12,15 @@ HOMEPAGE=   https://github.com/libretro/fb
 COMMENT=       Libretro core based on the FB Alpha arcade game emulator
 LICENSE=       fbalpha-license AND mame-license
 
-EXTRACT_USING= bsdtar
 USE_TOOLS+=    gmake
 MAKE_FILE=     makefile.libretro
 USE_LANGUAGES= c c++
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
 
 .include "../../mk/endian.mk"

Index: pkgsrc/emulators/libretro-fbalpha/PLIST
diff -u pkgsrc/emulators/libretro-fbalpha/PLIST:1.1 pkgsrc/emulators/libretro-fbalpha/PLIST:1.2
--- pkgsrc/emulators/libretro-fbalpha/PLIST:1.1 Fri Aug 17 12:54:48 2018
+++ pkgsrc/emulators/libretro-fbalpha/PLIST     Tue May 26 09:45:14 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/17 12:54:48 nia Exp $
-lib/libretro/fbalpha_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:14 nia Exp $
+lib/libretro/fbalpha_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-fceumm/Makefile
diff -u pkgsrc/emulators/libretro-fceumm/Makefile:1.4 pkgsrc/emulators/libretro-fceumm/Makefile:1.5
--- pkgsrc/emulators/libretro-fceumm/Makefile:1.4       Fri Feb  1 09:53:20 2019
+++ pkgsrc/emulators/libretro-fceumm/Makefile   Tue May 26 09:45:14 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2019/02/01 09:53:20 nia Exp $
+# $NetBSD: Makefile,v 1.5 2020/05/26 09:45:14 nia Exp $
 
 DISTNAME=      libretro-fceumm-20190106
 CATEGORIES=    emulators
@@ -10,10 +10,14 @@ HOMEPAGE=   https://docs.libretro.com/libr
 COMMENT=       Libretro core based on the FCEUmm Famicom/NES emulator
 LICENSE=       gnu-gpl-v2
 
-EXTRACT_USING= bsdtar
 MAKE_FILE=     Makefile.libretro
 USE_TOOLS+=    gmake
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
 
 .include "../../mk/endian.mk"

Index: pkgsrc/emulators/libretro-fceumm/PLIST
diff -u pkgsrc/emulators/libretro-fceumm/PLIST:1.1 pkgsrc/emulators/libretro-fceumm/PLIST:1.2
--- pkgsrc/emulators/libretro-fceumm/PLIST:1.1  Wed Feb  4 22:57:29 2015
+++ pkgsrc/emulators/libretro-fceumm/PLIST      Tue May 26 09:45:14 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2015/02/04 22:57:29 jmcneill Exp $
-lib/libretro/fceumm_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:14 nia Exp $
+lib/libretro/fceumm_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-freeintv/Makefile
diff -u pkgsrc/emulators/libretro-freeintv/Makefile:1.3 pkgsrc/emulators/libretro-freeintv/Makefile:1.4
--- pkgsrc/emulators/libretro-freeintv/Makefile:1.3     Tue Oct  2 21:09:29 2018
+++ pkgsrc/emulators/libretro-freeintv/Makefile Tue May 26 09:45:14 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2018/10/02 21:09:29 nia Exp $
+# $NetBSD: Makefile,v 1.4 2020/05/26 09:45:14 nia Exp $
 
 DISTNAME=      libretro-freeintv-20180729
 CATEGORIES=    emulators
@@ -11,10 +11,14 @@ HOMEPAGE=   https://docs.libretro.com/libr
 COMMENT=       Libretro core for Mattel Intellivision emulation
 LICENSE=       gnu-gpl-v3
 
-EXTRACT_USING= bsdtar
 USE_TOOLS+=    gmake
 USE_LANGUAGES= c c++
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 .include "../../mk/endian.mk"
 
 .if ${MACHINE_ENDIAN} == "big"

Index: pkgsrc/emulators/libretro-freeintv/PLIST
diff -u pkgsrc/emulators/libretro-freeintv/PLIST:1.1 pkgsrc/emulators/libretro-freeintv/PLIST:1.2
--- pkgsrc/emulators/libretro-freeintv/PLIST:1.1        Sun Aug 12 16:14:27 2018
+++ pkgsrc/emulators/libretro-freeintv/PLIST    Tue May 26 09:45:14 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/12 16:14:27 nia Exp $
-lib/libretro/freeintv_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:14 nia Exp $
+lib/libretro/freeintv_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-fuse/Makefile
diff -u pkgsrc/emulators/libretro-fuse/Makefile:1.2 pkgsrc/emulators/libretro-fuse/Makefile:1.3
--- pkgsrc/emulators/libretro-fuse/Makefile:1.2 Tue Oct  2 21:09:29 2018
+++ pkgsrc/emulators/libretro-fuse/Makefile     Tue May 26 09:45:14 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2018/10/02 21:09:29 nia Exp $
+# $NetBSD: Makefile,v 1.3 2020/05/26 09:45:14 nia Exp $
 
 DISTNAME=      libretro-fuse-20180419
 CATEGORIES=    emulators
@@ -11,10 +11,14 @@ HOMEPAGE=   https://docs.libretro.com/libr
 COMMENT=       Libretro core based on the FUSE ZX Spectrum emulator
 LICENSE=       gnu-gpl-v3
 
-EXTRACT_USING= bsdtar
 USE_TOOLS+=    gmake
 MAKE_FILE=     Makefile.libretro
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 .include "../../mk/endian.mk"
 
 .if ${MACHINE_ENDIAN} == "big"

Index: pkgsrc/emulators/libretro-fuse/PLIST
diff -u pkgsrc/emulators/libretro-fuse/PLIST:1.1 pkgsrc/emulators/libretro-fuse/PLIST:1.2
--- pkgsrc/emulators/libretro-fuse/PLIST:1.1    Sat Aug 11 15:42:09 2018
+++ pkgsrc/emulators/libretro-fuse/PLIST        Tue May 26 09:45:14 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/11 15:42:09 nia Exp $
-lib/libretro/fuse_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:14 nia Exp $
+lib/libretro/fuse_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-gambatte/Makefile
diff -u pkgsrc/emulators/libretro-gambatte/Makefile:1.7 pkgsrc/emulators/libretro-gambatte/Makefile:1.8
--- pkgsrc/emulators/libretro-gambatte/Makefile:1.7     Thu Apr 25 13:50:19 2019
+++ pkgsrc/emulators/libretro-gambatte/Makefile Tue May 26 09:45:14 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2019/04/25 13:50:19 nia Exp $
+# $NetBSD: Makefile,v 1.8 2020/05/26 09:45:14 nia Exp $
 
 DISTNAME=      libretro-gambatte-20190412
 CATEGORIES=    emulators
@@ -11,11 +11,15 @@ HOMEPAGE=   https://docs.libretro.com/libr
 COMMENT=       Libretro core based on the Gambatte Game Boy Color emulator
 LICENSE=       gnu-gpl-v2
 
-EXTRACT_USING= bsdtar
 USE_LANGUAGES= c c++03
 MAKE_FILE=     Makefile.libretro
 USE_TOOLS+=    gmake
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 CFLAGS.SunOS+= -DBSD_COMP
 
 BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,-version-script=libgambatte/libretro/link.T

Index: pkgsrc/emulators/libretro-gambatte/PLIST
diff -u pkgsrc/emulators/libretro-gambatte/PLIST:1.1 pkgsrc/emulators/libretro-gambatte/PLIST:1.2
--- pkgsrc/emulators/libretro-gambatte/PLIST:1.1        Thu Feb  5 01:40:45 2015
+++ pkgsrc/emulators/libretro-gambatte/PLIST    Tue May 26 09:45:14 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2015/02/05 01:40:45 jmcneill Exp $
-lib/libretro/gambatte_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:14 nia Exp $
+lib/libretro/gambatte_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-genesis-plus-gx/Makefile
diff -u pkgsrc/emulators/libretro-genesis-plus-gx/Makefile:1.3 pkgsrc/emulators/libretro-genesis-plus-gx/Makefile:1.4
--- pkgsrc/emulators/libretro-genesis-plus-gx/Makefile:1.3      Tue Oct  2 21:09:29 2018
+++ pkgsrc/emulators/libretro-genesis-plus-gx/Makefile  Tue May 26 09:45:15 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2018/10/02 21:09:29 nia Exp $
+# $NetBSD: Makefile,v 1.4 2020/05/26 09:45:15 nia Exp $
 
 DISTNAME=      libretro-genesis-plus-gx-20180607
 CATEGORIES=    emulators
@@ -11,9 +11,13 @@ HOMEPAGE=    https://docs.libretro.com/libr
 COMMENT=       Libretro core based on the Genesis Plus Sega 8/16 bit emulator
 LICENSE=       mame-license
 
-EXTRACT_USING= bsdtar
 USE_TOOLS+=    gmake
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 MAKE_FILE=     Makefile.libretro
 
 MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"

Index: pkgsrc/emulators/libretro-genesis-plus-gx/PLIST
diff -u pkgsrc/emulators/libretro-genesis-plus-gx/PLIST:1.1 pkgsrc/emulators/libretro-genesis-plus-gx/PLIST:1.2
--- pkgsrc/emulators/libretro-genesis-plus-gx/PLIST:1.1 Sat Aug 11 15:12:21 2018
+++ pkgsrc/emulators/libretro-genesis-plus-gx/PLIST     Tue May 26 09:45:15 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/11 15:12:21 nia Exp $
-lib/libretro/genesis_plus_gx_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:15 nia Exp $
+lib/libretro/genesis_plus_gx_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-mame2010/Makefile
diff -u pkgsrc/emulators/libretro-mame2010/Makefile:1.1 pkgsrc/emulators/libretro-mame2010/Makefile:1.2
--- pkgsrc/emulators/libretro-mame2010/Makefile:1.1     Wed Jan  2 13:24:29 2019
+++ pkgsrc/emulators/libretro-mame2010/Makefile Tue May 26 09:45:15 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2019/01/02 13:24:29 nia Exp $
+# $NetBSD: Makefile,v 1.2 2020/05/26 09:45:15 nia Exp $
 
 DISTNAME=      libretro-mame2010-20180417
 CATEGORIES=    emulators
@@ -11,10 +11,14 @@ HOMEPAGE=   https://docs.libretro.com/libr
 COMMENT=       Libretro core based on the MAME 0.139 arcade game emulator
 LICENSE=       mame-license
 
-EXTRACT_USING= bsdtar
 USE_TOOLS+=    gmake
 USE_LANGUAGES= c c++
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 MAKE_FLAGS+=   platform=unix
 MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
 MAKE_FLAGS+=   BUILD_ZLIB=0
Index: pkgsrc/emulators/libretro-mame2010/PLIST
diff -u pkgsrc/emulators/libretro-mame2010/PLIST:1.1 pkgsrc/emulators/libretro-mame2010/PLIST:1.2
--- pkgsrc/emulators/libretro-mame2010/PLIST:1.1        Wed Jan  2 13:24:29 2019
+++ pkgsrc/emulators/libretro-mame2010/PLIST    Tue May 26 09:45:15 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2019/01/02 13:24:29 nia Exp $
-lib/libretro/mame2010_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:15 nia Exp $
+lib/libretro/mame2010_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-mgba/Makefile
diff -u pkgsrc/emulators/libretro-mgba/Makefile:1.9 pkgsrc/emulators/libretro-mgba/Makefile:1.10
--- pkgsrc/emulators/libretro-mgba/Makefile:1.9 Tue Feb 18 13:29:48 2020
+++ pkgsrc/emulators/libretro-mgba/Makefile     Tue May 26 09:45:15 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2020/02/18 13:29:48 nia Exp $
+# $NetBSD: Makefile,v 1.10 2020/05/26 09:45:15 nia Exp $
 
 DISTNAME=      mgba-0.8.1
 PKGNAME=       libretro-${DISTNAME}
@@ -11,12 +11,15 @@ HOMEPAGE=   https://docs.libretro.com/libr
 COMMENT=       Libretro core based on the mGBA emulator
 LICENSE=       mpl-2.0
 
-EXTRACT_USING= bsdtar
-
 USE_CMAKE=     yes
 USE_TOOLS+=    pkg-config
 USE_LANGUAGES= c c++
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 WRKSRC=                ${WRKDIR}/mgba-${PKGVERSION_NOREV}
 
 CMAKE_ARGS+=   -DUSE_DEBUGGERS=OFF

Index: pkgsrc/emulators/libretro-mgba/PLIST
diff -u pkgsrc/emulators/libretro-mgba/PLIST:1.4 pkgsrc/emulators/libretro-mgba/PLIST:1.5
--- pkgsrc/emulators/libretro-mgba/PLIST:1.4    Sun Sep 22 15:19:29 2019
+++ pkgsrc/emulators/libretro-mgba/PLIST        Tue May 26 09:45:15 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.4 2019/09/22 15:19:29 nia Exp $
-lib/libretro/mgba_libretro.so
+@comment $NetBSD: PLIST,v 1.5 2020/05/26 09:45:15 nia Exp $
+lib/libretro/mgba_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-mupen64plus/Makefile
diff -u pkgsrc/emulators/libretro-mupen64plus/Makefile:1.21 pkgsrc/emulators/libretro-mupen64plus/Makefile:1.22
--- pkgsrc/emulators/libretro-mupen64plus/Makefile:1.21 Fri Jul  5 07:43:42 2019
+++ pkgsrc/emulators/libretro-mupen64plus/Makefile      Tue May 26 09:45:15 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2019/07/05 07:43:42 nia Exp $
+# $NetBSD: Makefile,v 1.22 2020/05/26 09:45:15 nia Exp $
 
 DISTNAME=      libretro-mupen64plus-20190426
 CATEGORIES=    emulators
@@ -11,10 +11,14 @@ HOMEPAGE=   https://docs.libretro.com/libr
 COMMENT=       Libretro core based on the Mupen64Plus emulator
 LICENSE=       gnu-gpl-v3
 
-EXTRACT_USING= bsdtar
 USE_LANGUAGES= c c++03
 USE_TOOLS+=    gmake
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 SUBST_CLASSES+=                vc
 SUBST_STAGE.vc=                pre-configure
 SUBST_MESSAGE.vc=      Fixing path to VideoCore libraries.

Index: pkgsrc/emulators/libretro-mupen64plus/PLIST
diff -u pkgsrc/emulators/libretro-mupen64plus/PLIST:1.1 pkgsrc/emulators/libretro-mupen64plus/PLIST:1.2
--- pkgsrc/emulators/libretro-mupen64plus/PLIST:1.1     Wed Feb  4 23:02:12 2015
+++ pkgsrc/emulators/libretro-mupen64plus/PLIST Tue May 26 09:45:15 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2015/02/04 23:02:12 jmcneill Exp $
-lib/libretro/mupen64plus_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:15 nia Exp $
+lib/libretro/mupen64plus_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-nestopia/Makefile
diff -u pkgsrc/emulators/libretro-nestopia/Makefile:1.6 pkgsrc/emulators/libretro-nestopia/Makefile:1.7
--- pkgsrc/emulators/libretro-nestopia/Makefile:1.6     Sat Jan  4 12:29:45 2020
+++ pkgsrc/emulators/libretro-nestopia/Makefile Tue May 26 09:45:15 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2020/01/04 12:29:45 nia Exp $
+# $NetBSD: Makefile,v 1.7 2020/05/26 09:45:15 nia Exp $
 
 .include "../../emulators/nestopia/Makefile.common"
 
@@ -12,6 +12,11 @@ BUILD_DIRS=  libretro
 
 USE_TOOLS+=    gmake
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
 
 BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,-version-script=link.T

Index: pkgsrc/emulators/libretro-nestopia/PLIST
diff -u pkgsrc/emulators/libretro-nestopia/PLIST:1.2 pkgsrc/emulators/libretro-nestopia/PLIST:1.3
--- pkgsrc/emulators/libretro-nestopia/PLIST:1.2        Sat Jan  4 12:29:45 2020
+++ pkgsrc/emulators/libretro-nestopia/PLIST    Tue May 26 09:45:15 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.2 2020/01/04 12:29:45 nia Exp $
-lib/libretro/nestopia_libretro.so
+@comment $NetBSD: PLIST,v 1.3 2020/05/26 09:45:15 nia Exp $
+lib/libretro/nestopia_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-np2kai/Makefile
diff -u pkgsrc/emulators/libretro-np2kai/Makefile:1.2 pkgsrc/emulators/libretro-np2kai/Makefile:1.3
--- pkgsrc/emulators/libretro-np2kai/Makefile:1.2       Sun Feb 24 15:26:50 2019
+++ pkgsrc/emulators/libretro-np2kai/Makefile   Tue May 26 09:45:15 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2019/02/24 15:26:50 nia Exp $
+# $NetBSD: Makefile,v 1.3 2020/05/26 09:45:15 nia Exp $
 
 NP2KAI_REV=    18
 DISTNAME=      libretro-np2kai-0.86.${NP2KAI_REV}
@@ -12,10 +12,14 @@ HOMEPAGE=   https://docs.libretro.com/libr
 COMMENT=       Libretro core based on the Neko Project II PC-9801 emulator
 LICENSE=       mit
 
-EXTRACT_USING= bsdtar
 BUILD_DIRS=    sdl2
 MAKE_FILE=     Makefile.libretro
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 USE_TOOLS+=    gmake
 USE_LANGUAGES= c c++
 

Index: pkgsrc/emulators/libretro-np2kai/PLIST
diff -u pkgsrc/emulators/libretro-np2kai/PLIST:1.1 pkgsrc/emulators/libretro-np2kai/PLIST:1.2
--- pkgsrc/emulators/libretro-np2kai/PLIST:1.1  Tue Aug 14 16:44:07 2018
+++ pkgsrc/emulators/libretro-np2kai/PLIST      Tue May 26 09:45:15 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/14 16:44:07 nia Exp $
-lib/libretro/np2kai_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:15 nia Exp $
+lib/libretro/np2kai_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-o2em/Makefile
diff -u pkgsrc/emulators/libretro-o2em/Makefile:1.3 pkgsrc/emulators/libretro-o2em/Makefile:1.4
--- pkgsrc/emulators/libretro-o2em/Makefile:1.3 Tue Oct  2 21:09:30 2018
+++ pkgsrc/emulators/libretro-o2em/Makefile     Tue May 26 09:45:15 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2018/10/02 21:09:30 nia Exp $
+# $NetBSD: Makefile,v 1.4 2020/05/26 09:45:15 nia Exp $
 
 DISTNAME=      libretro-o2em-20180812
 CATEGORIES=    emulators
@@ -10,9 +10,13 @@ HOMEPAGE=    https://docs.libretro.com/libr
 COMMENT=       Libretro core for Magnavox Odyssey 2 and VideoPac emulation
 LICENSE=       artistic
 
-EXTRACT_USING= bsdtar
 USE_TOOLS+=    gmake
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
 
 .include "../../mk/endian.mk"

Index: pkgsrc/emulators/libretro-o2em/PLIST
diff -u pkgsrc/emulators/libretro-o2em/PLIST:1.1 pkgsrc/emulators/libretro-o2em/PLIST:1.2
--- pkgsrc/emulators/libretro-o2em/PLIST:1.1    Mon Aug 13 18:35:14 2018
+++ pkgsrc/emulators/libretro-o2em/PLIST        Tue May 26 09:45:15 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/13 18:35:14 nia Exp $
-lib/libretro/o2em_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:15 nia Exp $
+lib/libretro/o2em_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-pcsx-rearmed/Makefile
diff -u pkgsrc/emulators/libretro-pcsx-rearmed/Makefile:1.9 pkgsrc/emulators/libretro-pcsx-rearmed/Makefile:1.10
--- pkgsrc/emulators/libretro-pcsx-rearmed/Makefile:1.9 Sun Jan 26 17:31:09 2020
+++ pkgsrc/emulators/libretro-pcsx-rearmed/Makefile     Tue May 26 09:45:15 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2020/01/26 17:31:09 rillig Exp $
+# $NetBSD: Makefile,v 1.10 2020/05/26 09:45:15 nia Exp $
 
 DISTNAME=      libretro-pcsx-rearmed-0.22
 CATEGORIES=    emulators
@@ -15,6 +15,11 @@ USE_LANGUAGES=       c c++
 USE_TOOLS+=    gmake
 MAKE_FILE=     Makefile.libretro
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 INSTALLATION_DIRS+=    ${PREFIX}/lib/libretro
 
 BUILDLINK_TRANSFORM+=  rm:-ldl

Index: pkgsrc/emulators/libretro-pcsx-rearmed/PLIST
diff -u pkgsrc/emulators/libretro-pcsx-rearmed/PLIST:1.1 pkgsrc/emulators/libretro-pcsx-rearmed/PLIST:1.2
--- pkgsrc/emulators/libretro-pcsx-rearmed/PLIST:1.1    Wed Feb  4 23:04:17 2015
+++ pkgsrc/emulators/libretro-pcsx-rearmed/PLIST        Tue May 26 09:45:15 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2015/02/04 23:04:17 jmcneill Exp $
-lib/libretro/pcsx_rearmed_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:15 nia Exp $
+lib/libretro/pcsx_rearmed_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-picodrive/Makefile
diff -u pkgsrc/emulators/libretro-picodrive/Makefile:1.7 pkgsrc/emulators/libretro-picodrive/Makefile:1.8
--- pkgsrc/emulators/libretro-picodrive/Makefile:1.7    Wed Jan  2 13:56:32 2019
+++ pkgsrc/emulators/libretro-picodrive/Makefile        Tue May 26 09:45:15 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2019/01/02 13:56:32 nia Exp $
+# $NetBSD: Makefile,v 1.8 2020/05/26 09:45:15 nia Exp $
 
 DISTNAME=      libretro-picodrive-20180722
 PKGREVISION=   1
@@ -12,10 +12,14 @@ HOMEPAGE=   https://docs.libretro.com/libr
 COMMENT=       Libretro core based on the Picodrive MegaDrive/MegaCD/32X emulator
 LICENSE=       mame-license
 
-EXTRACT_USING= bsdtar
 MAKE_FILE=     Makefile.libretro
 USE_TOOLS+=    gmake
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
 
 .include "../../mk/bsd.prefs.mk"

Index: pkgsrc/emulators/libretro-picodrive/PLIST
diff -u pkgsrc/emulators/libretro-picodrive/PLIST:1.1 pkgsrc/emulators/libretro-picodrive/PLIST:1.2
--- pkgsrc/emulators/libretro-picodrive/PLIST:1.1       Wed Feb  4 22:58:13 2015
+++ pkgsrc/emulators/libretro-picodrive/PLIST   Tue May 26 09:45:15 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2015/02/04 22:58:13 jmcneill Exp $
-lib/libretro/picodrive_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:15 nia Exp $
+lib/libretro/picodrive_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-ppsspp/Makefile
diff -u pkgsrc/emulators/libretro-ppsspp/Makefile:1.5 pkgsrc/emulators/libretro-ppsspp/Makefile:1.6
--- pkgsrc/emulators/libretro-ppsspp/Makefile:1.5       Sun Nov  3 19:24:33 2019
+++ pkgsrc/emulators/libretro-ppsspp/Makefile   Tue May 26 09:45:16 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2019/11/03 19:24:33 rillig Exp $
+# $NetBSD: Makefile,v 1.6 2020/05/26 09:45:16 nia Exp $
 
 PKGNAME=       libretro-ppsspp-1.7.5
 CATEGORIES=    emulators
@@ -31,13 +31,17 @@ SITES.ppsspp-glslang.tar.gz= \
 SITES.ppsspp-spriv.tar.gz= \
        -https://github.com/KhronosGroup/SPIRV-Cross/archive/${SPRIV_TAG}.tar.gz
 
-EXTRACT_USING= bsdtar
 WRKSRC=                ${WRKDIR}/ppsspp-${PKGVERSION_NOREV}
 BUILD_DIRS=    libretro
 
 USE_TOOLS+=    gmake
 USE_LANGUAGES= c c++11
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 .include "../../mk/bsd.prefs.mk"
 
 ONLY_FOR_PLATFORM=     *-*-*arm* *-*-x86_64 *-*-i386

Index: pkgsrc/emulators/libretro-ppsspp/PLIST
diff -u pkgsrc/emulators/libretro-ppsspp/PLIST:1.1 pkgsrc/emulators/libretro-ppsspp/PLIST:1.2
--- pkgsrc/emulators/libretro-ppsspp/PLIST:1.1  Tue Aug 14 12:55:41 2018
+++ pkgsrc/emulators/libretro-ppsspp/PLIST      Tue May 26 09:45:16 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/14 12:55:41 nia Exp $
-lib/libretro/ppsspp_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:16 nia Exp $
+lib/libretro/ppsspp_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-prosystem/Makefile
diff -u pkgsrc/emulators/libretro-prosystem/Makefile:1.2 pkgsrc/emulators/libretro-prosystem/Makefile:1.3
--- pkgsrc/emulators/libretro-prosystem/Makefile:1.2    Tue Oct  2 21:09:30 2018
+++ pkgsrc/emulators/libretro-prosystem/Makefile        Tue May 26 09:45:16 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2018/10/02 21:09:30 nia Exp $
+# $NetBSD: Makefile,v 1.3 2020/05/26 09:45:16 nia Exp $
 
 DISTNAME=      libretro-prosystem-20180812
 CATEGORIES=    emulators
@@ -11,10 +11,14 @@ HOMEPAGE=   https://docs.libretro.com/libr
 COMMENT=       Libretro core based on the ProSystem Atari 7800 emulator
 LICENSE=       gnu-gpl-v2
 
-EXTRACT_USING= bsdtar
 USE_TOOLS+=    gmake
 MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 .include "../../mk/endian.mk"
 
 .if ${MACHINE_ENDIAN} == "big"

Index: pkgsrc/emulators/libretro-prosystem/PLIST
diff -u pkgsrc/emulators/libretro-prosystem/PLIST:1.1 pkgsrc/emulators/libretro-prosystem/PLIST:1.2
--- pkgsrc/emulators/libretro-prosystem/PLIST:1.1       Mon Aug 13 18:04:15 2018
+++ pkgsrc/emulators/libretro-prosystem/PLIST   Tue May 26 09:45:16 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/13 18:04:15 nia Exp $
-lib/libretro/prosystem_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:16 nia Exp $
+lib/libretro/prosystem_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-reicast/Makefile
diff -u pkgsrc/emulators/libretro-reicast/Makefile:1.5 pkgsrc/emulators/libretro-reicast/Makefile:1.6
--- pkgsrc/emulators/libretro-reicast/Makefile:1.5      Thu May  9 23:24:17 2019
+++ pkgsrc/emulators/libretro-reicast/Makefile  Tue May 26 09:45:16 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2019/05/09 23:24:17 nia Exp $
+# $NetBSD: Makefile,v 1.6 2020/05/26 09:45:16 nia Exp $
 
 DISTNAME=      libretro-reicast-20190508
 CATEGORIES=    emulators
@@ -11,10 +11,14 @@ HOMEPAGE=   https://docs.libretro.com/libr
 COMMENT=       Libretro core based on the Reicast Sega Dreamcast emulator
 LICENSE=       gnu-gpl-v2
 
-EXTRACT_USING= bsdtar
 USE_TOOLS+=    gmake
 USE_LANGUAGES= c c++11
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 MAKE_FLAGS+=   platform=unix
 MAKE_FLAGS+=   HAVE_OPENMP=0
 MAKE_FLAGS+=   HAVE_LTCG=0

Index: pkgsrc/emulators/libretro-reicast/PLIST
diff -u pkgsrc/emulators/libretro-reicast/PLIST:1.1 pkgsrc/emulators/libretro-reicast/PLIST:1.2
--- pkgsrc/emulators/libretro-reicast/PLIST:1.1 Sat Oct 13 17:02:16 2018
+++ pkgsrc/emulators/libretro-reicast/PLIST     Tue May 26 09:45:16 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/10/13 17:02:16 nia Exp $
-lib/libretro/reicast_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:16 nia Exp $
+lib/libretro/reicast_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-sameboy/Makefile
diff -u pkgsrc/emulators/libretro-sameboy/Makefile:1.5 pkgsrc/emulators/libretro-sameboy/Makefile:1.6
--- pkgsrc/emulators/libretro-sameboy/Makefile:1.5      Thu Jul 18 10:44:57 2019
+++ pkgsrc/emulators/libretro-sameboy/Makefile  Tue May 26 09:45:16 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2019/07/18 10:44:57 nia Exp $
+# $NetBSD: Makefile,v 1.6 2020/05/26 09:45:16 nia Exp $
 
 .include "../../emulators/sameboy/Makefile.common"
 
@@ -12,6 +12,11 @@ BUILD_DIRS=  libretro
 
 MAKE_FLAGS+=   GIT_VERSION="${PKGVERSION}-pkgsrc"
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 INSTALLATION_DIRS+=    ${PREFIX}/lib/libretro
 
 do-install:

Index: pkgsrc/emulators/libretro-sameboy/PLIST
diff -u pkgsrc/emulators/libretro-sameboy/PLIST:1.1 pkgsrc/emulators/libretro-sameboy/PLIST:1.2
--- pkgsrc/emulators/libretro-sameboy/PLIST:1.1 Wed Aug 15 15:32:11 2018
+++ pkgsrc/emulators/libretro-sameboy/PLIST     Tue May 26 09:45:16 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/15 15:32:11 nia Exp $
-lib/libretro/sameboy_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:16 nia Exp $
+lib/libretro/sameboy_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-snes9x/Makefile
diff -u pkgsrc/emulators/libretro-snes9x/Makefile:1.4 pkgsrc/emulators/libretro-snes9x/Makefile:1.5
--- pkgsrc/emulators/libretro-snes9x/Makefile:1.4       Tue Jan  1 22:16:15 2019
+++ pkgsrc/emulators/libretro-snes9x/Makefile   Tue May 26 09:45:16 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2019/01/01 22:16:15 nia Exp $
+# $NetBSD: Makefile,v 1.5 2020/05/26 09:45:16 nia Exp $
 
 .include "../../emulators/snes9x/Makefile.common"
 
@@ -12,6 +12,11 @@ BUILD_DIRS=  libretro
 
 USE_TOOLS+=    gmake
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
 MAKE_FLAGS+=   LTO=
 

Index: pkgsrc/emulators/libretro-snes9x/PLIST
diff -u pkgsrc/emulators/libretro-snes9x/PLIST:1.1 pkgsrc/emulators/libretro-snes9x/PLIST:1.2
--- pkgsrc/emulators/libretro-snes9x/PLIST:1.1  Sun Aug 12 15:32:10 2018
+++ pkgsrc/emulators/libretro-snes9x/PLIST      Tue May 26 09:45:16 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/12 15:32:10 nia Exp $
-lib/libretro/snes9x_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:16 nia Exp $
+lib/libretro/snes9x_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-snes9x2005/Makefile
diff -u pkgsrc/emulators/libretro-snes9x2005/Makefile:1.2 pkgsrc/emulators/libretro-snes9x2005/Makefile:1.3
--- pkgsrc/emulators/libretro-snes9x2005/Makefile:1.2   Fri Aug 10 20:34:01 2018
+++ pkgsrc/emulators/libretro-snes9x2005/Makefile       Tue May 26 09:45:16 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2018/08/10 20:34:01 nia Exp $
+# $NetBSD: Makefile,v 1.3 2020/05/26 09:45:16 nia Exp $
 
 DISTNAME=      libretro-snes9x2005-20180626
 CATEGORIES=    emulators
@@ -13,6 +13,11 @@ LICENSE=     snes9x-license
 
 USE_TOOLS+=    gmake
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
 
 INSTALLATION_DIRS+=    ${PREFIX}/lib/libretro

Index: pkgsrc/emulators/libretro-snes9x2005/PLIST
diff -u pkgsrc/emulators/libretro-snes9x2005/PLIST:1.1 pkgsrc/emulators/libretro-snes9x2005/PLIST:1.2
--- pkgsrc/emulators/libretro-snes9x2005/PLIST:1.1      Fri Aug 10 20:14:29 2018
+++ pkgsrc/emulators/libretro-snes9x2005/PLIST  Tue May 26 09:45:16 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/10 20:14:29 nia Exp $
-lib/libretro/snes9x2005_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:16 nia Exp $
+lib/libretro/snes9x2005_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-snes9x2010/Makefile
diff -u pkgsrc/emulators/libretro-snes9x2010/Makefile:1.2 pkgsrc/emulators/libretro-snes9x2010/Makefile:1.3
--- pkgsrc/emulators/libretro-snes9x2010/Makefile:1.2   Tue Oct  2 21:09:30 2018
+++ pkgsrc/emulators/libretro-snes9x2010/Makefile       Tue May 26 09:45:16 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2018/10/02 21:09:30 nia Exp $
+# $NetBSD: Makefile,v 1.3 2020/05/26 09:45:16 nia Exp $
 
 DISTNAME=      libretro-snes9x2010-20180626
 CATEGORIES=    emulators
@@ -14,6 +14,11 @@ LICENSE=     snes9x-license
 MAKE_FILE=     Makefile.libretro
 USE_TOOLS+=    gmake
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
 
 .include "../../mk/endian.mk"

Index: pkgsrc/emulators/libretro-snes9x2010/PLIST
diff -u pkgsrc/emulators/libretro-snes9x2010/PLIST:1.1 pkgsrc/emulators/libretro-snes9x2010/PLIST:1.2
--- pkgsrc/emulators/libretro-snes9x2010/PLIST:1.1      Fri Aug 10 20:55:13 2018
+++ pkgsrc/emulators/libretro-snes9x2010/PLIST  Tue May 26 09:45:16 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/10 20:55:13 nia Exp $
-lib/libretro/snes9x2010_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:16 nia Exp $
+lib/libretro/snes9x2010_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-stella/Makefile
diff -u pkgsrc/emulators/libretro-stella/Makefile:1.4 pkgsrc/emulators/libretro-stella/Makefile:1.5
--- pkgsrc/emulators/libretro-stella/Makefile:1.4       Mon May 18 12:27:37 2020
+++ pkgsrc/emulators/libretro-stella/Makefile   Tue May 26 09:45:16 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2020/05/18 12:27:37 nia Exp $
+# $NetBSD: Makefile,v 1.5 2020/05/26 09:45:16 nia Exp $
 
 .include "../../emulators/stella/Makefile.common"
 
@@ -12,6 +12,11 @@ BUILD_DIRS=  src/libretro
 
 USE_TOOLS+=    gmake
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 MAKE_FLAGS+=   GIT_VERSION="-${PKGVERSION_NOREV}-pkgsrc"
 MAKE_FLAGS+=   LTO=
 

Index: pkgsrc/emulators/libretro-stella/PLIST
diff -u pkgsrc/emulators/libretro-stella/PLIST:1.1 pkgsrc/emulators/libretro-stella/PLIST:1.2
--- pkgsrc/emulators/libretro-stella/PLIST:1.1  Thu Feb  5 22:38:59 2015
+++ pkgsrc/emulators/libretro-stella/PLIST      Tue May 26 09:45:16 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2015/02/05 22:38:59 jmcneill Exp $
-lib/libretro/stella_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:16 nia Exp $
+lib/libretro/stella_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-vba-next/Makefile
diff -u pkgsrc/emulators/libretro-vba-next/Makefile:1.4 pkgsrc/emulators/libretro-vba-next/Makefile:1.5
--- pkgsrc/emulators/libretro-vba-next/Makefile:1.4     Tue Oct  2 21:09:30 2018
+++ pkgsrc/emulators/libretro-vba-next/Makefile Tue May 26 09:45:17 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2018/10/02 21:09:30 nia Exp $
+# $NetBSD: Makefile,v 1.5 2020/05/26 09:45:17 nia Exp $
 
 DISTNAME=      libretro-vba-next-20180603
 CATEGORIES=    emulators games
@@ -11,10 +11,14 @@ HOMEPAGE=   https://docs.libretro.com/libr
 COMMENT=       Libretro core based on the VBA Next Game Boy Advance emulator
 LICENSE=       gnu-gpl-v2
 
-EXTRACT_USING= bsdtar
 USE_LANGUAGES+=        c c++03
 USE_TOOLS+=    gmake
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 MAKE_FILE=     Makefile.libretro
 
 MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"

Index: pkgsrc/emulators/libretro-vba-next/PLIST
diff -u pkgsrc/emulators/libretro-vba-next/PLIST:1.1 pkgsrc/emulators/libretro-vba-next/PLIST:1.2
--- pkgsrc/emulators/libretro-vba-next/PLIST:1.1        Fri Feb 13 21:21:03 2015
+++ pkgsrc/emulators/libretro-vba-next/PLIST    Tue May 26 09:45:17 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2015/02/13 21:21:03 snj Exp $
-lib/libretro/vba_next_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:17 nia Exp $
+lib/libretro/vba_next_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-vecx/Makefile
diff -u pkgsrc/emulators/libretro-vecx/Makefile:1.2 pkgsrc/emulators/libretro-vecx/Makefile:1.3
--- pkgsrc/emulators/libretro-vecx/Makefile:1.2 Tue Oct  2 21:09:30 2018
+++ pkgsrc/emulators/libretro-vecx/Makefile     Tue May 26 09:45:17 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2018/10/02 21:09:30 nia Exp $
+# $NetBSD: Makefile,v 1.3 2020/05/26 09:45:17 nia Exp $
 
 DISTNAME=      libretro-vecx-20180412
 CATEGORIES=    emulators
@@ -10,10 +10,14 @@ HOMEPAGE=   https://docs.libretro.com/libr
 COMMENT=       Libretro core for Vectrex emulation
 LICENSE=       gnu-gpl-v3
 
-EXTRACT_USING= bsdtar
 MAKE_FILE=     Makefile.libretro
 USE_TOOLS+=    gmake
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
 
 BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,--version-script=./link.T

Index: pkgsrc/emulators/libretro-vecx/PLIST
diff -u pkgsrc/emulators/libretro-vecx/PLIST:1.1 pkgsrc/emulators/libretro-vecx/PLIST:1.2
--- pkgsrc/emulators/libretro-vecx/PLIST:1.1    Sat Aug 11 16:09:55 2018
+++ pkgsrc/emulators/libretro-vecx/PLIST        Tue May 26 09:45:17 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/11 16:09:55 nia Exp $
-lib/libretro/vecx_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:17 nia Exp $
+lib/libretro/vecx_libretro.${SOEXT}

Index: pkgsrc/emulators/libretro-virtualjaguar/Makefile
diff -u pkgsrc/emulators/libretro-virtualjaguar/Makefile:1.1 pkgsrc/emulators/libretro-virtualjaguar/Makefile:1.2
--- pkgsrc/emulators/libretro-virtualjaguar/Makefile:1.1        Sat Oct 13 16:19:31 2018
+++ pkgsrc/emulators/libretro-virtualjaguar/Makefile    Tue May 26 09:45:17 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/10/13 16:19:31 nia Exp $
+# $NetBSD: Makefile,v 1.2 2020/05/26 09:45:17 nia Exp $
 
 DISTNAME=      libretro-virtualjaguar-20180812
 CATEGORIES=    emulators
@@ -11,9 +11,13 @@ HOMEPAGE=    https://docs.libretro.com/libr
 COMMENT=       Libretro core based on the Virtual Jaguar Atari Jaguar emulation
 LICENSE=       gnu-gpl-v3
 
-EXTRACT_USING= bsdtar
 USE_TOOLS+=    gmake
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
 
 .include "../../mk/endian.mk"
Index: pkgsrc/emulators/libretro-virtualjaguar/PLIST
diff -u pkgsrc/emulators/libretro-virtualjaguar/PLIST:1.1 pkgsrc/emulators/libretro-virtualjaguar/PLIST:1.2
--- pkgsrc/emulators/libretro-virtualjaguar/PLIST:1.1   Sat Oct 13 16:19:31 2018
+++ pkgsrc/emulators/libretro-virtualjaguar/PLIST       Tue May 26 09:45:17 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/10/13 16:19:31 nia Exp $
-lib/libretro/virtualjaguar_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:17 nia Exp $
+lib/libretro/virtualjaguar_libretro.${SOEXT}

Index: pkgsrc/games/libretro-2048/Makefile
diff -u pkgsrc/games/libretro-2048/Makefile:1.1 pkgsrc/games/libretro-2048/Makefile:1.2
--- pkgsrc/games/libretro-2048/Makefile:1.1     Sun Feb 10 12:39:10 2019
+++ pkgsrc/games/libretro-2048/Makefile Tue May 26 09:45:11 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2019/02/10 12:39:10 nia Exp $
+# $NetBSD: Makefile,v 1.2 2020/05/26 09:45:11 nia Exp $
 
 DISTNAME=      libretro-2048-20181229
 CATEGORIES=    games
@@ -11,10 +11,14 @@ HOMEPAGE=   https://docs.libretro.com/libr
 COMMENT=       Libretro core based on the 2048 puzzle game
 LICENSE=       unlicense
 
-EXTRACT_USING= bsdtar
 USE_TOOLS+=    gmake
 MAKE_FILE=     Makefile.libretro
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 CHECK_PORTABILITY_SKIP+=       pixman/configure
 
 MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
Index: pkgsrc/games/libretro-2048/PLIST
diff -u pkgsrc/games/libretro-2048/PLIST:1.1 pkgsrc/games/libretro-2048/PLIST:1.2
--- pkgsrc/games/libretro-2048/PLIST:1.1        Sun Feb 10 12:39:10 2019
+++ pkgsrc/games/libretro-2048/PLIST    Tue May 26 09:45:11 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2019/02/10 12:39:10 nia Exp $
-lib/libretro/2048_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:11 nia Exp $
+lib/libretro/2048_libretro.${SOEXT}

Index: pkgsrc/games/libretro-craft/Makefile
diff -u pkgsrc/games/libretro-craft/Makefile:1.2 pkgsrc/games/libretro-craft/Makefile:1.3
--- pkgsrc/games/libretro-craft/Makefile:1.2    Wed May 20 06:09:06 2020
+++ pkgsrc/games/libretro-craft/Makefile        Tue May 26 09:45:12 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2020/05/20 06:09:06 rillig Exp $
+# $NetBSD: Makefile,v 1.3 2020/05/26 09:45:12 nia Exp $
 
 DISTNAME=      libretro-craft-20180803
 CATEGORIES=    games
@@ -13,6 +13,11 @@ LICENSE=     mit
 
 USE_TOOLS+=    gmake
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 MAKE_FILE=     Makefile.libretro
 MAKE_FLAGS+=   GIT_VERSION=" \(pkgsrc\)"
 

Index: pkgsrc/games/libretro-craft/PLIST
diff -u pkgsrc/games/libretro-craft/PLIST:1.1 pkgsrc/games/libretro-craft/PLIST:1.2
--- pkgsrc/games/libretro-craft/PLIST:1.1       Sat Aug 11 00:48:50 2018
+++ pkgsrc/games/libretro-craft/PLIST   Tue May 26 09:45:12 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/08/11 00:48:50 nia Exp $
-lib/libretro/craft_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:12 nia Exp $
+lib/libretro/craft_libretro.${SOEXT}

Index: pkgsrc/games/libretro-nxengine/Makefile
diff -u pkgsrc/games/libretro-nxengine/Makefile:1.4 pkgsrc/games/libretro-nxengine/Makefile:1.5
--- pkgsrc/games/libretro-nxengine/Makefile:1.4 Wed May 20 06:09:06 2020
+++ pkgsrc/games/libretro-nxengine/Makefile     Tue May 26 09:45:12 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2020/05/20 06:09:06 rillig Exp $
+# $NetBSD: Makefile,v 1.5 2020/05/26 09:45:12 nia Exp $
 
 DISTNAME=      libretro-nxengine-20181126
 CATEGORIES=    games
@@ -11,10 +11,14 @@ HOMEPAGE=   https://docs.libretro.com/libr
 COMMENT=       Libretro core based on the NXEngine game engine for Cave Story
 LICENSE=       gnu-gpl-v3
 
-EXTRACT_USING= bsdtar
 USE_TOOLS+=    gmake
 USE_LANGUAGES= c c++
 
+OPSYSVARS+=    SOEXT
+SOEXT.Darwin=  dylib
+SOEXT.*=       so
+PLIST_SUBST+=  SOEXT=${SOEXT}
+
 .include "../../mk/endian.mk"
 
 .if ${MACHINE_ENDIAN} == "big"

Index: pkgsrc/games/libretro-nxengine/PLIST
diff -u pkgsrc/games/libretro-nxengine/PLIST:1.1 pkgsrc/games/libretro-nxengine/PLIST:1.2
--- pkgsrc/games/libretro-nxengine/PLIST:1.1    Sun Dec 23 15:05:52 2018
+++ pkgsrc/games/libretro-nxengine/PLIST        Tue May 26 09:45:12 2020
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2018/12/23 15:05:52 nia Exp $
-lib/libretro/nxengine_libretro.so
+@comment $NetBSD: PLIST,v 1.2 2020/05/26 09:45:12 nia Exp $
+lib/libretro/nxengine_libretro.${SOEXT}



Home | Main Index | Thread Index | Old Index