freebsd-ports/games/glaxium/Makefile
Martin Wilke 3e4ed01146 - 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 17:56:05 +00:00

42 lines
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= 4
CATEGORIES= games
MASTER_SITES= http://xhosxe.free.fr/glaxium/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= An OpenGL based space-ship "shoot-em-up" game
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
USE_GNOME= gnometarget
USE_SDL= sdl mixer
USE_GL= glut
USE_GMAKE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
GNU_CONFIGURE= yes
ALL_TARGET= ${PORTNAME}
MAN6= glaxium.6
USE_DOS2UNIX=variables.cpp scene.cpp
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>