[112288] trunk/dports/games/alienarena
ryandesign at macports.org
ryandesign at macports.org
Wed Oct 16 17:49:56 PDT 2013
Revision: 112288
https://trac.macports.org/changeset/112288
Author: ryandesign at macports.org
Date: 2013-10-16 17:49:56 -0700 (Wed, 16 Oct 2013)
Log Message:
-----------
alienarena: update to 7.66-20130827
Modified Paths:
--------------
trunk/dports/games/alienarena/Portfile
trunk/dports/games/alienarena/files/patch-Makefile.am.diff
trunk/dports/games/alienarena/files/patch-configure.ac.diff
Modified: trunk/dports/games/alienarena/Portfile
===================================================================
--- trunk/dports/games/alienarena/Portfile 2013-10-17 00:46:01 UTC (rev 112287)
+++ trunk/dports/games/alienarena/Portfile 2013-10-17 00:49:56 UTC (rev 112288)
@@ -4,8 +4,7 @@
PortSystem 1.0
name alienarena
-version 7.53-20111227
-revision 1
+version 7.66-20130827
set version_number [lindex [split ${version} -] 0]
set version_date [lindex [split ${version} -] 1]
categories games
@@ -30,13 +29,13 @@
homepage http://red.planetarena.org/
master_sites http://icculus.org/alienarena/Files/ \
- gentoo
+ ${homepage}files/
worksrcdir alienarena-${version_number}
distname ${worksrcdir}-linux${version_date}
-checksums rmd160 d0435e7b58bee8743264f042b2e42e0b5020ae43 \
- sha256 68bb1539c09cc572345ffc64a470dacbc27eb0074c76946694369fdb009c639f
+checksums rmd160 f3183b9ce90b52d7e01379cfcf004ce3249384a5 \
+ sha256 29086098eacb18319e6dcc9156355c44db4b1aa8a4f7b0bb63e6856d8128b012
platform darwin {
pre-fetch {
@@ -54,8 +53,8 @@
}
}
-if {${name} == ${subport}} {
- revision 1
+if {${name} eq ${subport}} {
+ revision 0
depends_build port:pkgconfig
@@ -63,7 +62,7 @@
port:freetype \
port:jpeg \
port:libvorbis \
- port:openal \
+ port:openal-soft \
port:mesa \
port:xorg-libX11 \
port:xorg-libXext \
@@ -77,6 +76,7 @@
${worksrcdir}/COPYING \
${worksrcdir}/Makefile.in \
${worksrcdir}/README \
+ ${worksrcdir}/alienarena.png \
${worksrcdir}/arena \
${worksrcdir}/botinfo \
${worksrcdir}/config \
@@ -98,11 +98,13 @@
--with-xf86dga \
--with-xf86vm
+ configure.cflags-append -std=gnu89
+
patchfiles patch-Makefile.am.diff \
patch-configure.ac.diff
post-patch {
- reinplace "s|@FRAMEWORKS_DIR@|${frameworks_dir}|g" ${worksrcpath}/configure.ac
+ reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/configure.ac
}
use_autoreconf yes
@@ -128,22 +130,23 @@
notes "
To play Alien Arena, type:
-crx
+${name}
To run your own dedicated Alien Arena server, use:
-crx-ded
+${name}-ded
"
livecheck.version ${version_number}
livecheck.type regex
livecheck.url ${homepage}aquire.html
- livecheck.regex {Alien Arena ([0-9.]+)}
+ livecheck.regex ${name}-(\[0-9.\]+)-linux\[0-9\]+${extract.suffix}
} else {
livecheck.type none
}
subport alienarena-data {
+ revision 0
license Restrictive
supported_archs noarch
@@ -154,7 +157,11 @@
extract.post_args-append ${worksrcdir}/data1
post-extract {
- eval delete [glob ${worksrcpath}/data1/*.cfg]
+ fs-traverse file ${worksrcpath}/data1 {
+ if {[file isfile ${file}] && [file extension ${file}] eq ".cfg"} {
+ delete ${file}
+ }
+ }
}
use_configure no
Modified: trunk/dports/games/alienarena/files/patch-Makefile.am.diff
===================================================================
--- trunk/dports/games/alienarena/files/patch-Makefile.am.diff 2013-10-17 00:46:01 UTC (rev 112287)
+++ trunk/dports/games/alienarena/files/patch-Makefile.am.diff 2013-10-17 00:49:56 UTC (rev 112288)
@@ -1,8 +1,7 @@
---- Makefile.am.orig 2011-03-05 18:34:07.000000000 -0600
-+++ Makefile.am 2012-01-04 03:24:33.000000000 -0600
-@@ -92,5 +92,4 @@
- #
- # game data for distribution package
- #
--include game_data.am
+--- Makefile.am.orig 2012-12-18 00:18:47.000000000 -0600
++++ Makefile.am 2013-02-08 11:09:34.000000000 -0600
+@@ -97,4 +97,3 @@
+ endif
+
+-include game_data.am
Modified: trunk/dports/games/alienarena/files/patch-configure.ac.diff
===================================================================
--- trunk/dports/games/alienarena/files/patch-configure.ac.diff 2013-10-17 00:46:01 UTC (rev 112287)
+++ trunk/dports/games/alienarena/files/patch-configure.ac.diff 2013-10-17 00:49:56 UTC (rev 112288)
@@ -1,6 +1,6 @@
---- configure.ac.orig 2011-12-26 23:05:14.000000000 -0600
-+++ configure.ac 2012-01-04 03:27:00.000000000 -0600
-@@ -88,7 +88,7 @@
+--- configure.ac.orig 2013-08-26 13:31:19.000000000 -0500
++++ configure.ac 2013-10-16 02:10:16.000000000 -0500
+@@ -94,7 +94,7 @@
#
# Environment variable for specifying libGL.dylib path for Darwin when it
# is not in the dlopen() search path. see dlopen (3) for Mac OS X.
@@ -9,7 +9,7 @@
# If this GL_LIBDIR is not given, use the shell variable x_libraries from
# the AC_PATH_X macro (which may be empty)
#
-@@ -436,7 +436,7 @@
+@@ -515,7 +515,7 @@
[AS_IF([ test x"${gl_dlopen_path}" = xdefault ],
[AC_DEFINE([OPENGL_DRIVER],
["libGL.dylib"],
@@ -18,13 +18,13 @@
],
[AC_DEFINE_UNQUOTED([OPENGL_DRIVER],
["${gl_dlopen_path}/libGL.dylib"],
-@@ -444,8 +444,8 @@
+@@ -523,8 +523,8 @@
])
AC_DEFINE([OPENAL_DRIVER],
- ["/System/Library/Frameworks/OpenAL.framework/OpenAL"],
- [OpenAl dynamic lib path])
-+ ["@FRAMEWORKS_DIR@/OpenAL.framework/OpenAL"],
++ ["@PREFIX@/lib/libopenal.dylib"],
+ [OpenAL dynamic lib path])
],
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131016/a1263172/attachment.html>
More information about the macports-changes
mailing list