1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/games/syobon/Makefile
Gerald Pfeifer e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 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, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00

46 lines
1.1 KiB
Makefile

# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= syobon
PORTVERSION= 1.0.1
PORTREVISION= 10
CATEGORIES= games
MASTER_SITES= http://zapek.com/wp-content/uploads/2010/09/ \
SF/nemysisfreebsdp/${CATEGORIES}/:icons
DISTFILES= ${PORTNAME}_${DISTVERSION}_src${EXTRACT_SUFX} \
${PORTNAME}.png:icons
EXTRACT_ONLY= ${PORTNAME}_${DISTVERSION}_src${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Platform game as Super Mario Bros
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= dos2unix gmake pkgconfig
DOS2UNIX_FILES= *.cpp *.txt
USE_SDL= sdl gfx image mixer ttf
USE_GCC= yes
ALL_TARGET= ${PORTNAME}
MAKE_ENV= GAMEDATA="${DATADIR}"
PORTDOCS= README.txt
OPTIONS_DEFINE= DOCS
DESKTOP_ENTRIES="Syobon Action" "" "${PORTNAME}" \
"${PORTNAME}" "Game;ArcadeGame;" ""
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
.for d in BGM SE res
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR})
.endfor
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>