[27722] trunk/dports/devel/libsdl/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Sun Aug 12 15:45:15 PDT 2007
Revision: 27722
http://trac.macosforge.org/projects/macports/changeset/27722
Author: nox at macports.org
Date: 2007-08-12 15:45:14 -0700 (Sun, 12 Aug 2007)
Log Message:
-----------
libsdl:
* Removed CC CCP CXX env variables.
* Added livecheck.
Modified Paths:
--------------
trunk/dports/devel/libsdl/Portfile
Modified: trunk/dports/devel/libsdl/Portfile
===================================================================
--- trunk/dports/devel/libsdl/Portfile 2007-08-12 21:45:34 UTC (rev 27721)
+++ trunk/dports/devel/libsdl/Portfile 2007-08-12 22:45:14 UTC (rev 27722)
@@ -2,6 +2,7 @@
PortSystem 1.0
name libsdl
+set my_name SDL
version 1.2.12
categories devel multimedia
maintainers nox openmaintainer
@@ -17,7 +18,7 @@
platforms macosx freebsd
homepage http://www.libsdl.org/
master_sites ${homepage}release/
-distname SDL-${version}
+distname ${my_name}-${version}
checksums md5 544b4554986e51eed6d34435cf9c5f3f \
sha1 2c37ff1683368369c0f555d4a742f0544153610d \
rmd160 3871023c63ea056eba43ce4f55ee8d3a73ff3022
@@ -78,12 +79,12 @@
post-patch {
reinplace -E {/archivecmds=/s/CC/CXX/} ${worksrcpath}/configure
}
-
- configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
- build.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
}
platform darwin 9 {
patchfiles-append patch-AudioFilePlayer.h patch-SDL_coreaudio.c
}
+livecheck.check regex
+livecheck.url ${homepage}download.php
+livecheck.regex "${my_name}-(\\d+(?:\\.\\d+)*)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070812/03cc4a1a/attachment.html
More information about the macports-changes
mailing list