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

Last change on this file since 75159 was 75159, checked in by rmstonecipher@…, 8 years ago

graphics/libpng upgraded version from 1.2.44 to 1.4.5 per ticket #23125, increased revision on all ports directly dependent upon libpng12.dylib

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 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 75159 2011-01-17 02:00:53Z rmstonecipher@macports.org $
3
4PortSystem      1.0
5
6name            libsdl_image
7set my_name     SDL_image
8version         1.2.10
9revision        3
10categories      devel graphics
11platforms       macosx
12maintainers     nomaintainer
13description     Add on library for libSDL handling several image formats
14
15long_description \
16    This is a simple library to load images of various formats as SDL surfaces. \
17    This library supports BMP, PPM, PCX, GIF, JPEG, PNG, TGA, and TIFF formats.
18
19homepage        http://www.libsdl.org/projects/SDL_image/
20master_sites    ${homepage}release/
21distname        ${my_name}-${version}
22
23checksums       md5     6c06584b31559e2b59f2b982d0d1f628 \
24                sha1    6bae71fdfd795c3dbf39f6c7c0cf8b212914ef97 \
25                rmd160  8133f7f8d488b1c3f69ad80a941289b4508d2901
26
27depends_lib     path:lib/pkgconfig/sdl.pc:libsdl \
28                port:libpng \
29                port:jpeg \
30                port:tiff \
31                port:zlib
32
33configure.args  --disable-sdltest \
34                --enable-jpg-shared=false \
35                --enable-png-shared=false \
36                --enable-tif-shared=false
37
38pre-configure {
39    configure.env-append    SDL_LIBS='[exec ${prefix}/bin/sdl-config --libs]'
40}
41
42use_parallel_build  yes
43
44post-destroot {
45    set docdir ${prefix}/share/doc/${name}-${version}
46    xinstall -d ${destroot}${docdir}
47    xinstall -m 0644 -W ${worksrcpath} CHANGES COPYING README \
48        ${destroot}${docdir}
49}
50
51livecheck.type  regex
52livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.