aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2005-05-16 21:45:58 +0800
committerosa <osa@FreeBSD.org>2005-05-16 21:45:58 +0800
commit686e95744b8202434a81f9f70f9747c004489446 (patch)
treea31e321c1d6bde304eade5d318830eebc7326f51 /games
parenta227ba3eaecf7c58e11f4f0a2b65c653a66cea67 (diff)
downloadfreebsd-ports-gnome-686e95744b8202434a81f9f70f9747c004489446.tar.gz
freebsd-ports-gnome-686e95744b8202434a81f9f70f9747c004489446.tar.zst
freebsd-ports-gnome-686e95744b8202434a81f9f70f9747c004489446.zip
Update to 0.4.0.
Add new language-files to package list, remove needless patch for Makefile. Approved by: danfe (maintainer)
Diffstat (limited to 'games')
-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