aboutsummaryrefslogtreecommitdiffstats
path: root/games/openttd
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2007-08-15 21:25:07 +0800
committerdanfe <danfe@FreeBSD.org>2007-08-15 21:25:07 +0800
commit2102bda19cda5020989e5dbe24b55be5fbd065bb (patch)
treed1b5a70616e1d708499b5bcf2ddd8cea43f88abd /games/openttd
parent51542f9e0b5267f35870f00c408597b8458d3ff5 (diff)
downloadfreebsd-ports-gnome-2102bda19cda5020989e5dbe24b55be5fbd065bb.tar.gz
freebsd-ports-gnome-2102bda19cda5020989e5dbe24b55be5fbd065bb.tar.zst
freebsd-ports-gnome-2102bda19cda5020989e5dbe24b55be5fbd065bb.zip
- Update to version 0.5.2 [1]
- Use PTHREAD_LIBS building dedicated server as well Based on PR: ports/114927 [1] Submitted by: Jan-Olof Lindqvist [1]
Diffstat (limited to 'games/openttd')
-rw-r--r--games/openttd/Makefile9
-rw-r--r--games/openttd/distinfo6
2 files changed, 8 insertions, 7 deletions
diff --git a/games/openttd/Makefile b/games/openttd/Makefile
index a98c0f0f7758..21035e0e896c 100644
--- a/games/openttd/Makefile
+++ b/games/openttd/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= openttd
-PORTVERSION= 0.5.0
-PORTREVISION= 1
+PORTVERSION= 0.5.2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -20,18 +19,20 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
USE_GMAKE= yes
DISTVERSIONSUFFIX= -source
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
.if defined(WITH_MIDI_PLAYER)
MAKE_ARGS+= MIDI=${WITH_MIDI_PLAYER}
.endif
.if defined(WITH_DEDICATED_SERVER_ONLY)
-MAKE_ARGS+= DEDICATED=1 PTHREAD_LIBS="${PTHREAD_LIBS}"
+MAKE_ARGS+= DEDICATED=1
.else
USE_SDL= sdl
.endif
MAKE_ARGS+= RELEASE=${PORTVERSION} DATA_DIR="share/openttd" \
- USE_HOMEDIR=1 PERSONAL_DIR=.openttd INSTALL=1 VERBOSE=1
+ USE_HOMEDIR=1 PERSONAL_DIR=.openttd INSTALL=1 VERBOSE=1 \
+ PTHREAD_LIBS="${PTHREAD_LIBS}"
SUB_FILES= pkg-message
diff --git a/games/openttd/distinfo b/games/openttd/distinfo
index 89672066c652..05a689ce713a 100644
--- a/games/openttd/distinfo
+++ b/games/openttd/distinfo
@@ -1,3 +1,3 @@
-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
+MD5 (openttd-0.5.2-source.tar.gz) = 13a91f65db9614798212487b2180966e
+SHA256 (openttd-0.5.2-source.tar.gz) = 12d5e4c17cc04d7d6926a87fd4bbcd74131b734edeafb77d92f36c1d14191b9e
+SIZE (openttd-0.5.2-source.tar.gz) = 4095499