diff options
author | Nikolai Lifanov <lifanov@FreeBSD.org> | 2017-09-15 00:20:37 +0000 |
---|---|---|
committer | Nikolai Lifanov <lifanov@FreeBSD.org> | 2017-09-15 00:20:37 +0000 |
commit | 96744c3968eb844c53759745c0de07e54f006a6c (patch) | |
tree | baab3bcab302855d2a7679d4f22e91a38ab5e142 /games/nxengine/Makefile | |
parent | 081e46f2b177d0f925efd0ce4a1f59322ffb1d3e (diff) | |
download | ports-96744c3968eb844c53759745c0de07e54f006a6c.tar.gz ports-96744c3968eb844c53759745c0de07e54f006a6c.zip |
Notes
Diffstat (limited to 'games/nxengine/Makefile')
-rw-r--r-- | games/nxengine/Makefile | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/games/nxengine/Makefile b/games/nxengine/Makefile new file mode 100644 index 000000000000..82b22276b130 --- /dev/null +++ b/games/nxengine/Makefile @@ -0,0 +1,48 @@ +# Created by: Nikolai Lifanov <lifanov@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= nxengine +PORTVERSION= 1.0.0.6 +CATEGORIES= games +MASTER_SITES= http://nxengine.sourceforge.net/dl/ \ + http://www.cavestory.org/downloads/:data \ + SF/lifanov-ports-distfiles/games/${PORTNAME}/:icons +DISTFILES= nx-src-${DISTVERSION:S/.//g}.tar.bz2 \ + cavestoryen.zip:data \ + ${PORTNAME}.png:icons +EXTRACT_ONLY= ${DISTFILES:[1..2]: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:[1]} +LICENSE_DISTFILES_FREEWARE= ${DISTFILES:[2]:S/:data//} + +DESKTOP_ENTRIES="NXEngine" "" "${PORTNAME}" \ + "${PORTNAME}" "Game;AdventureGame;" "" + +WRKSRC= ${WRKDIR}/nx +USE_SDL= sdl ttf +SUB_FILES= ${PORTNAME} + +pre-build: + @${REINPLACE_CMD} -e 's/g++/${CXX}/' ${WRKSRC}/Makefile + +do-install: + ${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_PROGRAM} ${WRKSRC}/nx ${STAGEDIR}${DATADIR} +.for f in sprites.sif smalfont.bmp tilekey.dat font.ttf + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR} +.endfor + ${INSTALL_SCRIPT} ${WRKDIR}/nxengine ${STAGEDIR}${PREFIX}/bin + (cd ${WRKDIR}/CaveStory; ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) + ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps + +.include <bsd.port.mk> |