1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

Update to new shiny version 0.5.0.

We have a new fast, robust and flexible pathfinder, a brandnew terrain
generator, full UNICODE support and better multiplayer.  NewGRF
compatibility (modding) has been greatly enhanced with support for changing
stations, adding sounds, more vehicle sets, etc.

The smaller feature- and buglist goes on and on, but we'll let the user
explore this.  All users of 0.4.8 are encouraged to update to this new
release.  Enjoy!
This commit is contained in:
Alexey Dokuchaev 2007-03-01 12:30:45 +00:00
parent 8304fa36e5
commit 943863aae8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=186294
5 changed files with 38 additions and 34 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= openttd
PORTVERSION= 0.4.8
PORTREVISION= 2
PORTVERSION= 0.5.0
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -19,11 +18,13 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
USE_GMAKE= yes
DISTVERSIONSUFFIX= -source
.if defined(WITH_MIDI_PLAYER)
MAKE_ARGS+= MIDI=${WITH_MIDI_PLAYER}
.endif
.if defined(WITH_DEDICATED_SERVER_ONLY)
MAKE_ARGS+= DEDICATED=1
MAKE_ARGS+= DEDICATED=1 PTHREAD_LIBS="${PTHREAD_LIBS}"
.else
USE_SDL= sdl
.endif
@ -31,15 +32,17 @@ USE_SDL= sdl
MAKE_ARGS+= RELEASE=${PORTVERSION} DATA_DIR="share/openttd" \
USE_HOMEDIR=1 PERSONAL_DIR=.openttd INSTALL=1 VERBOSE=1
DISTVERSIONSUFFIX= -source
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
SUB_FILES= pkg-message
MAN6= openttd.6
DESKTOP_ENTRIES="OpenTTD" "${COMMENT}" "" "openttd" "" false
DOCS= HOWTO_compile_lang_files.txt Howto_compile_lng_files_from_CLI.txt \
Manual.txt elrail.svg elrail_tile.png elrail_track.png \
landscape.html landscape_grid.html multiplayer.txt \
ottd-colour-palette.gif ottd-colourtext-palette.png tileh.png
pre-everything::
.if !defined(WITH_MIDI_PLAYER)
@${ECHO_MSG} "Define WITH_MIDI_PLAYER=/path/to/player to build with external MIDI player"
@ -61,9 +64,7 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/docs/${MAN6} ${MANPREFIX}/man/man6
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
. for f in Howto_compile_lng_files_from_CLI.txt Manual.txt console.txt \
landscape.html landscape_grid.html multiplayer.txt \
ottd-colour-palette.gif ottd-colourtext-palette.png tileh.png
. for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR}
. endfor
.endif

View File

@ -1,3 +1,3 @@
MD5 (openttd-0.4.8-source.tar.gz) = 9427166fef866b2c8b0c03b5140d0b02
SHA256 (openttd-0.4.8-source.tar.gz) = 3222591ada73032ac4252aa04aed6e4017885fcb1153a799472ba6437277a88e
SIZE (openttd-0.4.8-source.tar.gz) = 2877075
MD5 (openttd-0.5.0-source.tar.gz) = caae893dc0310454e61503f605052719
SHA256 (openttd-0.5.0-source.tar.gz) = 27420905a6885d1cde31f78d04d9164fa95ca6d39dfa26c91f1156c8969fa32c
SIZE (openttd-0.5.0-source.tar.gz) = 4093144

View File

@ -1,6 +1,6 @@
--- Makefile.orig Mon Mar 27 02:32:00 2006
+++ Makefile Fri Jun 16 04:30:11 2006
@@ -240,7 +240,7 @@
@@ -213,7 +213,7 @@
ifndef WIN32
ifndef MORPHOS
ifndef OSX
@ -9,16 +9,16 @@
endif
endif
endif
@@ -297,7 +297,7 @@
@@ -319,7 +319,7 @@
# GNU make can only test for (in)equality
# this is a workaround to test for >=
ifeq ($(shell expr $(CC_VERSION) \>= 29), 1)
- CFLAGS += -O -Wall -Wno-multichar -Wsign-compare -Wstrict-prototypes -Wundef
+ CFLAGS += -Wall -Wno-multichar -Wsign-compare -Wstrict-prototypes -Wundef
- CFLAGS += -O -Wall -Wno-multichar -Wsign-compare -Wundef
+ CFLAGS += -Wall -Wno-multichar -Wsign-compare -Wundef
CC_CFLAGS += -Wstrict-prototypes
CFLAGS += -Wwrite-strings -Wpointer-arith
endif
ifeq ($(shell expr $(CC_VERSION) \>= 30), 1)
@@ -350,8 +350,6 @@
@@ -377,8 +377,6 @@
ifdef MORPHOS
BASECFLAGS += -I/gg/os-include -O2 -noixemul -fstrict-aliasing -fexpensive-optimizations
BASECFLAGS += -mcpu=604 -fno-inline -mstring -mmultiple

View File

@ -1,14 +0,0 @@
--- makefiledir/Makefile.libdetection.orig Tue Sep 12 17:21:19 2006
+++ makefiledir/Makefile.libdetection Tue Sep 12 17:22:35 2006
@@ -51,11 +51,7 @@
endif
# FreeBSD uses sdl11 instead of sdl
-ifdef FREEBSD
-SDL_CONFIG:=sdl11-config
-else
SDL_CONFIG:=sdl-config
-endif
# set libpng-config to the default value
LIBPNG_CONFIG :=libpng-config

View File

@ -1,7 +1,10 @@
bin/openttd
%%DATADIR%%/data/2ccmap.grf
%%DATADIR%%/data/airports.grf
%%DATADIR%%/data/autorail.grf
%%DATADIR%%/data/canalsw.grf
%%DATADIR%%/data/dosdummy.grf
%%DATADIR%%/data/elrailsw.grf
%%DATADIR%%/data/nsignalsw.grf
%%DATADIR%%/data/openttd.grf
%%DATADIR%%/data/opntitle.dat
@ -9,11 +12,13 @@ bin/openttd
@dirrm %%DATADIR%%/data
%%DATADIR%%/lang/american.lng
%%DATADIR%%/lang/brazilian_portuguese.lng
%%DATADIR%%/lang/bulgarian.lng
%%DATADIR%%/lang/catalan.lng
%%DATADIR%%/lang/czech.lng
%%DATADIR%%/lang/danish.lng
%%DATADIR%%/lang/dutch.lng
%%DATADIR%%/lang/english.lng
%%DATADIR%%/lang/esperanto.lng
%%DATADIR%%/lang/estonian.lng
%%DATADIR%%/lang/finnish.lng
%%DATADIR%%/lang/french.lng
@ -22,20 +27,32 @@ bin/openttd
%%DATADIR%%/lang/hungarian.lng
%%DATADIR%%/lang/icelandic.lng
%%DATADIR%%/lang/italian.lng
%%DATADIR%%/lang/norwegian.lng
%%DATADIR%%/lang/japanese.lng
%%DATADIR%%/lang/korean.lng
%%DATADIR%%/lang/lithuanian.lng
%%DATADIR%%/lang/norwegian_bokmal.lng
%%DATADIR%%/lang/norwegian_nynorsk.lng
%%DATADIR%%/lang/origveh.lng
%%DATADIR%%/lang/polish.lng
%%DATADIR%%/lang/portuguese.lng
%%DATADIR%%/lang/romanian.lng
%%DATADIR%%/lang/russian.lng
%%DATADIR%%/lang/simplified_chinese.lng
%%DATADIR%%/lang/slovak.lng
%%DATADIR%%/lang/slovenian.lng
%%DATADIR%%/lang/spanish.lng
%%DATADIR%%/lang/swedish.lng
%%DATADIR%%/lang/traditional_chinese.lng
%%DATADIR%%/lang/turkish.lng
%%DATADIR%%/lang/ukrainian.lng
@dirrm %%DATADIR%%/lang
@dirrm %%DATADIR%%
%%PORTDOCS%%%%DOCSDIR%%/HOWTO_compile_lang_files.txt
%%PORTDOCS%%%%DOCSDIR%%/Howto_compile_lng_files_from_CLI.txt
%%PORTDOCS%%%%DOCSDIR%%/Manual.txt
%%PORTDOCS%%%%DOCSDIR%%/console.txt
%%PORTDOCS%%%%DOCSDIR%%/elrail.svg
%%PORTDOCS%%%%DOCSDIR%%/elrail_tile.png
%%PORTDOCS%%%%DOCSDIR%%/elrail_track.png
%%PORTDOCS%%%%DOCSDIR%%/landscape.html
%%PORTDOCS%%%%DOCSDIR%%/landscape_grid.html
%%PORTDOCS%%%%DOCSDIR%%/multiplayer.txt