[28599] trunk/dports/audio/libsdl_mixer/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Tue Sep 4 06:42:39 PDT 2007
Revision: 28599
http://trac.macosforge.org/projects/macports/changeset/28599
Author: nox at macports.org
Date: 2007-09-04 06:42:39 -0700 (Tue, 04 Sep 2007)
Log Message:
-----------
libsdl_mixer:
* Updated to 1.2.8.
* Added doc installation.
* Added md5 and rmd160 checksums.
* Removed harcoded gcc as it does build with gcc 3.3.
* Taken over.
Modified Paths:
--------------
trunk/dports/audio/libsdl_mixer/Portfile
Modified: trunk/dports/audio/libsdl_mixer/Portfile
===================================================================
--- trunk/dports/audio/libsdl_mixer/Portfile 2007-09-04 09:57:46 UTC (rev 28598)
+++ trunk/dports/audio/libsdl_mixer/Portfile 2007-09-04 13:42:39 UTC (rev 28599)
@@ -1,40 +1,48 @@
# $Id$
-PortSystem 1.0
+PortSystem 1.0
+
name libsdl_mixer
-version 1.2.7
+set my_name SDL_mixer
+version 1.2.8
categories audio devel
-maintainers nomaintainer at macports.org
+platforms macosx
+maintainers nox
description Audio mixer library for SDL
+
long_description \
A sample multi-channel audio mixer library. It supports any number of \
simultaneously playing channels of 16 bit stereo audio, plus a single \
channel of music.
-platforms macosx
-homepage http://www.libsdl.org/projects/SDL_mixer/
-master_sites ${homepage}release/
-distname SDL_mixer-${version}
+homepage http://www.libsdl.org/projects/${my_name}/
+master_sites ${homepage}release/
+distname ${my_name}-${version}
-checksums sha1 42b351360ea9debb2bec23e7e67ba355ec3762a9
+checksums md5 0b5b91015d0f3bd9597e094ba67c4d65 \
+ sha1 7fa56d378f9ca53434f9470aeb2997ad84a348c6 \
+ rmd160 f2188b907aa779bb81415ac6726ad7f496357b85
-depends_lib port:libsdl port:smpeg port:libvorbis port:libogg port:libmikmod
+depends_lib port:libsdl port:smpeg port:libvorbis port:libogg
-configure.cflags-append "-no-cpp-precomp -I${prefix}/include"
-configure.args --with-sdl-prefix=${prefix} --disable-sdltest \
- --enable-music-mp3 --with-smpeg-prefix=${prefix} --enable-music-ogg \
- --enable-music-libmikmod
+configure.args --with-sdl-prefix=${prefix} \
+ --disable-sdltest \
+ --with-smpeg-prefix=${prefix} \
+ --disable-smpegtest
-post-destroot {
- xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${name}
+post-destroot {
+ set docdir ${prefix}/share/doc/${name}-${version}
+ xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} CHANGES COPYING README \
- ${destroot}${prefix}/share/doc/${name}
+ ${destroot}${docdir}
}
-platform darwin 6 {
- depends_lib-append lib:libdl:dlcompat
+variant mikmod description {Enable use of external libmikmod} {
+ configure.args-append --enable-music-libmikmod
+ depends_lib-append port:libmikmod
}
-platform darwin 8 {
- configure.compiler gcc-4.0
-}
+livecheck.check regex
+livecheck.url ${homepage}
+livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070904/15165465/attachment.html
More information about the macports-changes
mailing list