freebsd-ports/games/glaxium/Makefile
Stanislav Sedov 0d2725682b - Update devel/sdl12 to version 1.2.11. Now we employ stock SDL directory
structure (i.e. include/SDL for includes and sdl-config for configuration
   binary)
 - Update graphics/sdl_ttf to version 2.0.8
 - Update graphics/sdl_image to version 1.2.5
 - Update audio/sdl_mixer to version 1.2.7
 - Update net/sdl_net to version 1.2.6
 - Update Mk/bsd.sdl.mk accordingly
 - Fix dependent ports to fit the new directory structure and avoid several
   API breakages
 - Bump up portrevisions for all dependent ports to allow them to be upgraded
   by portupgrade/portmaster etc tools

Approved by:    kris (portmgr), sem (mentor)
2006-09-20 11:21:59 +00:00

38 lines
887 B
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= 1
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
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
.include <bsd.port.mk>