freebsd-ports/games/glaxium/Makefile

44 lines
984 B
Makefile
Raw Normal View History

# 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= 2
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= glut.4:${PORTSDIR}/graphics/libglut \
png.5:${PORTSDIR}/graphics/png
USE_GMAKE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
GNU_CONFIGURE= yes
USE_GL= yes
USE_SDL= sdl mixer
ALL_TARGET= ${PORTNAME}
MAN6= glaxium.6
2007-05-26 23:03:31 -04:00
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
BROKEN= Broken with gcc 4.2
.endif
post-patch:
@${REINPLACE_CMD} -i '' -e 's|/usr/X11R6|${X11BASE}|g; \
s|\$datadir/games/glaxium|\$datadir/glaxium|g' \
${WRKSRC}/configure
@${REINPLACE_CMD} -i '' -e 's|%%X11BASE%%|${X11BASE}|g' \
${WRKSRC}/Makefile.in
2007-05-26 23:03:31 -04:00
.include <bsd.port.post.mk>