1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Update mastersite.

- honor X11BASE.

PR:		ports/105916
Submitted by:	Andriy Gapon <avg@icyb.net.ua> (maintainer)
This commit is contained in:
Jean Milanez Melo 2006-12-05 15:09:22 +00:00
parent 1e1270e13e
commit 75bfbac4f5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=178944
2 changed files with 15 additions and 14 deletions

View File

@ -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

View File

@ -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