aboutsummaryrefslogtreecommitdiff
path: root/games/opengfx
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-01-11 10:21:35 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-01-11 10:21:35 +0000
commit0762f52e05145b9c25cbaf5dc724abcdb6cd807d (patch)
tree75ab4acd4f40168622588e369fb8783bbdfaac85 /games/opengfx
parent2d3abf4a2828ed15b915c418a0cf28b6f467aa6c (diff)
downloadports-0762f52e05145b9c25cbaf5dc724abcdb6cd807d.tar.gz
ports-0762f52e05145b9c25cbaf5dc724abcdb6cd807d.zip
Notes
Diffstat (limited to 'games/opengfx')
-rw-r--r--games/opengfx/Makefile14
-rw-r--r--games/opengfx/distinfo4
-rw-r--r--games/opengfx/pkg-plist21
3 files changed, 19 insertions, 20 deletions
diff --git a/games/opengfx/Makefile b/games/opengfx/Makefile
index 7c7c5661051a..bc81801709c7 100644
--- a/games/opengfx/Makefile
+++ b/games/opengfx/Makefile
@@ -6,10 +6,11 @@
#
PORTNAME= opengfx
-PORTVERSION= 0.3.1
+PORTVERSION= 0.3.2
CATEGORIES= games
-MASTER_SITES= http://ftp.snt.utwente.nl/pub/games/openttd/binaries/extra/opengfx/${PORTVERSION}/ \
- http://gb.binaries.openttd.org/binaries/extra/opengfx/${PORTVERSION}/
+MASTER_SITES= http://gb.binaries.openttd.org/binaries/extra/${PORTNAME}/${PORTVERSION}/ \
+ http://de.binaries.openttd.org/binaries/extra/${PORTNAME}/${PORTVERSION}/ \
+ http://cz.binaries.openttd.org/openttd/binaries/extra/${PORTNAME}/${PORTVERSION}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-all
MAINTAINER= micro@heavennet.ru
@@ -18,12 +19,9 @@ COMMENT= Free alternative graphics for OpenTTD game engine
USE_ZIP= yes
NO_BUILD= yes
-post-extract:
- @${FIND} ${WRKDIR}/opengfx-${PORTVERSION} -type f -name "*.txt" -exec ${MV} {} {}-gfx \;
-
do-install:
- ${MKDIR} ${PREFIX}/share/openttd/data
+ ${MKDIR} ${PREFIX}/share/openttd/data/opengfx/
${INSTALL_DATA} ${WRKDIR}/opengfx-${PORTVERSION}/* \
- ${PREFIX}/share/openttd/data
+ ${PREFIX}/share/openttd/data/opengfx/
.include <bsd.port.mk>
diff --git a/games/opengfx/distinfo b/games/opengfx/distinfo
index 87309820d5c4..8cd72949cace 100644
--- a/games/opengfx/distinfo
+++ b/games/opengfx/distinfo
@@ -1,2 +1,2 @@
-SHA256 (opengfx-0.3.1-all.zip) = 16be83cd0fc59ba8f1a8b3f3ebe26e6c0df325ca7593976de74e073c5d1ee39b
-SIZE (opengfx-0.3.1-all.zip) = 3387182
+SHA256 (opengfx-0.3.2-all.zip) = e9f94bb0799e9a8d9bf6451da353434086f027fe0dfb7c01d205f739467fafdb
+SIZE (opengfx-0.3.2-all.zip) = 3384254
diff --git a/games/opengfx/pkg-plist b/games/opengfx/pkg-plist
index b1452b84f8e2..7f9e1e46c21d 100644
--- a/games/opengfx/pkg-plist
+++ b/games/opengfx/pkg-plist
@@ -1,12 +1,13 @@
-share/openttd/data/changelog.txt-gfx
-share/openttd/data/license.txt-gfx
-share/openttd/data/ogfx1_base.grf
-share/openttd/data/ogfxc_arctic.grf
-share/openttd/data/ogfxe_extra.grf
-share/openttd/data/ogfxh_tropical.grf
-share/openttd/data/ogfxi_logos.grf
-share/openttd/data/ogfxt_toyland.grf
-share/openttd/data/opengfx.obg
-share/openttd/data/readme.txt-gfx
+share/openttd/data/opengfx/changelog.txt
+share/openttd/data/opengfx/license.txt
+share/openttd/data/opengfx/ogfx1_base.grf
+share/openttd/data/opengfx/ogfxc_arctic.grf
+share/openttd/data/opengfx/ogfxe_extra.grf
+share/openttd/data/opengfx/ogfxh_tropical.grf
+share/openttd/data/opengfx/ogfxi_logos.grf
+share/openttd/data/opengfx/ogfxt_toyland.grf
+share/openttd/data/opengfx/opengfx.obg
+share/openttd/data/opengfx/readme.txt
+@dirrmtry share/openttd/data/opengfx
@dirrmtry share/openttd/data
@dirrmtry share/openttd