diff --git a/games/opengfx/Makefile b/games/opengfx/Makefile index e214bd85d2e3..0babdc57b931 100644 --- a/games/opengfx/Makefile +++ b/games/opengfx/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= opengfx -PORTVERSION= 0.4.7 +PORTVERSION= 0.5.0 CATEGORIES= games MASTER_SITES= http://hu.binaries.openttd.org/binaries/extra/${PORTNAME}/${PORTVERSION}/ \ http://us.binaries.openttd.org/binaries/extra/${PORTNAME}/${PORTVERSION}/ \ @@ -18,6 +18,10 @@ USES= zip NO_BUILD= yes LATEST_LINK= openttd-${PORTNAME} +# upstream zipped a tar file, unpack it. +post-extract: + @cd ${WRKDIR} && tar -xf ${PORTNAME}-${PORTVERSION}.tar + do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/openttd/baseset/opengfx ${INSTALL_DATA} ${WRKDIR}/opengfx-${PORTVERSION}/* \ diff --git a/games/opengfx/distinfo b/games/opengfx/distinfo index c7efaaa65a3d..a2793bf45333 100644 --- a/games/opengfx/distinfo +++ b/games/opengfx/distinfo @@ -1,2 +1,2 @@ -SHA256 (opengfx-0.4.7-all.zip) = 10032c683f98b4d378c0651118a4858ae6d3f0a5059302dc3f96bfbfcdc67241 -SIZE (opengfx-0.4.7-all.zip) = 3471843 +SHA256 (opengfx-0.5.0-all.zip) = 440cd0ad40f17c180bf1a339fad5a06c9cdc0a4e680dd1f8d5e4aa720d4b531a +SIZE (opengfx-0.5.0-all.zip) = 3468612