2013-05-30 20:05:23 +02:00
|
|
|
# Created by: Jean-Yves Lefort <jylefort@brutele.be>
|
2005-01-20 23:43:06 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2007-06-18 15:47:56 +02:00
|
|
|
PORTNAME= tecnoballz
|
2014-12-11 21:41:52 +01:00
|
|
|
PORTVERSION= 0.93.1
|
2007-06-18 15:47:56 +02:00
|
|
|
CATEGORIES= games
|
2008-03-21 12:42:34 +01:00
|
|
|
MASTER_SITES= http://linux.tlk.fr/games/TecnoballZ/download/ \
|
2009-07-28 18:34:36 +02:00
|
|
|
http://mirror.amdmi3.ru/distfiles/
|
2005-01-20 23:43:06 +01:00
|
|
|
|
2008-06-19 19:28:24 +02:00
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
2014-06-13 09:36:27 +02:00
|
|
|
COMMENT= Brick breaker (Arkanoid-like game)
|
2005-01-20 23:43:06 +01:00
|
|
|
|
2016-01-12 17:20:31 +01:00
|
|
|
LICENSE= GPLv3+
|
2014-11-29 03:36:57 +01:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS= libmikmod.so:audio/libmikmod \
|
|
|
|
libvorbisfile.so:audio/libvorbis \
|
|
|
|
libogg.so:audio/libogg \
|
|
|
|
libsmpeg.so:multimedia/smpeg \
|
|
|
|
libtinyxml.so:textproc/tinyxml
|
2005-01-20 23:43:06 +01:00
|
|
|
|
2014-12-11 21:41:52 +01:00
|
|
|
USES= autoreconf gmake tar:tgz
|
2008-03-14 17:24:49 +01:00
|
|
|
USE_SDL= sdl mixer image
|
|
|
|
GNU_CONFIGURE= yes
|
2005-01-20 23:43:06 +01:00
|
|
|
|
2013-11-18 23:49:10 +01:00
|
|
|
PORTDATA= *
|
2005-01-20 23:43:06 +01:00
|
|
|
|
2014-11-29 03:36:57 +01:00
|
|
|
DESKTOP_ENTRIES="TecnoballZ" \
|
|
|
|
"A brick breaker (Arkanoid-like game)" \
|
|
|
|
"" \
|
|
|
|
"tecnoballz" \
|
|
|
|
"Game;ArcadeGame;" \
|
|
|
|
false
|
2010-08-19 22:23:15 +02:00
|
|
|
|
2005-01-20 23:43:06 +01:00
|
|
|
post-patch:
|
2014-12-11 21:41:52 +01:00
|
|
|
@${REINPLACE_CMD} -e '/CXXFLAGS=[^$$]*$$/ s|^|#|' ${WRKSRC}/configure.ac
|
|
|
|
@${REINPLACE_CMD} -e 's|$$(prefix)/games|$$(prefix)/bin|; \
|
|
|
|
/chmod/ d; /chown/ d' ${WRKSRC}/src/Makefile.am
|
2008-03-14 17:24:49 +01:00
|
|
|
.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
|
2005-01-20 23:43:06 +01:00
|
|
|
|
|
|
|
post-install:
|
2014-11-29 03:36:57 +01:00
|
|
|
${MV} ${STAGEDIR}/var/games/tecnoballz/tecnoballz.hi \
|
|
|
|
${STAGEDIR}/var/games/tecnoballz/tecnoballz.hi.sample
|
2005-01-20 23:43:06 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|