dbf0547388
Libretro is a simple but powerful development interface that allows for the easy creation of emulators, games and multimedia applications that can plug straight into any libretro-compatible frontend. This development interface is open to others so that they can run these pluggable emulator and game cores also in their own programs or devices. NXEngine is a Cave Story game engine clone developed by Caitlin Shaw. Cave Story is a platform-adventure video game developed over five years by Daisuke "Pixel" Amaya. Cave Story features 2D platform mechanics and is reminiscent of the classic games the developer played in his youth, such as Metroid and Castlevania. It received wide critical acclaim for its compelling characters, setting, story and gameplay.
33 lines
893 B
Makefile
33 lines
893 B
Makefile
# $NetBSD: Makefile,v 1.1 2018/12/23 15:05:52 nia Exp $
|
|
|
|
DISTNAME= libretro-nxengine-20181126
|
|
CATEGORIES= games
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=libretro/}
|
|
GITHUB_PROJECT= nxengine-libretro
|
|
GITHUB_TAG= 0fd3d36eeb6339eb3c1cc185b0b6bd589331b1a9
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://docs.libretro.com/library/nxengine/
|
|
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++
|
|
|
|
.include "../../mk/endian.mk"
|
|
|
|
.if ${MACHINE_ENDIAN} == "big"
|
|
CFLAGS+= -DMSB_FIRST
|
|
.endif
|
|
|
|
BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-version-script=build/link.T
|
|
BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-no-undefined
|
|
|
|
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
|
|
|
|
do-install:
|
|
${INSTALL_LIB} ${WRKSRC}/nxengine_libretro.so \
|
|
${DESTDIR}${PREFIX}/lib/libretro/nxengine_libretro.so
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|