aboutsummaryrefslogtreecommitdiffstats
path: root/games/openttd
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2010-02-16 20:35:40 +0800
committerdanfe <danfe@FreeBSD.org>2010-02-16 20:35:40 +0800
commit9d420352dddb0df77844654cc7ff17c8123ffdc3 (patch)
tree419666a8474f240ecdcd71318866cdeb990bbf3d /games/openttd
parent1ac811a8f1bd1cfda582a4c82a21d3440dfae734 (diff)
downloadfreebsd-ports-gnome-9d420352dddb0df77844654cc7ff17c8123ffdc3.tar.gz
freebsd-ports-gnome-9d420352dddb0df77844654cc7ff17c8123ffdc3.tar.zst
freebsd-ports-gnome-9d420352dddb0df77844654cc7ff17c8123ffdc3.zip
- Update to version 0.7.5
- Disable SF mirror since it does not carry new distfile - Utilize PORTDOCS macro and offload pkg-plist - Optimize away `.for .. .endfor' loop in Makefile Reminded by: pav Feature safe: yes
Diffstat (limited to 'games/openttd')
-rw-r--r--games/openttd/Makefile17
-rw-r--r--games/openttd/distinfo6
-rw-r--r--games/openttd/pkg-plist14
3 files changed, 11 insertions, 26 deletions
diff --git a/games/openttd/Makefile b/games/openttd/Makefile
index 2e73400ddafb..4ab987409d37 100644
--- a/games/openttd/Makefile
+++ b/games/openttd/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= openttd
-PORTVERSION= 0.7.3
+PORTVERSION= 0.7.5
CATEGORIES= games
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} \
- http://binaries.openttd.org/releases/${PORTVERSION}/
+MASTER_SITES= http://gb.binaries.openttd.org/binaries/releases/${PORTVERSION}/ \
+ #SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= danfe@FreeBSD.org
COMMENT= An open source clone of Microprose Transport Tycoon Deluxe
@@ -47,10 +47,11 @@ MAN6= openttd.6
DESKTOP_ENTRIES="OpenTTD" "${COMMENT}" "openttd" "openttd" \
"Game;Simulation;StrategyGame;" false
-DOCS= 32bpp.txt HOWTO_compile_lang_files.txt Manual.txt elrail.svg \
+PORTDOCS= 32bpp.txt HOWTO_compile_lang_files.txt Manual.txt elrail.svg \
elrail_tile.png elrail_track.png landscape.html \
landscape_externals.html landscape_grid.html multiplayer.txt \
- ottd-colour-palette.gif ottd-colourtext-palette.png tileh.png
+ obg_format.txt ottd-colour-palette.gif \
+ ottd-colourtext-palette.png tileh.png
pre-everything::
.if !defined(WITH_MIDI_PLAYER)
@@ -65,7 +66,7 @@ pre-everything::
post-patch:
# Remove extra (vendor) CFLAGS, we set our own
- @${REINPLACE_CMD} '1096,1097d' ${WRKSRC}/config.lib
+ @${REINPLACE_CMD} '1102,1103d' ${WRKSRC}/config.lib
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin
@@ -81,9 +82,7 @@ do-install:
.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-. for f in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR}
-. endfor
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/docs/,} ${DOCSDIR}
.endif
post-install:
diff --git a/games/openttd/distinfo b/games/openttd/distinfo
index 759c764fedc8..c48b4b198935 100644
--- a/games/openttd/distinfo
+++ b/games/openttd/distinfo
@@ -1,3 +1,3 @@
-MD5 (openttd-0.7.3-source.tar.bz2) = fe8a006b8bd94fd86a9d8c2a04fe7558
-SHA256 (openttd-0.7.3-source.tar.bz2) = eccfa15038c5f7991d2692cb190f34ba1fd9deaff8f181dd99145e41790fdbc3
-SIZE (openttd-0.7.3-source.tar.bz2) = 4876403
+MD5 (openttd-0.7.5-source.tar.bz2) = ceb7ab1f5d6ef5c54181949c232dd0ca
+SHA256 (openttd-0.7.5-source.tar.bz2) = 635dfcf83b43b2b808d65167a1b37601aee2b8bd873a8f57aa5fa9779e1156c3
+SIZE (openttd-0.7.5-source.tar.bz2) = 4891206
diff --git a/games/openttd/pkg-plist b/games/openttd/pkg-plist
index e2cf97389273..a46746f11e13 100644
--- a/games/openttd/pkg-plist
+++ b/games/openttd/pkg-plist
@@ -82,17 +82,3 @@ share/icons/hicolor/256x256/apps/openttd.png
@dirrmtry share/icons/hicolor/16x16
@dirrmtry share/icons/hicolor
@dirrmtry share/icons
-%%PORTDOCS%%%%DOCSDIR%%/32bpp.txt
-%%PORTDOCS%%%%DOCSDIR%%/HOWTO_compile_lang_files.txt
-%%PORTDOCS%%%%DOCSDIR%%/Manual.txt
-%%PORTDOCS%%%%DOCSDIR%%/elrail.svg
-%%PORTDOCS%%%%DOCSDIR%%/elrail_tile.png
-%%PORTDOCS%%%%DOCSDIR%%/elrail_track.png
-%%PORTDOCS%%%%DOCSDIR%%/landscape.html
-%%PORTDOCS%%%%DOCSDIR%%/landscape_externals.html
-%%PORTDOCS%%%%DOCSDIR%%/landscape_grid.html
-%%PORTDOCS%%%%DOCSDIR%%/multiplayer.txt
-%%PORTDOCS%%%%DOCSDIR%%/ottd-colour-palette.gif
-%%PORTDOCS%%%%DOCSDIR%%/ottd-colourtext-palette.png
-%%PORTDOCS%%%%DOCSDIR%%/tileh.png
-%%PORTDOCS%%@dirrm %%DOCSDIR%%