diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-11-29 02:36:57 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-11-29 02:36:57 +0000 |
commit | c3df8569a579fe5581ccbc1c976ed097e28c4474 (patch) | |
tree | 86d08705c4b6ce5ba5253f0511fefbabc09ddead /games/tecnoballz/Makefile | |
parent | cd73789345889c2d7697ed6d6dda21ad26307370 (diff) | |
download | ports-c3df8569a579fe5581ccbc1c976ed097e28c4474.tar.gz ports-c3df8569a579fe5581ccbc1c976ed097e28c4474.zip |
Notes
Diffstat (limited to 'games/tecnoballz/Makefile')
-rw-r--r-- | games/tecnoballz/Makefile | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/games/tecnoballz/Makefile b/games/tecnoballz/Makefile index 0ce858d63b0b..931e7ab844c9 100644 --- a/games/tecnoballz/Makefile +++ b/games/tecnoballz/Makefile @@ -11,6 +11,9 @@ MASTER_SITES= http://linux.tlk.fr/games/TecnoballZ/download/ \ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Brick breaker (Arkanoid-like game) +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + LIB_DEPENDS= libmikmod.so:${PORTSDIR}/audio/libmikmod \ libvorbisfile.so:${PORTSDIR}/audio/libvorbis \ libogg.so:${PORTSDIR}/audio/libogg \ @@ -24,12 +27,12 @@ GNU_CONFIGURE= yes PORTDATA= * -DESKTOP_ENTRIES= "TecnoballZ" \ - "A brick breaker (Arkanoid-like game)" \ - "" \ - "tecnoballz" \ - "Game;ArcadeGame;" \ - false +DESKTOP_ENTRIES="TecnoballZ" \ + "A brick breaker (Arkanoid-like game)" \ + "" \ + "tecnoballz" \ + "Game;ArcadeGame;" \ + false post-patch: @${FIND} ${WRKSRC}/include -name '*.h' | ${XARGS} ${REINPLACE_CMD} \ @@ -37,6 +40,7 @@ post-patch: @${REINPLACE_CMD} -e '/^CXXFLAGS=[^$$]*$$/ s|^|#|' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|$$(prefix)/games|$$(prefix)/bin|' \ ${WRKSRC}/Makefile.am ${WRKSRC}/src/Makefile.am + @${REINPLACE_CMD} -e '/chmod/ d; /chown/ d' ${WRKSRC}/Makefile.am @${REINPLACE_CMD} -e 's|supervisor.c|&c|' ${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} @@ -45,5 +49,7 @@ post-patch: post-install: @cd ${WRKSRC}/src/TecnoballZ && ${FIND} . -name "Makefile*" -delete @cd ${WRKSRC}/src/TecnoballZ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/ + ${MV} ${STAGEDIR}/var/games/tecnoballz/tecnoballz.hi \ + ${STAGEDIR}/var/games/tecnoballz/tecnoballz.hi.sample .include <bsd.port.mk> |