[27633] trunk/dports/devel/libsdl_image/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Fri Aug 10 17:47:50 PDT 2007


Revision: 27633
          http://trac.macosforge.org/projects/macports/changeset/27633
Author:   nox at macports.org
Date:     2007-08-10 17:47:49 -0700 (Fri, 10 Aug 2007)

Log Message:
-----------
libsdl_image:
 * Updated to version 1.2.6.
 * Added sha1 and rmd160 checksums.
 * Added livecheck.

Modified Paths:
--------------
    trunk/dports/devel/libsdl_image/Portfile

Modified: trunk/dports/devel/libsdl_image/Portfile
===================================================================
--- trunk/dports/devel/libsdl_image/Portfile	2007-08-11 00:39:36 UTC (rev 27632)
+++ trunk/dports/devel/libsdl_image/Portfile	2007-08-11 00:47:49 UTC (rev 27633)
@@ -2,37 +2,35 @@
 
 PortSystem 1.0
 name			libsdl_image
-version			1.2.5
-revision		1
+set my_name		SDL_image
+version			1.2.6
 categories		devel graphics
-maintainers		nomaintainer at macports.org
+maintainers		nox openmaintainer
 description		Add on library for libSDL handling several image formats
+
 long_description	This is a simple library to load images of various \
 			formats as SDL surfaces. This library supports BMP, \
 			PPM, PCX, GIF, JPEG, PNG, TGA, and TIFF formats.
+
 platforms		macosx
-master_sites		http://www.libsdl.org/projects/SDL_image/release/
-homepage        	http://www.libsdl.org/
-distname		SDL_image-${version}
-checksums		md5 cd006109a73bf7dcc93e1c3ed15ee782
+homepage		http://www.libsdl.org/projects/SDL_image/
+master_sites	${homepage}release/
+distname		${my_name}-${version}
+
+checksums		md5 b866dc4f647517bdaf57f6ffdefd013e \
+				sha1 5045df31e4db29d8890110fd18024c9d08efca30 \
+				rmd160 8aea5f07216eb887f599c0908f8ea2c2f9eeac93
+
 depends_lib		port:libsdl port:libpng port:jpeg port:tiff port:zlib
 
-configure.env	CFLAGS="-I${prefix}/include" \
-				LDFLAGS="-L${prefix}/lib"
 configure.args	--disable-sdltest
 
-build.env	${configure.env}
-
 post-destroot	{
 	xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${name}
 	xinstall -m 0644 -W ${worksrcpath} CHANGES COPYING README \
 		${destroot}${prefix}/share/doc/${name}
 }
 
-platform darwin 6 {
-	depends_lib-append	lib:libdl:dlcompat
-}
-
-platform darwin 8 {
-	configure.env-append CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-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/20070810/9717c512/attachment.html


More information about the macports-changes mailing list