aboutsummaryrefslogblamecommitdiff
path: root/games/libretro-snes9x2010/Makefile
blob: b380c5f8e6ca71ebd6e3e138a220064da51b44ad (plain) (tree)
1
2
3
4
5
6
7
8
9
                                   
                         
                 

                     
                                 
                                                                
                                                      
 
                                                               







                                                  


                          
                       
 
                                                   
 
                                                                     
 
           

                                                                                          
 
                      
PORTNAME=	libretro-snes9x2010
PORTVERSION=	g20220725
PORTEPOCH=	1
CATEGORIES=	games

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Snes9x - Portable Super Nintendo emulator (1.52)
WWW=		https://github.com/libretro/snes9x2010

# Commercial users must seek permission from copyright holders.
LICENSE=	PS
LICENSE_NAME=	PS
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
LICENSE_PERMS=	dist-mirror pkg-mirror auto-accept

USES=		compiler:c++11-lib gmake
USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	libretro
GH_PROJECT=	snes9x2010
GH_TAGNAME=	e86e546

PLIST_FILES=	lib/libretro/snes9x2010_libretro.so

MAKE_ENV=	LTO=-flto  # may drop this branch on next port update

do-install:
	@${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro
	${INSTALL_LIB} ${WRKSRC}/snes9x2010_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro

.include <bsd.port.mk>