source: trunk/dports/devel/libsdl_image/Portfile @ 57375

Last change on this file since 57375 was 57375, checked in by ryandesign@…, 10 years ago

Change deprecated livecheck.check to livecheck.type
See http://lists.macosforge.org/pipermail/macports-dev/2009-August/009699.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            libsdl_image
7set my_name     SDL_image
8version         1.2.7
9categories      devel graphics
10platforms       macosx
11maintainers     nox openmaintainer
12description     Add on library for libSDL handling several image formats
13
14long_description \
15    This is a simple library to load images of various formats as SDL surfaces. \
16    This library supports BMP, PPM, PCX, GIF, JPEG, PNG, TGA, and TIFF formats.
17
18homepage        http://www.libsdl.org/projects/SDL_image/
19master_sites    ${homepage}release/
20distname        ${my_name}-${version}
21
22checksums           md5     a729ff61f74f0a45ec7fe36354cf938e \
23                    sha1    0cffd05e41014651e7114d7fea309c9f37ef2d8a \
24                    rmd160  d54233077c0a49f075bf11dc1cc2cfe7c0a64efa
25
26depends_lib     path:lib/pkgconfig/sdl.pc:libsdl port:libpng port:jpeg port:tiff port:zlib
27
28configure.args  --disable-sdltest \
29                --enable-jpg-shared=false \
30                --enable-png-shared=false \
31                --enable-tif-shared=false
32
33use_parallel_build  yes
34
35post-destroot {
36    set docdir ${prefix}/share/doc/${name}-${version}
37    xinstall -d ${destroot}${docdir}
38    xinstall -m 0644 -W ${worksrcpath} CHANGES COPYING README \
39        ${destroot}${docdir}
40}
41
42livecheck.type  regex
43livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.