2013-01-07 03:07:26 +01:00
|
|
|
# Created by: Igor Pokrovsky <ip@doom.homeunix.org>
|
2006-01-23 19:05:05 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= glaxium
|
|
|
|
PORTVERSION= 0.5
|
2014-12-25 21:54:41 +01:00
|
|
|
PORTREVISION= 16
|
2006-01-23 19:05:05 +01:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= http://xhosxe.free.fr/glaxium/
|
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
|
2011-11-11 14:45:26 +01:00
|
|
|
MAINTAINER= makc@FreeBSD.org
|
2013-01-07 03:07:26 +01:00
|
|
|
COMMENT= OpenGL based space-ship "shoot-em-up" game
|
2006-01-23 19:05:05 +01:00
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS= libpng.so:graphics/png
|
2006-01-23 19:05:05 +01:00
|
|
|
|
2014-05-26 10:44:34 +02:00
|
|
|
USES= dos2unix gmake
|
2007-06-19 12:23:22 +02:00
|
|
|
USE_SDL= sdl mixer
|
|
|
|
USE_GL= glut
|
2006-01-23 19:05:05 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
ALL_TARGET= ${PORTNAME}
|
|
|
|
|
2014-05-26 10:44:34 +02:00
|
|
|
DOS2UNIX_FILES= variables.cpp scene.cpp
|
2010-02-22 22:23:39 +01:00
|
|
|
|
|
|
|
DESKTOP_ENTRIES= "Glaxium" \
|
|
|
|
"Space-ship \"shoot-em-up\" game" \
|
|
|
|
"${DATADIR}/textures/myship.png" \
|
|
|
|
"glaxium" \
|
|
|
|
"Game;ArcadeGame;" \
|
|
|
|
false
|
2007-07-25 11:31:31 +02:00
|
|
|
|
2006-01-23 19:05:05 +01:00
|
|
|
post-patch:
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g; \
|
2007-06-19 12:23:22 +02:00
|
|
|
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
|
|
|
|
|
2013-10-23 15:08:41 +02:00
|
|
|
post-install:
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
|
|
|
2007-06-19 12:23:22 +02:00
|
|
|
.include <bsd.port.mk>
|