Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Apr 2020 05:27:55 +0000 (UTC)
From:      =?UTF-8?Q?Lo=c3=afc_Bartoletti?= <lbartoletti@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r533314 - in head: . games games/libretro games/libretro-2048 games/libretro-beetle_bsnes games/libretro-beetle_bsnes/files games/libretro-beetle_gba games/libretro-beetle_lynx games/li...
Message-ID:  <202004290527.03T5Rtlv012703@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lbartoletti
Date: Wed Apr 29 05:27:55 2020
New Revision: 533314
URL: https://svnweb.freebsd.org/changeset/ports/533314

Log:
  [NEW PORTS]: games/libretro-* libretro cores for compatible emulators
  
  Libretro is a simple API that allows for the creation of games and emulators. It needs a compatible libretro emulator to work (such as retroarch). This is a collection of 48 ports and a meta port to play retrogames.
  
  libretro - meta port for libretro cores
  libretro-2048 - 2048 puzzle
  libretro-beetle_bsnes - Nintendo SNES emulator from Mednafen
  libretro-beetle_gba - Nintendo Gameboy Advance emulator from Mednafen
  libretro-beetle_lynx - Atari Lynx emulator from Mednafen
  libretro-beetle_ngp - Neogeo Pocket emulator from Mednafen
  libretro-beetle_pce_fast - NEC PC Engine emulator from Mednafen
  libretro-beetle_pcfx - NEC PCFX emulator from Mednafen
  libretro-beetle_psx - Sony Playstation emulator from Mednafen
  libretro-beetle_supergrafx - NEC Supergrafx emulator from Mednafen
  libretro-beetle_vb - Nintendo Virtual Boy emulator from Mednafen
  libretro-beetle_wswan - Bandai Wonderswan emulator from Mednafen
  libretro-bluemsx - MSX emulator
  libretro-desmume2015 - Nintendo DS emulator
  libretro-dosbox - MS-DOS emulator
  libretro-emux - Emulator project support a couple of 8bit platforms
  libretro-fbalpha - Final Burn Alpha, arcade emulator
  libretro-fceumm - Nintendo NES emulator
  libretro-fuse - ZX Spectrum emulator
  libretro-gambatte - Nintendo Gameboy Color Emulator
  libretro-genesis_plus_gx - Sega 8 and 16 bit multi-emulator
  libretro-gpsp - Nintendo Gameboy emulator
  libretro-gw - Nintendo Game & Watch emulator
  libretro-handy - Atari Lynx emulator
  libretro-hatari - Atari ST/STE/TT/Falcon emulator
  libretro-mame2000 - Multiple Arcade Machine Emulator (0.37b5)
  libretro-mame2003 - Multiple Arcade Machine Emulator (0.78)
  libretro-mame2003_plus - Multiple Arcade Machine Emulator (0.78 with extra games)
  libretro-mgba - Nintendo Gameboy Advance emulator
  libretro-nestopia - Nintendo NES emulator
  libretro-nxengine - Cave Story engine
  libretro-o2em - Magnavox Odyssey 2 / Phillips Videopac emulator
  libretro-opera - Panasonic 3DO emulator
  libretro-pcsx_rearmed - Sony Playstion 1 emulator
  libretro-picodrive - Sega 8 and 16 bit multi-emulator
  libretro-prboom - Doom engine
  libretro-prosystem - Atari 7800 / Prosystem emulator
  libretro-quicknes - Nintendo NES emulator
  libretro-scummvm - SCUMMVM backend
  libretro-snes9x - Nintendo SNES emulator (Trunk)
  libretro-snes9x2005 - Nintendo SNES emulator (1.43)
  libretro-snes9x2010 - Nintendo SNES emulator (1.52)
  libretro-stella2014 - Atari 2600 emulator
  libretro-tgbdual - Nintendo Game Boy / Game Boy Color emulator
  libretro-tyrquake - Quake engine
  libretro-uae - Commodore Amiga emulator
  libretro-vbanext - Nintendo Game Boy Advance emulator
  libretro-vecx - GCE Vectrex emulator
  libretro-virtualjaguar - Atari Jaguar emulator
  
  PR:	244897
  Submitted by:	Daniel Menelkir <menelkir@itroll.org>
  Approved by:	tcberner (mentor)
  Differential Revision:	https://reviews.freebsd.org/D24516

Added:
  head/games/libretro/
  head/games/libretro-2048/
  head/games/libretro-2048/Makefile   (contents, props changed)
  head/games/libretro-2048/distinfo   (contents, props changed)
  head/games/libretro-2048/pkg-descr   (contents, props changed)
  head/games/libretro-beetle_bsnes/
  head/games/libretro-beetle_bsnes/Makefile   (contents, props changed)
  head/games/libretro-beetle_bsnes/distinfo   (contents, props changed)
  head/games/libretro-beetle_bsnes/files/
  head/games/libretro-beetle_bsnes/files/patch-mednafen_snes_src_lib_libco_aarch64.c   (contents, props changed)
  head/games/libretro-beetle_bsnes/pkg-descr   (contents, props changed)
  head/games/libretro-beetle_gba/
  head/games/libretro-beetle_gba/Makefile   (contents, props changed)
  head/games/libretro-beetle_gba/distinfo   (contents, props changed)
  head/games/libretro-beetle_gba/pkg-descr   (contents, props changed)
  head/games/libretro-beetle_lynx/
  head/games/libretro-beetle_lynx/Makefile   (contents, props changed)
  head/games/libretro-beetle_lynx/distinfo   (contents, props changed)
  head/games/libretro-beetle_lynx/pkg-descr   (contents, props changed)
  head/games/libretro-beetle_ngp/
  head/games/libretro-beetle_ngp/Makefile   (contents, props changed)
  head/games/libretro-beetle_ngp/distinfo   (contents, props changed)
  head/games/libretro-beetle_ngp/pkg-descr   (contents, props changed)
  head/games/libretro-beetle_pce_fast/
  head/games/libretro-beetle_pce_fast/Makefile   (contents, props changed)
  head/games/libretro-beetle_pce_fast/distinfo   (contents, props changed)
  head/games/libretro-beetle_pce_fast/pkg-descr   (contents, props changed)
  head/games/libretro-beetle_pcfx/
  head/games/libretro-beetle_pcfx/Makefile   (contents, props changed)
  head/games/libretro-beetle_pcfx/distinfo   (contents, props changed)
  head/games/libretro-beetle_pcfx/files/
  head/games/libretro-beetle_pcfx/files/patch-libretro-common_rthreads_rthreads.c   (contents, props changed)
  head/games/libretro-beetle_pcfx/pkg-descr   (contents, props changed)
  head/games/libretro-beetle_psx/
  head/games/libretro-beetle_psx/Makefile   (contents, props changed)
  head/games/libretro-beetle_psx/distinfo   (contents, props changed)
  head/games/libretro-beetle_psx/files/
  head/games/libretro-beetle_psx/files/patch-libretro-common_rthreads_rthreads.c   (contents, props changed)
  head/games/libretro-beetle_psx/pkg-descr   (contents, props changed)
  head/games/libretro-beetle_supergrafx/
  head/games/libretro-beetle_supergrafx/Makefile   (contents, props changed)
  head/games/libretro-beetle_supergrafx/distinfo   (contents, props changed)
  head/games/libretro-beetle_supergrafx/pkg-descr   (contents, props changed)
  head/games/libretro-beetle_vb/
  head/games/libretro-beetle_vb/Makefile   (contents, props changed)
  head/games/libretro-beetle_vb/distinfo   (contents, props changed)
  head/games/libretro-beetle_vb/pkg-descr   (contents, props changed)
  head/games/libretro-beetle_wswan/
  head/games/libretro-beetle_wswan/Makefile   (contents, props changed)
  head/games/libretro-beetle_wswan/distinfo   (contents, props changed)
  head/games/libretro-beetle_wswan/pkg-descr   (contents, props changed)
  head/games/libretro-bluemsx/
  head/games/libretro-bluemsx/Makefile   (contents, props changed)
  head/games/libretro-bluemsx/distinfo   (contents, props changed)
  head/games/libretro-bluemsx/pkg-descr   (contents, props changed)
  head/games/libretro-desmume2015/
  head/games/libretro-desmume2015/Makefile   (contents, props changed)
  head/games/libretro-desmume2015/distinfo   (contents, props changed)
  head/games/libretro-desmume2015/files/
  head/games/libretro-desmume2015/files/patch-Makefile.freebsd   (contents, props changed)
  head/games/libretro-desmume2015/files/patch-desmume_src_libretro-common_rthreads_rthreads.c   (contents, props changed)
  head/games/libretro-desmume2015/pkg-descr   (contents, props changed)
  head/games/libretro-dosbox/
  head/games/libretro-dosbox/Makefile   (contents, props changed)
  head/games/libretro-dosbox/distinfo   (contents, props changed)
  head/games/libretro-dosbox/files/
  head/games/libretro-dosbox/files/patch-libretro-common_libco_aarch64.c   (contents, props changed)
  head/games/libretro-dosbox/pkg-descr   (contents, props changed)
  head/games/libretro-emux/
  head/games/libretro-emux/Makefile   (contents, props changed)
  head/games/libretro-emux/distinfo   (contents, props changed)
  head/games/libretro-emux/files/
  head/games/libretro-emux/files/patch-Makefile.freebsd   (contents, props changed)
  head/games/libretro-emux/files/patch-emux_libretro_Makefile.bsd   (contents, props changed)
  head/games/libretro-emux/files/patch-libretro_Makefile.bsd   (contents, props changed)
  head/games/libretro-emux/pkg-descr   (contents, props changed)
  head/games/libretro-fbalpha/
  head/games/libretro-fbalpha/Makefile   (contents, props changed)
  head/games/libretro-fbalpha/distinfo   (contents, props changed)
  head/games/libretro-fbalpha/files/
  head/games/libretro-fbalpha/files/patch-Makefile.freebsd   (contents, props changed)
  head/games/libretro-fbalpha/pkg-descr   (contents, props changed)
  head/games/libretro-fceumm/
  head/games/libretro-fceumm/Makefile   (contents, props changed)
  head/games/libretro-fceumm/distinfo   (contents, props changed)
  head/games/libretro-fceumm/pkg-descr   (contents, props changed)
  head/games/libretro-fuse/
  head/games/libretro-fuse/Makefile   (contents, props changed)
  head/games/libretro-fuse/distinfo   (contents, props changed)
  head/games/libretro-fuse/pkg-descr   (contents, props changed)
  head/games/libretro-gambatte/
  head/games/libretro-gambatte/Makefile   (contents, props changed)
  head/games/libretro-gambatte/distinfo   (contents, props changed)
  head/games/libretro-gambatte/pkg-descr   (contents, props changed)
  head/games/libretro-genesis_plus_gx/
  head/games/libretro-genesis_plus_gx/Makefile   (contents, props changed)
  head/games/libretro-genesis_plus_gx/distinfo   (contents, props changed)
  head/games/libretro-genesis_plus_gx/pkg-descr   (contents, props changed)
  head/games/libretro-gpsp/
  head/games/libretro-gpsp/Makefile   (contents, props changed)
  head/games/libretro-gpsp/distinfo   (contents, props changed)
  head/games/libretro-gpsp/files/
  head/games/libretro-gpsp/files/patch-libco_aarch64.c   (contents, props changed)
  head/games/libretro-gpsp/pkg-descr   (contents, props changed)
  head/games/libretro-gw/
  head/games/libretro-gw/Makefile   (contents, props changed)
  head/games/libretro-gw/distinfo   (contents, props changed)
  head/games/libretro-gw/pkg-descr   (contents, props changed)
  head/games/libretro-handy/
  head/games/libretro-handy/Makefile   (contents, props changed)
  head/games/libretro-handy/distinfo   (contents, props changed)
  head/games/libretro-handy/pkg-descr   (contents, props changed)
  head/games/libretro-hatari/
  head/games/libretro-hatari/Makefile   (contents, props changed)
  head/games/libretro-hatari/distinfo   (contents, props changed)
  head/games/libretro-hatari/files/
  head/games/libretro-hatari/files/patch-libretro_libretro-sdk_libco_aarch64.c   (contents, props changed)
  head/games/libretro-hatari/files/patch-libretro_libretro-sdk_rthreads_rthreads.c   (contents, props changed)
  head/games/libretro-hatari/pkg-descr   (contents, props changed)
  head/games/libretro-mame2000/
  head/games/libretro-mame2000/Makefile   (contents, props changed)
  head/games/libretro-mame2000/distinfo   (contents, props changed)
  head/games/libretro-mame2000/files/
  head/games/libretro-mame2000/files/patch-src_libretro_libretro-common_libco_aarch64.c   (contents, props changed)
  head/games/libretro-mame2000/pkg-descr   (contents, props changed)
  head/games/libretro-mame2003/
  head/games/libretro-mame2003/Makefile   (contents, props changed)
  head/games/libretro-mame2003/distinfo   (contents, props changed)
  head/games/libretro-mame2003/pkg-descr   (contents, props changed)
  head/games/libretro-mame2003_plus/
  head/games/libretro-mame2003_plus/Makefile   (contents, props changed)
  head/games/libretro-mame2003_plus/distinfo   (contents, props changed)
  head/games/libretro-mame2003_plus/pkg-descr   (contents, props changed)
  head/games/libretro-mgba/
  head/games/libretro-mgba/Makefile   (contents, props changed)
  head/games/libretro-mgba/distinfo   (contents, props changed)
  head/games/libretro-mgba/pkg-descr   (contents, props changed)
  head/games/libretro-nestopia/
  head/games/libretro-nestopia/Makefile   (contents, props changed)
  head/games/libretro-nestopia/distinfo   (contents, props changed)
  head/games/libretro-nestopia/files/
  head/games/libretro-nestopia/files/patch-Makefile.freebsd   (contents, props changed)
  head/games/libretro-nestopia/pkg-descr   (contents, props changed)
  head/games/libretro-nxengine/
  head/games/libretro-nxengine/Makefile   (contents, props changed)
  head/games/libretro-nxengine/distinfo   (contents, props changed)
  head/games/libretro-nxengine/pkg-descr   (contents, props changed)
  head/games/libretro-o2em/
  head/games/libretro-o2em/Makefile   (contents, props changed)
  head/games/libretro-o2em/distinfo   (contents, props changed)
  head/games/libretro-o2em/pkg-descr   (contents, props changed)
  head/games/libretro-opera/
  head/games/libretro-opera/Makefile   (contents, props changed)
  head/games/libretro-opera/distinfo   (contents, props changed)
  head/games/libretro-opera/files/
  head/games/libretro-opera/files/patch-Makefile   (contents, props changed)
  head/games/libretro-opera/files/patch-libretro-common_cdrom_cdrom.c   (contents, props changed)
  head/games/libretro-opera/pkg-descr   (contents, props changed)
  head/games/libretro-pcsx_rearmed/
  head/games/libretro-pcsx_rearmed/Makefile   (contents, props changed)
  head/games/libretro-pcsx_rearmed/distinfo   (contents, props changed)
  head/games/libretro-pcsx_rearmed/pkg-descr   (contents, props changed)
  head/games/libretro-picodrive/
  head/games/libretro-picodrive/Makefile   (contents, props changed)
  head/games/libretro-picodrive/distinfo   (contents, props changed)
  head/games/libretro-picodrive/pkg-descr   (contents, props changed)
  head/games/libretro-prboom/
  head/games/libretro-prboom/Makefile   (contents, props changed)
  head/games/libretro-prboom/distinfo   (contents, props changed)
  head/games/libretro-prboom/pkg-descr   (contents, props changed)
  head/games/libretro-prosystem/
  head/games/libretro-prosystem/Makefile   (contents, props changed)
  head/games/libretro-prosystem/distinfo   (contents, props changed)
  head/games/libretro-prosystem/pkg-descr   (contents, props changed)
  head/games/libretro-quicknes/
  head/games/libretro-quicknes/Makefile   (contents, props changed)
  head/games/libretro-quicknes/distinfo   (contents, props changed)
  head/games/libretro-quicknes/pkg-descr   (contents, props changed)
  head/games/libretro-scummvm/
  head/games/libretro-scummvm/Makefile   (contents, props changed)
  head/games/libretro-scummvm/distinfo   (contents, props changed)
  head/games/libretro-scummvm/files/
  head/games/libretro-scummvm/files/patch-Makefile.freebsd   (contents, props changed)
  head/games/libretro-scummvm/files/patch-backends_platform_libretro_libretro-common_libco_aarch64.c   (contents, props changed)
  head/games/libretro-scummvm/pkg-descr   (contents, props changed)
  head/games/libretro-snes9x/
  head/games/libretro-snes9x/Makefile   (contents, props changed)
  head/games/libretro-snes9x/distinfo   (contents, props changed)
  head/games/libretro-snes9x/files/
  head/games/libretro-snes9x/files/patch-Makefile.freebsd   (contents, props changed)
  head/games/libretro-snes9x/pkg-descr   (contents, props changed)
  head/games/libretro-snes9x2005/
  head/games/libretro-snes9x2005/Makefile   (contents, props changed)
  head/games/libretro-snes9x2005/distinfo   (contents, props changed)
  head/games/libretro-snes9x2005/files/
  head/games/libretro-snes9x2005/files/patch-Makefile.freebsd   (contents, props changed)
  head/games/libretro-snes9x2005/pkg-descr   (contents, props changed)
  head/games/libretro-snes9x2010/
  head/games/libretro-snes9x2010/Makefile   (contents, props changed)
  head/games/libretro-snes9x2010/distinfo   (contents, props changed)
  head/games/libretro-snes9x2010/files/
  head/games/libretro-snes9x2010/files/patch-Makefile.freebsd   (contents, props changed)
  head/games/libretro-snes9x2010/pkg-descr   (contents, props changed)
  head/games/libretro-stella2014/
  head/games/libretro-stella2014/Makefile   (contents, props changed)
  head/games/libretro-stella2014/distinfo   (contents, props changed)
  head/games/libretro-stella2014/pkg-descr   (contents, props changed)
  head/games/libretro-tgbdual/
  head/games/libretro-tgbdual/Makefile   (contents, props changed)
  head/games/libretro-tgbdual/distinfo   (contents, props changed)
  head/games/libretro-tgbdual/pkg-descr   (contents, props changed)
  head/games/libretro-tyrquake/
  head/games/libretro-tyrquake/Makefile   (contents, props changed)
  head/games/libretro-tyrquake/distinfo   (contents, props changed)
  head/games/libretro-tyrquake/pkg-descr   (contents, props changed)
  head/games/libretro-uae/
  head/games/libretro-uae/Makefile   (contents, props changed)
  head/games/libretro-uae/distinfo   (contents, props changed)
  head/games/libretro-uae/files/
  head/games/libretro-uae/files/patch-libco_aarch64.c   (contents, props changed)
  head/games/libretro-uae/files/patch-sources_src_disk.c   (contents, props changed)
  head/games/libretro-uae/pkg-descr   (contents, props changed)
  head/games/libretro-vbanext/
  head/games/libretro-vbanext/Makefile   (contents, props changed)
  head/games/libretro-vbanext/distinfo   (contents, props changed)
  head/games/libretro-vbanext/pkg-descr   (contents, props changed)
  head/games/libretro-vecx/
  head/games/libretro-vecx/Makefile   (contents, props changed)
  head/games/libretro-vecx/distinfo   (contents, props changed)
  head/games/libretro-vecx/pkg-descr   (contents, props changed)
  head/games/libretro-virtualjaguar/
  head/games/libretro-virtualjaguar/Makefile   (contents, props changed)
  head/games/libretro-virtualjaguar/distinfo   (contents, props changed)
  head/games/libretro-virtualjaguar/pkg-descr   (contents, props changed)
  head/games/libretro/Makefile   (contents, props changed)
  head/games/libretro/pkg-descr   (contents, props changed)
Modified:
  head/LEGAL
  head/games/Makefile

Modified: head/LEGAL
==============================================================================
--- head/LEGAL	Wed Apr 29 05:14:45 2020	(r533313)
+++ head/LEGAL	Wed Apr 29 05:27:55 2020	(r533314)
@@ -239,3 +239,6 @@ msms-*			science/msms		No commercial use, only for use
 unifi-devel-*		net-mgmt/unifi-devel	License restrictions, see https://www.ubnt.com/eula/
 netio*			benchmarks/netio	No commercial use: commercial use requires a commercial license
 zerotier-*	net/zerotier	No SaaS or Govt usage: https://github.com/zerotier/ZeroTierOne/blob/master/LICENSE.txt
+libretro-snes9x-*		emulators/libretro-snes9x	Commercial users must seek permission from copyright holders.
+libretro-snes9x-*		emulators/libretro-snes9x2005	Commercial users must seek permission from copyright holders.
+libretro-snes9x-*		emulators/libretro-snes9x2010	Commercial users must seek permission from copyright holders.

Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile	Wed Apr 29 05:14:45 2020	(r533313)
+++ head/games/Makefile	Wed Apr 29 05:27:55 2020	(r533314)
@@ -479,9 +479,58 @@
     SUBDIR += liblcf
     SUBDIR += libmaitretarot
     SUBDIR += libmt_client
+    SUBDIR += libretro
+    SUBDIR += libretro-2048
+    SUBDIR += libretro-beetle_bsnes
+    SUBDIR += libretro-beetle_gba
+    SUBDIR += libretro-beetle_lynx
+    SUBDIR += libretro-beetle_ngp
+    SUBDIR += libretro-beetle_pce_fast
+    SUBDIR += libretro-beetle_pcfx
+    SUBDIR += libretro-beetle_psx
+    SUBDIR += libretro-beetle_supergrafx
+    SUBDIR += libretro-beetle_vb
+    SUBDIR += libretro-beetle_wswan
+    SUBDIR += libretro-bluemsx
     SUBDIR += libretro-core-info
+    SUBDIR += libretro-desmume2015
+    SUBDIR += libretro-dosbox
+    SUBDIR += libretro-emux
+    SUBDIR += libretro-fbalpha
+    SUBDIR += libretro-fceumm
+    SUBDIR += libretro-fuse
+    SUBDIR += libretro-gambatte
+    SUBDIR += libretro-genesis_plus_gx
+    SUBDIR += libretro-gpsp
+    SUBDIR += libretro-gw
+    SUBDIR += libretro-handy
+    SUBDIR += libretro-hatari
+    SUBDIR += libretro-mame2000
+    SUBDIR += libretro-mame2003
+    SUBDIR += libretro-mame2003_plus
+    SUBDIR += libretro-mgba
+    SUBDIR += libretro-nestopia
+    SUBDIR += libretro-nxengine
+    SUBDIR += libretro-o2em
+    SUBDIR += libretro-opera
+    SUBDIR += libretro-pcsx_rearmed
+    SUBDIR += libretro-picodrive
+    SUBDIR += libretro-prboom
+    SUBDIR += libretro-prosystem
+    SUBDIR += libretro-quicknes
+    SUBDIR += libretro-scummvm
     SUBDIR += libretro-shaders-glsl
     SUBDIR += libretro-shaders-slang
+    SUBDIR += libretro-snes9x
+    SUBDIR += libretro-snes9x2005
+    SUBDIR += libretro-snes9x2010
+    SUBDIR += libretro-stella2014
+    SUBDIR += libretro-tgbdual
+    SUBDIR += libretro-tyrquake
+    SUBDIR += libretro-uae
+    SUBDIR += libretro-vbanext
+    SUBDIR += libretro-vecx
+    SUBDIR += libretro-virtualjaguar
     SUBDIR += libshhcards
     SUBDIR += libtmcg
     SUBDIR += lightsoff

Added: head/games/libretro-2048/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-2048/Makefile	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME=	libretro-2048
+PORTVERSION=	0.20200313
+CATEGORIES=	games
+
+MAINTAINER=	menelkir@itroll.org
+COMMENT=	Port of 2048 puzzle game to the libretro API
+
+LICENSE=	GPLv2
+
+USES=		compiler:c++11-lib gmake
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	libretro
+GH_TAGNAME=	c5e0df2
+
+PLIST_FILES=	libexec/libretro/2048_libretro.so
+
+MAKEFILE=	Makefile.libretro
+
+do-install:
+	${MKDIR} ${STAGEDIR}/${PREFIX}/libexec/libretro;
+	${INSTALL_LIB} $$(find ${WRKSRC}/${COREDIR}/ -name "*.so") ${STAGEDIR}/${PREFIX}/libexec/libretro;
+
+.include <bsd.port.mk>

Added: head/games/libretro-2048/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-2048/distinfo	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1584469651
+SHA256 (libretro-libretro-2048-0.20200313-c5e0df2_GH0.tar.gz) = f28d3795cecd140e35209bca2daf991f60ca6980bdd074e5c6c1ea1414192e8c
+SIZE (libretro-libretro-2048-0.20200313-c5e0df2_GH0.tar.gz) = 2697711

Added: head/games/libretro-2048/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-2048/pkg-descr	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,3 @@
+Port of 2048 puzzle game to the libretro API.
+
+WWW: https://github.com/libretro/libretro-2048

Added: head/games/libretro-beetle_bsnes/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_bsnes/Makefile	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME=	libretro-beetle_bsnes
+PORTVERSION=	0.20200313
+CATEGORIES=	games
+
+MAINTAINER=	menelkir@itroll.org
+COMMENT=	Standalone port of Mednafen bSNES to libretro
+
+LICENSE=	GPLv2
+
+USES=		compiler:c++11-lib gmake
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	libretro
+GH_PROJECT=	beetle-bsnes-libretro
+GH_TAGNAME=	de22d84
+
+PLIST_FILES=	libexec/libretro/mednafen_snes_libretro.so
+
+do-install:
+	${MKDIR} ${STAGEDIR}/${PREFIX}/libexec/libretro;
+	${INSTALL_LIB} $$(find ${WRKSRC}/${COREDIR}/ -name "*.so") ${STAGEDIR}/${PREFIX}/libexec/libretro;
+
+.include <bsd.port.mk>

Added: head/games/libretro-beetle_bsnes/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_bsnes/distinfo	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1584470447
+SHA256 (libretro-beetle-bsnes-libretro-0.20200313-de22d84_GH0.tar.gz) = 1d18a49d670d1e2baaeb11df6473dba10c209b256dd817e81cf2a7aac849fbe7
+SIZE (libretro-beetle-bsnes-libretro-0.20200313-de22d84_GH0.tar.gz) = 547398

Added: head/games/libretro-beetle_bsnes/files/patch-mednafen_snes_src_lib_libco_aarch64.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_bsnes/files/patch-mednafen_snes_src_lib_libco_aarch64.c	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,17 @@
+--- mednafen/snes/src/lib/libco/aarch64.c.orig	2020-04-28 06:21:33 UTC
++++ mednafen/snes/src/lib/libco/aarch64.c
+@@ -12,7 +12,13 @@
+ #include <stdint.h>
+ 
+ #ifndef IOS
+-#include <malloc.h>
++#include <sys/param.h>
++
++void *
++memalign(size_t align, size_t size)
++{
++	return (aligned_alloc(align, roundup(size, align)));
++}
+ #endif
+ 
+ #ifdef __cplusplus

Added: head/games/libretro-beetle_bsnes/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_bsnes/pkg-descr	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,3 @@
+Standalone port of Mednafen bSNES to libretro, itself a fork of bsnes 0.59.
+
+WWW: https://github.com/libretro/beetle-bsnes-libretro

Added: head/games/libretro-beetle_gba/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_gba/Makefile	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME=	libretro-beetle_gba
+PORTVERSION=	0.20200313
+CATEGORIES=	games
+
+MAINTAINER=	menelkir@itroll.org
+COMMENT=	Standalone port of Mednafen GBA to libretro
+
+LICENSE=	GPLv2
+
+USES=		compiler:c++11-lib gmake
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	libretro
+GH_PROJECT=	beetle-gba-libretro
+GH_TAGNAME=	135afdb
+
+PLIST_FILES=	libexec/libretro/mednafen_gba_libretro.so
+
+do-install:
+	${MKDIR} ${STAGEDIR}/${PREFIX}/libexec/libretro;
+	${INSTALL_LIB} $$(find ${WRKSRC}/${COREDIR}/ -name "*.so") ${STAGEDIR}/${PREFIX}/libexec/libretro;
+
+.include <bsd.port.mk>

Added: head/games/libretro-beetle_gba/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_gba/distinfo	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1584470679
+SHA256 (libretro-beetle-gba-libretro-0.20200313-135afdb_GH0.tar.gz) = 9d16f31547d692344b7552df0a9522ce0c2bee8e1cf684a87e0a7f73e265bcf1
+SIZE (libretro-beetle-gba-libretro-0.20200313-135afdb_GH0.tar.gz) = 174344

Added: head/games/libretro-beetle_gba/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_gba/pkg-descr	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,3 @@
+Standalone port of Mednafen GBA to libretro.
+
+WWW: https://github.com/libretro/beetle-gba-libretro

Added: head/games/libretro-beetle_lynx/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_lynx/Makefile	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME=	libretro-beetle_lynx
+PORTVERSION=	0.20200313
+CATEGORIES=	games
+
+MAINTAINER=	menelkir@itroll.org
+COMMENT=	Standalone port of Mednafen Lynx to libretro, itself a fork of Handy
+
+LICENSE=	GPLv2
+
+USES=		compiler:c++11-lib gmake
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	libretro
+GH_PROJECT=	beetle-lynx-libretro
+GH_TAGNAME=	928f7cf
+
+PLIST_FILES=	libexec/libretro/mednafen_lynx_libretro.so
+
+do-install:
+	${MKDIR} ${STAGEDIR}/${PREFIX}/libexec/libretro;
+	${INSTALL_LIB} $$(find ${WRKSRC}/${COREDIR}/ -name "*.so") ${STAGEDIR}/${PREFIX}/libexec/libretro;
+
+.include <bsd.port.mk>

Added: head/games/libretro-beetle_lynx/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_lynx/distinfo	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1584470797
+SHA256 (libretro-beetle-lynx-libretro-0.20200313-928f7cf_GH0.tar.gz) = 3bcb4f5680a90c3eda2f1013c0e27807eee5fb2aeb2c37171a90cc05ef60f7fe
+SIZE (libretro-beetle-lynx-libretro-0.20200313-928f7cf_GH0.tar.gz) = 175309

Added: head/games/libretro-beetle_lynx/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_lynx/pkg-descr	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,3 @@
+Standalone port of Mednafen Lynx to libretro, itself a fork of Handy.
+
+WWW: https://github.com/libretro/beetle-lynx-libretro

Added: head/games/libretro-beetle_ngp/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_ngp/Makefile	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME=	libretro-beetle_ngp
+PORTVERSION=	0.20200313
+CATEGORIES=	games
+
+MAINTAINER=	menelkir@itroll.org
+COMMENT=	Standalone port of Mednafen NGP to the libretro API
+
+LICENSE=	GPLv2
+
+USES=		compiler:c++11-lib gmake
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	libretro
+GH_PROJECT=	beetle-ngp-libretro
+GH_TAGNAME=	6f15532
+
+PLIST_FILES=	libexec/libretro/mednafen_ngp_libretro.so
+
+do-install:
+	${MKDIR} ${STAGEDIR}/${PREFIX}/libexec/libretro;
+	${INSTALL_LIB} $$(find ${WRKSRC}/${COREDIR}/ -name "*.so") ${STAGEDIR}/${PREFIX}/libexec/libretro;
+
+.include <bsd.port.mk>

Added: head/games/libretro-beetle_ngp/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_ngp/distinfo	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1584470872
+SHA256 (libretro-beetle-ngp-libretro-0.20200313-6f15532_GH0.tar.gz) = f0d3968734a8f948e40b5a2ca3df5120845533936986b5f6f921b1838184acb8
+SIZE (libretro-beetle-ngp-libretro-0.20200313-6f15532_GH0.tar.gz) = 187325

Added: head/games/libretro-beetle_ngp/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_ngp/pkg-descr	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,3 @@
+Standalone port of Mednafen NGP to the libretro API, itself a fork of Neopop.
+
+WWW: https://github.com/libretro/beetle-ngp-libretro

Added: head/games/libretro-beetle_pce_fast/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_pce_fast/Makefile	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME=	libretro-beetle_pce_fast
+PORTVERSION=	0.20200418
+CATEGORIES=	games
+
+MAINTAINER=	menelkir@itroll.org
+COMMENT=	Standalone port of Mednafen PCE Fast to libretro
+
+LICENSE=	GPLv2
+
+USES=		compiler:c++11-lib gmake
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	libretro
+GH_PROJECT=	beetle-pce-fast-libretro
+GH_TAGNAME=	40a42b7
+
+PLIST_FILES=	libexec/libretro/mednafen_pce_fast_libretro.so
+
+do-install:
+	${MKDIR} ${STAGEDIR}/${PREFIX}/libexec/libretro;
+	${INSTALL_LIB} $$(find ${WRKSRC}/${COREDIR}/ -name "*.so") ${STAGEDIR}/${PREFIX}/libexec/libretro;
+
+.include <bsd.port.mk>

Added: head/games/libretro-beetle_pce_fast/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_pce_fast/distinfo	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1587213101
+SHA256 (libretro-beetle-pce-fast-libretro-0.20200418-40a42b7_GH0.tar.gz) = 50b8fefc859bc371b10cdd5971c5238f8d6dbe1cb5f2b278f10aed8c977f9c00
+SIZE (libretro-beetle-pce-fast-libretro-0.20200418-40a42b7_GH0.tar.gz) = 1200304

Added: head/games/libretro-beetle_pce_fast/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_pce_fast/pkg-descr	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,3 @@
+Standalone port of Mednafen PCE Fast to libretro.
+
+WWW: https://github.com/libretro/beetle-vb-pce-fast-libretro

Added: head/games/libretro-beetle_pcfx/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_pcfx/Makefile	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME=	libretro-beetle_pcfx
+PORTVERSION=	0.20200418
+CATEGORIES=	games
+
+MAINTAINER=	menelkir@itroll.org
+COMMENT=	Standalone port of Mednafen PCFX to libretro
+
+LICENSE=	GPLv2
+
+USES=		compiler:c++11-lib gmake
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	libretro
+GH_PROJECT=	beetle-pcfx-libretro
+GH_TAGNAME=	7bba669
+
+PLIST_FILES=	libexec/libretro/mednafen_pcfx_libretro.so
+
+do-install:
+	${MKDIR} ${STAGEDIR}/${PREFIX}/libexec/libretro;
+	${INSTALL_LIB} $$(find ${WRKSRC}/${COREDIR}/ -name "*.so") ${STAGEDIR}/${PREFIX}/libexec/libretro;
+
+.include <bsd.port.mk>

Added: head/games/libretro-beetle_pcfx/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_pcfx/distinfo	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1587213318
+SHA256 (libretro-beetle-pcfx-libretro-0.20200418-7bba669_GH0.tar.gz) = 611c779930cc47e25f86d5ebfa0a1ae668e37cb8e4caee31137d1a8164cb2dae
+SIZE (libretro-beetle-pcfx-libretro-0.20200418-7bba669_GH0.tar.gz) = 1250165

Added: head/games/libretro-beetle_pcfx/files/patch-libretro-common_rthreads_rthreads.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_pcfx/files/patch-libretro-common_rthreads_rthreads.c	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,11 @@
+--- libretro-common/rthreads/rthreads.c.orig	2020-03-17 18:50:48 UTC
++++ libretro-common/rthreads/rthreads.c
+@@ -66,6 +66,8 @@
+ #include <mach/mach.h>
+ #endif
+ 
++#include <sys/time.h>
++
+ struct thread_data
+ {
+    void (*func)(void*);

Added: head/games/libretro-beetle_pcfx/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_pcfx/pkg-descr	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,3 @@
+Standalone port of Mednafen PCFX to libretro.
+
+WWW: https://github.com/libretro/beetle-gba-libretro

Added: head/games/libretro-beetle_psx/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_psx/Makefile	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME=	libretro-beetle_psx
+PORTVERSION=	0.20200418
+CATEGORIES=	games
+
+MAINTAINER=	menelkir@itroll.org
+COMMENT=	Standalone port/fork of Mednafen PSX to the Libretro API
+
+LICENSE=	GPLv2
+
+USES=		compiler:c++11-lib gmake gl
+USE_LDCONFIG=	yes
+USE_GL=		gl
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	libretro
+GH_PROJECT=	beetle-psx-libretro
+GH_TAGNAME=	dfab19a
+
+PLIST_FILES=	libexec/libretro/mednafen_psx_libretro.so
+
+do-install:
+	${MKDIR} ${STAGEDIR}/${PREFIX}/libexec/libretro;
+	${INSTALL_LIB} $$(find ${WRKSRC}/${COREDIR}/ -name "*.so") ${STAGEDIR}/${PREFIX}/libexec/libretro;
+
+.include <bsd.port.mk>

Added: head/games/libretro-beetle_psx/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_psx/distinfo	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1587213783
+SHA256 (libretro-beetle-psx-libretro-0.20200418-dfab19a_GH0.tar.gz) = ff80d229859120b2d79b13b6740b21f43515fb6fad7488b973c913c26f91dc1f
+SIZE (libretro-beetle-psx-libretro-0.20200418-dfab19a_GH0.tar.gz) = 2899119

Added: head/games/libretro-beetle_psx/files/patch-libretro-common_rthreads_rthreads.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_psx/files/patch-libretro-common_rthreads_rthreads.c	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,11 @@
+--- libretro-common/rthreads/rthreads.c.orig	2020-03-17 21:58:04 UTC
++++ libretro-common/rthreads/rthreads.c
+@@ -58,6 +58,8 @@
+ #include <time.h>
+ #endif
+ 
++#include <sys/time.h>
++
+ #if defined(VITA) || defined(BSD) || defined(ORBIS)
+ #include <sys/time.h>
+ #endif

Added: head/games/libretro-beetle_psx/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_psx/pkg-descr	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,3 @@
+Standalone port/fork of Mednafen PSX to the Libretro API.
+
+WWW: https://github.com/libretro/beetle-psx-libretro

Added: head/games/libretro-beetle_supergrafx/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_supergrafx/Makefile	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME=	libretro-beetle_supergrafx
+PORTVERSION=	0.20200313
+CATEGORIES=	games
+
+MAINTAINER=	menelkir@itroll.org
+COMMENT=	Standalone port of Mednafen supergrafx to libretro
+
+LICENSE=	GPLv2
+
+USES=		compiler:c++11-lib gmake
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	libretro
+GH_PROJECT=	beetle-supergrafx-libretro
+GH_TAGNAME=	fadef23
+
+PLIST_FILES=	libexec/libretro/mednafen_supergrafx_libretro.so
+
+do-install:
+	${MKDIR} ${STAGEDIR}/${PREFIX}/libexec/libretro;
+	${INSTALL_LIB} $$(find ${WRKSRC}/${COREDIR}/ -name "*.so") ${STAGEDIR}/${PREFIX}/libexec/libretro;
+
+.include <bsd.port.mk>

Added: head/games/libretro-beetle_supergrafx/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_supergrafx/distinfo	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1587214304
+SHA256 (libretro-beetle-supergrafx-libretro-0.20200313-fadef23_GH0.tar.gz) = 2052235ba4468dded454d2913337d9eaae47ae072fc52dc7b8e7e0aa3a9dd7de
+SIZE (libretro-beetle-supergrafx-libretro-0.20200313-fadef23_GH0.tar.gz) = 1184377

Added: head/games/libretro-beetle_supergrafx/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_supergrafx/pkg-descr	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,3 @@
+Standalone port of Mednafen supergrafx to libretro
+
+WWW: https://github.com/libretro/beetle-supergrafx-libretro

Added: head/games/libretro-beetle_vb/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_vb/Makefile	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME=	libretro-beetle_vb
+PORTVERSION=	0.20200313
+CATEGORIES=	games
+
+MAINTAINER=	menelkir@itroll.org
+COMMENT=	Standalone port of Mednafen VB to libretro
+
+LICENSE=	GPLv2
+
+USES=		compiler:c++11-lib gmake
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	libretro
+GH_PROJECT=	beetle-vb-libretro
+GH_TAGNAME=	9a4e604
+
+PLIST_FILES=	libexec/libretro/mednafen_vb_libretro.so
+
+do-install:
+	${MKDIR} ${STAGEDIR}/${PREFIX}/libexec/libretro;
+	${INSTALL_LIB} $$(find ${WRKSRC}/${COREDIR}/ -name "*.so") ${STAGEDIR}/${PREFIX}/libexec/libretro;
+
+.include <bsd.port.mk>

Added: head/games/libretro-beetle_vb/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_vb/distinfo	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1584482435
+SHA256 (libretro-beetle-vb-libretro-0.20200313-9a4e604_GH0.tar.gz) = 3fd6e3f702bc0584fe7d80a7710a66f10340d8ebf81a8c42260ea5ea9ad90134
+SIZE (libretro-beetle-vb-libretro-0.20200313-9a4e604_GH0.tar.gz) = 174800

Added: head/games/libretro-beetle_vb/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_vb/pkg-descr	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,3 @@
+Standalone port of Mednafen VB to libretro.
+
+WWW: https://github.com/libretro/beetle-vb-libretro

Added: head/games/libretro-beetle_wswan/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_wswan/Makefile	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME=	libretro-beetle_wswan
+PORTVERSION=	0.20200313
+CATEGORIES=	games
+
+MAINTAINER=	menelkir@itroll.org
+COMMENT=	Standalone port of Mednafen WonderSwan to libretro
+
+LICENSE=	GPLv2
+
+USES=		compiler:c++11-lib gmake
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	libretro
+GH_PROJECT=	beetle-wswan-libretro
+GH_TAGNAME=	5b03d1b
+
+PLIST_FILES=	libexec/libretro/mednafen_wswan_libretro.so
+
+do-install:
+	${MKDIR} ${STAGEDIR}/${PREFIX}/libexec/libretro;
+	${INSTALL_LIB} $$(find ${WRKSRC}/${COREDIR}/ -name "*.so") ${STAGEDIR}/${PREFIX}/libexec/libretro;
+
+.include <bsd.port.mk>

Added: head/games/libretro-beetle_wswan/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_wswan/distinfo	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1584482740
+SHA256 (libretro-beetle-wswan-libretro-0.20200313-5b03d1b_GH0.tar.gz) = d9c38e2321229f1e57745ddf8a5220fbe64218770353e155e48386f08f8ebd45
+SIZE (libretro-beetle-wswan-libretro-0.20200313-5b03d1b_GH0.tar.gz) = 151768

Added: head/games/libretro-beetle_wswan/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-beetle_wswan/pkg-descr	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,3 @@
+Standalone port of Mednafen WonderSwan to libretro, itself a fork of Cygne.
+
+WWW: https://github.com/libretro/beetle-wswan-libretro

Added: head/games/libretro-bluemsx/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-bluemsx/Makefile	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME=	libretro-bluemsx
+PORTVERSION=	0.20200313
+CATEGORIES=	games
+
+MAINTAINER=	menelkir@itroll.org
+COMMENT=	Port of blueMSX to the libretro API
+
+LICENSE=	GPLv3
+
+BROKEN_aarch64=	error: constant expression evaluates to -1 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
+
+USES=		compiler:c++11-lib gmake
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	libretro
+GH_PROJECT=	blueMSX-libretro
+GH_TAGNAME=	7a1d40e
+
+PLIST_FILES=	libexec/libretro/bluemsx_libretro.so
+
+do-install:
+	${MKDIR} ${STAGEDIR}/${PREFIX}/libexec/libretro;
+	${INSTALL_LIB} $$(find ${WRKSRC}/${COREDIR}/ -name "*.so") ${STAGEDIR}/${PREFIX}/libexec/libretro;
+
+.include <bsd.port.mk>

Added: head/games/libretro-bluemsx/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-bluemsx/distinfo	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1584482968
+SHA256 (libretro-blueMSX-libretro-0.20200313-7a1d40e_GH0.tar.gz) = 8a17b7007c193f7ebdd8f3bbb80b5c74d9130130a4557f2ec47b22ae27ea6fce
+SIZE (libretro-blueMSX-libretro-0.20200313-7a1d40e_GH0.tar.gz) = 6602066

Added: head/games/libretro-bluemsx/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-bluemsx/pkg-descr	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,3 @@
+Port of blueMSX to the libretro API.
+
+WWW: https://github.com/libretro/blueMSX-libretro

Added: head/games/libretro-desmume2015/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-desmume2015/Makefile	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,31 @@
+# $FreeBSD$
+
+PORTNAME=	libretro-desmume2015
+PORTVERSION=	0.20200313
+CATEGORIES=	games
+
+MAINTAINER=	menelkir@itroll.org
+COMMENT=	Port of Desmume to libretro based on Desmume SVN circa 2015
+
+LICENSE=	GPLv2
+
+BROKEN_aarch64=	fails to compile: invokes x86 assembler
+
+USES=		compiler:c++11-lib gmake gl
+USE_LDCONFIG=	yes
+USE_GL=		gl
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	libretro
+GH_PROJECT=	desmume2015
+GH_TAGNAME=	93d5789
+
+PLIST_FILES=	libexec/libretro/desmume2015_libretro.so
+
+MAKEFILE=	Makefile.freebsd
+
+do-install:
+	${MKDIR} ${STAGEDIR}/${PREFIX}/libexec/libretro;
+	${INSTALL_LIB} $$(find ${WRKSRC}/${COREDIR}/ -name "*.so") ${STAGEDIR}/${PREFIX}/libexec/libretro;
+
+.include <bsd.port.mk>

Added: head/games/libretro-desmume2015/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-desmume2015/distinfo	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1584483086
+SHA256 (libretro-desmume2015-0.20200313-93d5789_GH0.tar.gz) = 950cb8b0e3564e6c810a9b29bf0ae8a4619f3b5b2db8d97d8ee150199cc2e33a
+SIZE (libretro-desmume2015-0.20200313-93d5789_GH0.tar.gz) = 1374909

Added: head/games/libretro-desmume2015/files/patch-Makefile.freebsd
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-desmume2015/files/patch-Makefile.freebsd	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,5 @@
+--- Makefile.freebsd.orig	2020-03-17 22:12:07 UTC
++++ Makefile.freebsd
+@@ -0,0 +1,2 @@
++all:
++	cd desmume && ${MAKE} -f Makefile.libretro

Added: head/games/libretro-desmume2015/files/patch-desmume_src_libretro-common_rthreads_rthreads.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-desmume2015/files/patch-desmume_src_libretro-common_rthreads_rthreads.c	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,11 @@
+--- desmume/src/libretro-common/rthreads/rthreads.c.orig	2020-03-17 22:13:05 UTC
++++ desmume/src/libretro-common/rthreads/rthreads.c
+@@ -60,6 +60,8 @@
+ #include <mach/mach.h>
+ #endif
+ 
++#include <sys/time.h>
++
+ struct thread_data
+ {
+    void (*func)(void*);

Added: head/games/libretro-desmume2015/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-desmume2015/pkg-descr	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,3 @@
+Port of Desmume to libretro based on Desmume SVN circa 2015.
+
+WWW: https://github.com/libretro/desmume2015

Added: head/games/libretro-dosbox/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-dosbox/Makefile	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME=	libretro-dosbox
+PORTVERSION=	0.20200313
+CATEGORIES=	games
+
+MAINTAINER=	menelkir@itroll.org
+COMMENT=	Port of DOSBox (upstream) to the libretro API
+
+LICENSE=	GPLv2
+
+USES=		compiler:c++11-lib gmake
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	libretro
+GH_PROJECT=	dosbox-libretro
+GH_TAGNAME=	e4ed503
+
+PLIST_FILES=	libexec/libretro/dosbox_libretro.so
+
+do-install:
+	${MKDIR} ${STAGEDIR}/${PREFIX}/libexec/libretro;
+	${INSTALL_LIB} $$(find ${WRKSRC}/${COREDIR}/ -name "*.so") ${STAGEDIR}/${PREFIX}/libexec/libretro;
+
+.include <bsd.port.mk>

Added: head/games/libretro-dosbox/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-dosbox/distinfo	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1584483330
+SHA256 (libretro-dosbox-libretro-0.20200313-e4ed503_GH0.tar.gz) = 0e5c69964d3a45b832640554fb3c791c2d75338e18a2f20a4b0b47ca515b3d5b
+SIZE (libretro-dosbox-libretro-0.20200313-e4ed503_GH0.tar.gz) = 1186313

Added: head/games/libretro-dosbox/files/patch-libretro-common_libco_aarch64.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-dosbox/files/patch-libretro-common_libco_aarch64.c	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,17 @@
+--- libretro-common/libco/aarch64.c.orig	2020-04-28 06:08:20 UTC
++++ libretro-common/libco/aarch64.c
+@@ -12,7 +12,13 @@
+ #include <stdint.h>
+ 
+ #ifndef IOS
+-#include <malloc.h>
++#include <sys/param.h>
++
++void *
++memalign(size_t align, size_t size)
++{
++	return (aligned_alloc(align, roundup(size, align)));
++}
+ #endif
+ 
+ #ifdef __cplusplus

Added: head/games/libretro-dosbox/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-dosbox/pkg-descr	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,3 @@
+Port of DOSBox (upstream) to the libretro API.
+
+WWW: https://github.com/libretro/dosbox-libretro

Added: head/games/libretro-emux/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-emux/Makefile	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,31 @@
+# $FreeBSD$
+
+PORTNAME=	libretro-emux
+PORTVERSION=	0.20200313
+CATEGORIES=	games
+
+MAINTAINER=	menelkir@itroll.org
+COMMENT=	Emux is a cross-platform emulator project supporting various machines
+
+LICENSE=	GPLv2
+
+USES=		compiler:c++11-lib gmake
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	libretro
+GH_PROJECT=	emux
+GH_TAGNAME=	640d4ba
+
+PLIST_FILES=	libexec/libretro/emux_chip8_libretro.so \
+		libexec/libretro/emux_gb_libretro.so \
+		libexec/libretro/emux_nes_libretro.so \
+		libexec/libretro/emux_sms_libretro.so
+
+MAKEFILE=	Makefile.freebsd
+
+do-install:
+	${MKDIR} ${STAGEDIR}/${PREFIX}/libexec/libretro;
+	${INSTALL_LIB} $$(find ${WRKSRC}/${COREDIR}/ -name "*.so") ${STAGEDIR}/${PREFIX}/libexec/libretro;
+
+.include <bsd.port.mk>

Added: head/games/libretro-emux/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-emux/distinfo	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1584483491
+SHA256 (libretro-emux-0.20200313-640d4ba_GH0.tar.gz) = a3a3ad177d8859b2c114d340b9d287048aa45d69b6829903fd24f01ac9aea81c
+SIZE (libretro-emux-0.20200313-640d4ba_GH0.tar.gz) = 187661

Added: head/games/libretro-emux/files/patch-Makefile.freebsd
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-emux/files/patch-Makefile.freebsd	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,10 @@
+--- Makefile.freebsd.orig	2020-03-17 22:18:45 UTC
++++ Makefile.freebsd
+@@ -0,0 +1,7 @@
++all:
++	cd libretro && \
++		${MAKE} -f Makefile.bsd MACHINE=chip8 && \
++		${MAKE} -f Makefile.bsd MACHINE=gb && \
++		${MAKE} -f Makefile.bsd MACHINE=nes && \
++		${MAKE} -f Makefile.bsd MACHINE=sms
++

Added: head/games/libretro-emux/files/patch-emux_libretro_Makefile.bsd
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-emux/files/patch-emux_libretro_Makefile.bsd	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,91 @@
+--- emux/libretro/Makefile.bsd.orig	2016-11-09 04:30:27 UTC
++++ emux/libretro/Makefile.bsd
+@@ -0,0 +1,88 @@
++##############
++# Works on hosts Linux
++# apt-get install g++-multilib libc6-dev-i386
++
++##########################
++# Checks the host platform
++
++HOST_PLATFORM = linux
++ifeq ($(shell uname -a),)
++  HOST_PLATFORM = windows
++else ifneq ($(findstring MINGW,$(shell uname -a)),)
++  HOST_PLATFORM = windows
++else ifneq ($(findstring Darwin,$(shell uname -a)),)
++  HOST_PLATFORM = darwin
++else ifneq ($(findstring win,$(shell uname -a)),)
++  HOST_PLATFORM = windows
++endif
++
++#################
++# Toolchain setup
++
++AS  = as
++AR  = ar
++
++############
++# Extensions
++
++OBJEXT = .o
++SOEXT  = .so
++
++################
++# Platform setup
++
++STATIC_LINKING = 0
++platform       = unix
++PLATDEFS       = 
++PLATCFLAGS     = -fpic -fstrict-aliasing
++PLATCXXFLAGS   = -fpic -fstrict-aliasing
++PLATLDFLAGS    = -shared -lm -Wl,-version-script=$(BUILD_DIR)/link.T -Wl,-no-undefined
++PLATLDXFLAGS   = -shared -lm -Wl,-version-script=$(BUILD_DIR)/link.T -Wl,-no-undefined
++
++################
++# libretro setup
++
++RETRODEFS     = -D__LIBRETRO__
++RETROCFLAGS   =
++RETROCXXFLAGS =
++RETROLDFLAGS  =
++RETROLDXFLAGS =
++
++#################
++# Final variables
++
++DEFINES  = $(PLATDEFS) $(RETRODEFS)
++CFLAGS   = $(PLATCFLAGS) $(RETROCFLAGS) $(DEFINES) $(INCLUDES)
++CXXFLAGS = $(PLATCXXFLAGS) $(RETROCXXFLAGS) $(DEFINES) $(INCLUDES)
++LDFLAGS  = $(PLATLDFLAGS) $(RETROLDFLAGS)
++LDXFLAGS = $(PLATLDXFLAGS) $(RETROLDXFLAGS)
++
++########
++# Tuning
++
++ifneq ($(DEBUG),)
++  CFLAGS   += -O0 -g
++  CXXFLAGS += -O0 -g
++else
++  CFLAGS   += -O3 -DNDEBUG
++  CXXFLAGS += -O3 -DNDEBUG
++endif
++
++ifneq ($(LOG_PERFORMANCE),)
++  CFLAGS   += -DLOG_PERFORMANCE
++  CXXFLAGS += -DLOG_PERFORMANCE
++endif
++
++####################################
++# Variable setup for Makefile.common
++
++CORE_DIR  ?= ..
++BUILD_DIR ?= .
++INCLUDES   = 
++
++include $(BUILD_DIR)/Makefile.common
++
++###############
++# Include rules
++
++include $(BUILD_DIR)/Makefile.rules

Added: head/games/libretro-emux/files/patch-libretro_Makefile.bsd
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-emux/files/patch-libretro_Makefile.bsd	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,91 @@
+--- libretro/Makefile.bsd.orig	2020-03-17 22:22:41 UTC
++++ libretro/Makefile.bsd
+@@ -0,0 +1,88 @@
++##############
++# Works on hosts Linux
++# apt-get install g++-multilib libc6-dev-i386
++
++##########################
++# Checks the host platform
++
++HOST_PLATFORM = linux
++ifeq ($(shell uname -a),)
++  HOST_PLATFORM = windows
++else ifneq ($(findstring MINGW,$(shell uname -a)),)
++  HOST_PLATFORM = windows
++else ifneq ($(findstring Darwin,$(shell uname -a)),)
++  HOST_PLATFORM = darwin
++else ifneq ($(findstring win,$(shell uname -a)),)
++  HOST_PLATFORM = windows
++endif
++
++#################
++# Toolchain setup
++
++AS  = as
++AR  = ar
++
++############
++# Extensions
++
++OBJEXT = .o
++SOEXT  = .so
++
++################
++# Platform setup
++
++STATIC_LINKING = 0
++platform       = unix
++PLATDEFS       = 
++PLATCFLAGS     = -fpic -fstrict-aliasing
++PLATCXXFLAGS   = -fpic -fstrict-aliasing
++PLATLDFLAGS    = -shared -lm -Wl,-version-script=$(BUILD_DIR)/link.T -Wl,-no-undefined
++PLATLDXFLAGS   = -shared -lm -Wl,-version-script=$(BUILD_DIR)/link.T -Wl,-no-undefined
++
++################
++# libretro setup
++
++RETRODEFS     = -D__LIBRETRO__
++RETROCFLAGS   =
++RETROCXXFLAGS =
++RETROLDFLAGS  =
++RETROLDXFLAGS =
++
++#################
++# Final variables
++
++DEFINES  = $(PLATDEFS) $(RETRODEFS)
++CFLAGS   = $(PLATCFLAGS) $(RETROCFLAGS) $(DEFINES) $(INCLUDES)
++CXXFLAGS = $(PLATCXXFLAGS) $(RETROCXXFLAGS) $(DEFINES) $(INCLUDES)
++LDFLAGS  = $(PLATLDFLAGS) $(RETROLDFLAGS)
++LDXFLAGS = $(PLATLDXFLAGS) $(RETROLDXFLAGS)
++
++########
++# Tuning
++
++ifneq ($(DEBUG),)
++  CFLAGS   += -O0 -g
++  CXXFLAGS += -O0 -g
++else
++  CFLAGS   += -O3 -DNDEBUG
++  CXXFLAGS += -O3 -DNDEBUG
++endif
++
++ifneq ($(LOG_PERFORMANCE),)
++  CFLAGS   += -DLOG_PERFORMANCE
++  CXXFLAGS += -DLOG_PERFORMANCE
++endif
++
++####################################
++# Variable setup for Makefile.common
++
++CORE_DIR  ?= ..
++BUILD_DIR ?= .
++INCLUDES   = 
++
++include $(BUILD_DIR)/Makefile.common
++
++###############
++# Include rules
++
++include $(BUILD_DIR)/Makefile.rules

Added: head/games/libretro-emux/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-emux/pkg-descr	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,3 @@
+Emux is a cross-platform emulator project supporting various machines.
+
+WWW: https://github.com/libretro/emux

Added: head/games/libretro-fbalpha/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-fbalpha/Makefile	Wed Apr 29 05:27:55 2020	(r533314)
@@ -0,0 +1,34 @@
+# $FreeBSD$
+
+PORTNAME=	libretro-fbalpha
+PORTVERSION=	0.20200313
+CATEGORIES=	games
+
+MAINTAINER=	menelkir@itroll.org

*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004290527.03T5Rtlv012703>