freebsd-ports/games/syobon/Makefile
Gerald Pfeifer 89f8b05214 Bump PORTREVISIONS for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

In particular that is ports with USE_GCC=yes, USE_GCC=any, or one of
gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang,
c++11-lang, c++0x, c11 requested via USES=compiler.
2016-11-20 09:38:08 +00:00

46 lines
1.1 KiB
Makefile

# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= syobon
PORTVERSION= 1.0.1
PORTREVISION= 8
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>