1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/games/tecnoballz/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

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, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

49 lines
1.3 KiB
Makefile

# Created by: Jean-Yves Lefort <jylefort@brutele.be>
# $FreeBSD$
PORTNAME= tecnoballz
PORTVERSION= 0.93.1
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://linux.tlk.fr/games/TecnoballZ/download/ \
http://mirror.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Brick breaker (Arkanoid-like game)
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libmikmod.so:audio/libmikmod \
libvorbisfile.so:audio/libvorbis \
libogg.so:audio/libogg \
libsmpeg.so:multimedia/smpeg \
libtinyxml.so:textproc/tinyxml
USES= autoreconf compiler:c++11-lang gmake tar:tgz
USE_SDL= sdl mixer image
GNU_CONFIGURE= yes
PORTDATA= *
DESKTOP_ENTRIES="TecnoballZ" \
"A brick breaker (Arkanoid-like game)" \
"" \
"tecnoballz" \
"Game;ArcadeGame;" \
false
post-patch:
@${REINPLACE_CMD} -e '/CXXFLAGS=[^$$]*$$/ s|^|#|' ${WRKSRC}/configure.ac
@${REINPLACE_CMD} -e 's|$$(prefix)/games|$$(prefix)/bin|; \
/chmod/ d; /chown/ d' ${WRKSRC}/src/Makefile.am
.for f in tecnoballz.cc tiles_background.cc sprite_ship.cc controller_magnetic_eyes.cc
@${REINPLACE_CMD} -e '/rand/ s|(Sint32)|(intptr_t)|' ${WRKSRC}/src/${f}
.endfor
post-install:
${MV} ${STAGEDIR}/var/games/tecnoballz/tecnoballz.hi \
${STAGEDIR}/var/games/tecnoballz/tecnoballz.hi.sample
.include <bsd.port.mk>