freebsd-ports/games/tecnoballz/Makefile
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00

47 lines
1.2 KiB
Makefile

# Created by: Jean-Yves Lefort <jylefort@brutele.be>
# $FreeBSD$
PORTNAME= tecnoballz
PORTVERSION= 0.93.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 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>