aboutsummaryrefslogtreecommitdiff
path: root/games/xinvaders3d
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
commit3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 (patch)
treed573ea09b2bf6be67cb497df199932da9e2707c4 /games/xinvaders3d
parent40049f4af2200d0dcf33596508688623fc75f764 (diff)
downloadports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.tar.gz
ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.zip
Notes
Diffstat (limited to 'games/xinvaders3d')
-rw-r--r--games/xinvaders3d/Makefile7
-rw-r--r--games/xinvaders3d/files/patch-aa2
2 files changed, 4 insertions, 5 deletions
diff --git a/games/xinvaders3d/Makefile b/games/xinvaders3d/Makefile
index 18ae5c1913ef..28d688b78427 100644
--- a/games/xinvaders3d/Makefile
+++ b/games/xinvaders3d/Makefile
@@ -7,17 +7,16 @@
PORTNAME= xinvaders3d
PORTVERSION= 1.3.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SF
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
MAINTAINER= ports@FreeBSD.org
COMMENT= 3D Vector-graphics Space Invaders clone for X
+USE_XORG= x11
PLIST_FILES= bin/xinv3d
-USE_X_PREFIX= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
do-install:
diff --git a/games/xinvaders3d/files/patch-aa b/games/xinvaders3d/files/patch-aa
index 659bb4a4d1d8..a09d750624cb 100644
--- a/games/xinvaders3d/files/patch-aa
+++ b/games/xinvaders3d/files/patch-aa
@@ -6,7 +6,7 @@
-CC = gcc
-XLIB = -L/usr/X11R6/lib -I/usr/X11R6/include
+CC?= gcc
-+XLIB = -L$(X11BASE)/lib -I$(X11BASE)/include
++XLIB = -L$(LOCALBASE)/lib -I$(LOCALBASE)/include
LIBS = -lm -lX11
OBJS = game.o aliens.o player.o effects.o \
object.o camera.o main-x11.o vec4x1.o mat4x4.o