[28496] trunk/dports/devel/libsdl_ttf

source_changes at macosforge.org source_changes at macosforge.org
Sun Sep 2 06:59:30 PDT 2007


Revision: 28496
          http://trac.macosforge.org/projects/macports/changeset/28496
Author:   nox at macports.org
Date:     2007-09-02 06:59:30 -0700 (Sun, 02 Sep 2007)

Log Message:
-----------
libsdl_ttf:
 * Updated to 2.0.9.
 * Changed doc directory.
 * Added sha1 and rmd160 checksums and livecheck.
 * Removed zlib dependency as -lz is triggered by freetype-config.
 * Taken over.

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

Removed Paths:
-------------
    trunk/dports/devel/libsdl_ttf/files/

Modified: trunk/dports/devel/libsdl_ttf/Portfile
===================================================================
--- trunk/dports/devel/libsdl_ttf/Portfile	2007-09-02 11:45:30 UTC (rev 28495)
+++ trunk/dports/devel/libsdl_ttf/Portfile	2007-09-02 13:59:30 UTC (rev 28496)
@@ -1,39 +1,39 @@
 # $Id$
 
-PortSystem 1.0
+PortSystem			1.0
 
 name                libsdl_ttf
-version             2.0.8
-revision            1
+set my_name			SDL_ttf
+version             2.0.9
 categories          devel graphics
-maintainers         nomaintainer at macports.org
+maintainers         nox
 platforms           macosx
 description         add on library for libSDL for rendering TrueType fonts
+
 long_description    This library is a wrapper around the excellent \
                     FreeType 2.0 library allowing to render TrueType fonts \
                     in SDL applications.
     
-homepage            http://www.libsdl.org/projects/SDL_ttf
-master_sites        ${homepage}/release/
-distname            SDL_ttf-${version}
-checksums           sha1 a2c4cb1525173414ca7e5eaefbabadca69bd1114
+homepage            http://www.libsdl.org/projects/SDL_ttf/
+master_sites        ${homepage}release/
+distname            ${my_name}-${version}
 
-depends_lib         port:libsdl port:freetype port:zlib
+checksums			md5 6dd5a85e4924689a35a5fb1cb3336156 \
+					sha1 6bc3618b08ddbbf565fe8f63f624782c15e1cef2 \
+					rmd160 4e0b0f727f73b5d8a579e3e615ab4f50ec992b82
 
-patchfiles          SDL_ttf.c.diff
+depends_lib         port:libsdl port:freetype
 
 configure.args      --disable-sdltest
 
 post-destroot   {
-    xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${name}
+	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
-}
+livecheck.check	regex
+livecheck.url	${homepage}
+livecheck.regex	"${my_name}-(\\d+(?:\\.\\d+)*)"
 
-platform darwin 8 {
-    configure.env CC=/usr/bin/gcc CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
-}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070902/ef15029c/attachment.html


More information about the macports-changes mailing list