mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
a9f015d155
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
51 lines
1.5 KiB
Makefile
51 lines
1.5 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= nxengine
|
|
PORTVERSION= 2.6.3
|
|
DISTVERSIONPREFIX= v
|
|
PORTREVISION= 2
|
|
CATEGORIES= games
|
|
MASTER_SITES+= https://www.cavestory.org/downloads/:data \
|
|
SF/lifanov-ports-distfiles/games/${PORTNAME}/:icons
|
|
DISTFILES+= ${PORTNAME}.png:icons \
|
|
cavestoryen.zip:data
|
|
EXTRACT_ONLY= ${DISTFILES:[2..3]:S/:data//}
|
|
|
|
MAINTAINER= lifanov@FreeBSD.org
|
|
COMMENT= Engine-rewrite of the classic platformer Cave Story
|
|
|
|
LICENSE= GPLv3 FREEWARE
|
|
LICENSE_COMB= multi
|
|
LICENSE_NAME_FREEWARE= Cave Story freeware license
|
|
LICENSE_FILE_GPLv3= ${WRKSRC}/LICENSE
|
|
LICENSE_FILE_FREEWARE= ${WRKDIR}/CaveStory/Readme.txt
|
|
LICENSE_PERMS_FREEWARE= dist-mirror pkg-mirror auto-accept
|
|
LICENSE_DISTFILES_GPLv3= ${DISTFILES:[3]}
|
|
LICENSE_DISTFILES_FREEWARE= ${DISTFILES:[2]:S/:data//}
|
|
|
|
LIB_DEPENDS= libpng.so:graphics/png
|
|
|
|
USES= cmake:outsource compiler:c++11-lang
|
|
|
|
USE_SDL= mixer2 sdl2
|
|
SUB_FILES= ${PORTNAME}
|
|
CXXFLAGS+= -Wno-error-narrowing
|
|
|
|
USE_GITHUB= yes
|
|
GH_PROJECT= ${PORTNAME}-evo
|
|
|
|
DESKTOP_ENTRIES="NXEngine" "" "${PORTNAME}" \
|
|
"${PORTNAME}" "Game;AdventureGame;" ""
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/nx ${STAGEDIR}${DATADIR}
|
|
${INSTALL_SCRIPT} ${WRKDIR}/nxengine ${STAGEDIR}${PREFIX}/bin
|
|
(cd ${WRKSRC}/data; ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/data)
|
|
(cd ${WRKDIR}/CaveStory; ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
|
|
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
|
|
${STAGEDIR}${PREFIX}/share/pixmaps
|
|
(cd ${STAGEDIR}${DATADIR}; ${WRKSRC}/bin/extract)
|
|
|
|
.include <bsd.port.mk>
|