diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2010-02-16 12:35:40 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2010-02-16 12:35:40 +0000 |
commit | fb12b96b42d5f9541f9c37e02d03846bdb517a4e (patch) | |
tree | ba4b9550dd2cc9cc2a3420d177d728ec10b5f42d /games | |
parent | Update to 2.3.4. (this is a bugfix release) (diff) |
- 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
Notes
Notes:
svn path=/head/; revision=249944
Diffstat (limited to 'games')
-rw-r--r-- | games/openttd/Makefile | 17 | ||||
-rw-r--r-- | games/openttd/distinfo | 6 | ||||
-rw-r--r-- | games/openttd/pkg-plist | 14 |
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%% |