Update editors/libreoffice-sr_Latn to version 5.2.5
[dports.git] / games / glaxium / Makefile
1 # Created by: Igor Pokrovsky <ip@doom.homeunix.org>
2 # $FreeBSD$
3
4 PORTNAME=       glaxium
5 PORTVERSION=    0.5
6 PORTREVISION=   16
7 CATEGORIES=     games
8 MASTER_SITES=   http://xhosxe.free.fr/glaxium/
9 DISTNAME=       ${PORTNAME}_${PORTVERSION}
10
11 MAINTAINER=     ports@FreeBSD.org
12 COMMENT=        OpenGL based space-ship "shoot-em-up" game
13
14 LIB_DEPENDS=    libpng.so:graphics/png
15
16 USES=           dos2unix gmake
17 USE_SDL=        sdl mixer
18 USE_GL=         glut
19 GNU_CONFIGURE=  yes
20 ALL_TARGET=     ${PORTNAME}
21
22 DOS2UNIX_FILES= variables.cpp scene.cpp
23
24 DESKTOP_ENTRIES=        "Glaxium" \
25                         "Space-ship \"shoot-em-up\" game" \
26                         "${DATADIR}/textures/myship.png" \
27                         "glaxium" \
28                         "Game;ArcadeGame;" \
29                         false
30
31 post-patch:
32         @${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g; \
33                  s|/games/glaxium|/glaxium|g' ${WRKSRC}/configure
34         @${REINPLACE_CMD} -e 's|gcc -g -o|$$(CC) -o|g ; \
35                  s|/games/glaxium|/glaxium|g' ${WRKSRC}/Makefile.in
36         @${REINPLACE_CMD} -e 's|Scratcher:: Scratcher|Scratcher|g' \
37                 ${WRKSRC}/scratcher.hpp
38         @${REINPLACE_CMD} -e 's|TankFire::TankFire|TankFire|g' \
39                 ${WRKSRC}/tank.hpp
40
41 post-install:
42         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
43
44 .include <bsd.port.mk>