aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorjmelo <jmelo@FreeBSD.org>2006-12-05 23:09:22 +0800
committerjmelo <jmelo@FreeBSD.org>2006-12-05 23:09:22 +0800
commita4634b022ea530e3a1e988a5c00daa2093536f5d (patch)
tree86346f39d50302260602c61bd221af61ccc16bea /games
parentb1534f95f30bd13c4e7275266071b36b51647555 (diff)
downloadfreebsd-ports-gnome-a4634b022ea530e3a1e988a5c00daa2093536f5d.tar.gz
freebsd-ports-gnome-a4634b022ea530e3a1e988a5c00daa2093536f5d.tar.zst
freebsd-ports-gnome-a4634b022ea530e3a1e988a5c00daa2093536f5d.zip
- Update mastersite.
- honor X11BASE. PR: ports/105916 Submitted by: Andriy Gapon <avg@icyb.net.ua> (maintainer)
Diffstat (limited to 'games')
-rw-r--r--games/oolite/Makefile22
-rw-r--r--games/oolite/files/patch-makefile7
2 files changed, 15 insertions, 14 deletions
diff --git a/games/oolite/Makefile b/games/oolite/Makefile
index f0aae328c74c..8592f5e9bcf5 100644
--- a/games/oolite/Makefile
+++ b/games/oolite/Makefile
@@ -5,18 +5,18 @@
# $FreeBSD$
#
-PORTNAME= oolite
-PORTVERSION= 1.65
-PORTREVISION= 1
-CATEGORIES= games
-MASTER_SITES= http://download.berlios.de/oolite-linux/ \
- http://download2.berlios.de/oolite-linux/ \
- ftp://ftp.alioth.net/oolite/
-DISTFILES= ${PORTNAME}-${PORTVERSION}-src${EXTRACT_SUFX} \
- ${PORTNAME}-${PORTVERSION}-data${EXTRACT_SUFX}
+PORTNAME= oolite
+PORTVERSION= 1.65
+PORTREVISION= 1
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_BERLIOS} \
+ ftp://ftp.alioth.net/%SUBDIR%/:alioth
+MASTER_SITE_SUBDIR= oolite-linux oolite/:alioth
+DISTFILES= ${PORTNAME}-${PORTVERSION}-src${EXTRACT_SUFX}:DEFAULT,alioth \
+ ${PORTNAME}-${PORTVERSION}-data${EXTRACT_SUFX}:DEFAULT,alioth
-MAINTAINER= avg@icyb.net.ua
-COMMENT= Trade and combat space simulator, clone of Elite
+MAINTAINER= avg@icyb.net.ua
+COMMENT= Trade and combat space simulator, clone of Elite
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src
USE_SDL= mixer image gfx
diff --git a/games/oolite/files/patch-makefile b/games/oolite/files/patch-makefile
index 33c51d889892..2c0d06d39473 100644
--- a/games/oolite/files/patch-makefile
+++ b/games/oolite/files/patch-makefile
@@ -16,9 +16,10 @@
- ADDITIONAL_OBJC_LIBS = -lGLU -lGL -lSDL -lpthread -lSDL_mixer -lSDL_image -lgnustep-base
- ADDITIONAL_CFLAGS = -DLINUX -DNEED_STRLCPY `sdl-config --cflags`
- ADDITIONAL_OBJCFLAGS = -DLOADSAVEGUI -DLINUX -DHAVE_SOUND -Wno-import `sdl-config --cflags`
+- oolite_LIB_DIRS += -L/usr/X11R6/lib/
+ ADDITIONAL_OBJC_LIBS = -lGLU -lGL -lSDL_mixer -lSDL_image -lSDL_gfx -lgnustep-base `sdl-config --libs`
-+ ADDITIONAL_CFLAGS = -I/usr/X11R6/include -DLINUX `sdl-config --cflags`
-+ ADDITIONAL_OBJCFLAGS = -I/usr/X11R6/include -DLOADSAVEGUI -DLINUX -DHAVE_SOUND -Wno-import `sdl-config --cflags`
- oolite_LIB_DIRS += -L/usr/X11R6/lib/
++ ADDITIONAL_CFLAGS = -I${X11BASE}/include -DLINUX `sdl-config --cflags`
++ ADDITIONAL_OBJCFLAGS = -I${X11BASE}/include -DLOADSAVEGUI -DLINUX -DHAVE_SOUND -Wno-import `sdl-config --cflags`
++ oolite_LIB_DIRS += -L${X11BASE}/lib/
endif
OBJC_PROGRAM_NAME = oolite