aboutsummaryrefslogblamecommitdiff
path: root/games/libretro-snes9x2010/Makefile
blob: 4036a8792a79e3cc978bec655a1de6e505307f02 (plain) (tree)
1
2
                                   
                          

















                                                                             
                       
 
                                                   
 







                                                                     
           

                                                                                          
 
                           
PORTNAME=	libretro-snes9x2010
PORTVERSION=	0.20210214
CATEGORIES=	games

MAINTAINER=	menelkir@itroll.org
COMMENT=	Snes9x - Portable Super Nintendo emulator (1.52)

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

NO_CDROM=	Commercial users must seek permission from copyright holders.

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

PLIST_FILES=	lib/libretro/snes9x2010_libretro.so

.include <bsd.port.pre.mk>

.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200000
MAKE_ENV=	LTO=
.else
MAKE_ENV=	LTO=-flto  # may drop this branch on next port update
.endif

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

.include <bsd.port.post.mk>