diff options
author | Jean Milanez Melo <jmelo@FreeBSD.org> | 2006-12-05 15:09:22 +0000 |
---|---|---|
committer | Jean Milanez Melo <jmelo@FreeBSD.org> | 2006-12-05 15:09:22 +0000 |
commit | 75bfbac4f5cc8b7489a13d98306169adcef74f46 (patch) | |
tree | 39f760f57f5a2170874e9640316aeb5bef6df9d5 /games | |
parent | - Update mastersite. (diff) |
- Update mastersite.
- honor X11BASE.
PR: ports/105916
Submitted by: Andriy Gapon <avg@icyb.net.ua> (maintainer)
Notes
Notes:
svn path=/head/; revision=178944
Diffstat (limited to 'games')
-rw-r--r-- | games/oolite/Makefile | 22 | ||||
-rw-r--r-- | games/oolite/files/patch-makefile | 7 |
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 |