mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
a2c2bfe213
Feature safe: yes
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# New ports collection makefile for: glaxium
|
|
# Date created: 21 Jan 2006
|
|
# Whom: Igor Pokrovsky <ip@doom.homeunix.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= glaxium
|
|
PORTVERSION= 0.5
|
|
PORTREVISION= 8
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://xhosxe.free.fr/glaxium/
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
MAINTAINER= makc@FreeBSD.org
|
|
COMMENT= An OpenGL based space-ship "shoot-em-up" game
|
|
|
|
LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png
|
|
|
|
USE_SDL= sdl mixer
|
|
USE_GL= glut
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
ALL_TARGET= ${PORTNAME}
|
|
|
|
MAN6= glaxium.6
|
|
|
|
USE_DOS2UNIX= variables.cpp scene.cpp
|
|
|
|
DESKTOP_ENTRIES= "Glaxium" \
|
|
"Space-ship \"shoot-em-up\" game" \
|
|
"${DATADIR}/textures/myship.png" \
|
|
"glaxium" \
|
|
"Game;ArcadeGame;" \
|
|
false
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g; \
|
|
s|/games/glaxium|/glaxium|g' ${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e 's|gcc -g -o|$$(CC) -o|g ; \
|
|
s|/games/glaxium|/glaxium|g' ${WRKSRC}/Makefile.in
|
|
@${REINPLACE_CMD} -e 's|Scratcher:: Scratcher|Scratcher|g' \
|
|
${WRKSRC}/scratcher.hpp
|
|
@${REINPLACE_CMD} -e 's|TankFire::TankFire|TankFire|g' \
|
|
${WRKSRC}/tank.hpp
|
|
|
|
.include <bsd.port.mk>
|