aboutsummaryrefslogtreecommitdiff
path: root/games/openttd
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2005-05-16 13:45:58 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2005-05-16 13:45:58 +0000
commit67162605d47fc1d5f7dcf23c07c8f6dd561b18bd (patch)
treebca692013e03b4bca10f7f1cc965793bc11753f1 /games/openttd
parent5c4f5e84870af23076d6b741da097c674edd0aae (diff)
downloadports-67162605d47fc1d5f7dcf23c07c8f6dd561b18bd.tar.gz
ports-67162605d47fc1d5f7dcf23c07c8f6dd561b18bd.zip
Notes
Diffstat (limited to 'games/openttd')
-rw-r--r--games/openttd/Makefile4
-rw-r--r--games/openttd/distinfo4
-rw-r--r--games/openttd/files/patch-Makefile47
-rw-r--r--games/openttd/pkg-plist4
4 files changed, 8 insertions, 51 deletions
diff --git a/games/openttd/Makefile b/games/openttd/Makefile
index e701bbc04b74..3b6174da637f 100644
--- a/games/openttd/Makefile
+++ b/games/openttd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= openttd
-PORTVERSION= 0.3.6
+PORTVERSION= 0.4.0
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -14,7 +14,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= danfe@FreeBSD.org
COMMENT= An open source clone of Microprose Transport Tycoon Deluxe
-DISTVERSIONSUFFIX= -source
+DISTVERSIONSUFFIX= -src
LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png
diff --git a/games/openttd/distinfo b/games/openttd/distinfo
index acaa515509db..6c442b42a2c8 100644
--- a/games/openttd/distinfo
+++ b/games/openttd/distinfo
@@ -1,2 +1,2 @@
-MD5 (openttd-0.3.6-source.tar.gz) = 4127f17e45c5dd2e1720ebf2a96e7eac
-SIZE (openttd-0.3.6-source.tar.gz) = 2511895
+MD5 (openttd-0.4.0-src.tar.gz) = 2dfda64d1aa0f4b789fec9558906fb4e
+SIZE (openttd-0.4.0-src.tar.gz) = 2944631
diff --git a/games/openttd/files/patch-Makefile b/games/openttd/files/patch-Makefile
deleted file mode 100644
index 4a5583179262..000000000000
--- a/games/openttd/files/patch-Makefile
+++ /dev/null
@@ -1,47 +0,0 @@
---- Makefile.orig Fri Dec 24 07:40:45 2004
-+++ Makefile Thu Jan 13 17:50:56 2005
-@@ -232,8 +232,8 @@
- #
- # Compiler configuration
- #
--CC=gcc
--CXX=g++
-+CC?=gcc
-+CXX?=g++
-
- ifdef MORPHOS
- CC += -noixemul -pipe
-@@ -274,7 +274,7 @@
- BUILDDATE=`date +%d.%m.%y`
-
- # AMD64 needs a little more settings to work
--ifeq ($(shell uname -m), x86_64)
-+ifeq ($(shell uname -m), amd64)
- endwarnings:=endwarnings
- 64_bit_warnings:=64_bit_warnings
- BASECFLAGS += -m64
-@@ -371,11 +371,11 @@
- # SDL config
- ifdef WITH_SDL
- CDEFS += -DWITH_SDL
--CFLAGS += `$(SDL-CONFIG) --cflags`
-+CFLAGS += $(shell $(SDL-CONFIG) --cflags)
- ifdef STATIC
--LIBS += `$(SDL-CONFIG) --static-libs`
-+LIBS += $(shell $(SDL-CONFIG) --static-libs)
- else
--LIBS += `$(SDL-CONFIG) --libs`
-+LIBS += $(shell $(SDL-CONFIG) --libs)
- endif
- endif
-
-@@ -420,7 +420,8 @@
- CDEFS += -DWITH_PNG
- # FreeBSD doesn't use libpng-config
- ifdef FREEBSD
--LIBS += -lpng
-+LIBS += -lpng -L$(PREFIX)/lib
-+CFLAGS += -I$(PREFIX)/include/libpng
- else
- CFLAGS += `libpng-config --cflags`
-
diff --git a/games/openttd/pkg-plist b/games/openttd/pkg-plist
index b88ed0e7cba3..365c3778dcf4 100644
--- a/games/openttd/pkg-plist
+++ b/games/openttd/pkg-plist
@@ -1,12 +1,14 @@
bin/openttd
%%DATADIR%%/data/autorail.grf
%%DATADIR%%/data/canalsw.grf
+%%DATADIR%%/data/dosdummy.grf
%%DATADIR%%/data/openttd.grf
%%DATADIR%%/data/opntitle.dat
%%DATADIR%%/data/signalsw.grf
%%DATADIR%%/data/trkfoundw.grf
@dirrm %%DATADIR%%/data
%%DATADIR%%/lang/american.lng
+%%DATADIR%%/lang/brazilian_portuguese.lng
%%DATADIR%%/lang/catalan.lng
%%DATADIR%%/lang/czech.lng
%%DATADIR%%/lang/danish.lng
@@ -19,6 +21,8 @@ bin/openttd
%%DATADIR%%/lang/hungarian.lng
%%DATADIR%%/lang/icelandic.lng
%%DATADIR%%/lang/italian.lng
+%%DATADIR%%/lang/latvian.lng
+%%DATADIR%%/lang/lithuanian.lng
%%DATADIR%%/lang/norwegian.lng
%%DATADIR%%/lang/origveh.lng
%%DATADIR%%/lang/polish.lng