misc/153884: [patch] update opengfx to 0.3.2
Ilya A. Arhipov
micro at heavennet.ru
Tue Jan 11 08:00:21 UTC 2011
>Number: 153884
>Category: misc
>Synopsis: [patch] update opengfx to 0.3.2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Jan 11 08:00:19 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Ilya A. Arhipov
>Release: FreeBSD 9.0-CURRENT
>Organization:
>Environment:
FreeBSD micro 9.0-CURRENT FreeBSD 9.0-CURRENT #2 r216383M: Sun Dec 12 02:58:14 MSK 2010 root at micro:/usr/obj/usr/src/head/sys/MICROKERNEL amd64
>Description:
Update opengfx to 0.3.2
Change MASTER_SITES
Fix install directory
>How-To-Repeat:
>Fix:
see attach
Patch attached with submission follows:
diff -Nru opengfx_old/Makefile opengfx/Makefile
--- opengfx_old/Makefile 2010-11-04 22:17:39.000000000 +0300
+++ opengfx/Makefile 2011-01-11 10:08:08.100122826 +0300
@@ -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 at heavennet.ru
@@ -18,12 +19,9 @@
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 -Nru opengfx_old/distinfo opengfx/distinfo
--- opengfx_old/distinfo 2010-11-04 22:17:39.000000000 +0300
+++ opengfx/distinfo 2011-01-11 05:10:00.000000000 +0300
@@ -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 -Nru opengfx_old/pkg-plist opengfx/pkg-plist
--- opengfx_old/pkg-plist 2010-11-04 22:17:39.000000000 +0300
+++ opengfx/pkg-plist 2011-01-11 05:10:00.000000000 +0300
@@ -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
+ at dirrmtry share/openttd/data/opengfx
@dirrmtry share/openttd/data
@dirrmtry share/openttd
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list