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

Last change on this file since 91944 was 91944, checked in by jeremyhu@…, 7 years ago

libsdl_image: Build on Tiger (but without ImageIO)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 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 91944 2012-04-13 18:56:57Z jeremyhu@macports.org $
3
4PortSystem      1.0
5
6name            libsdl_image
7set my_name     SDL_image
8version         1.2.12
9categories      devel graphics
10platforms       darwin
11license         zlib
12maintainers     jmr openmaintainer
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       rmd160 206990959c6b225286c0a19bc05b991c6bc2c3e8 \
24                sha256 0b90722984561004de84847744d566809dbb9daf732a9e503b91a1b5a84e5699
25
26depends_build   port:pkgconfig
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
38post-destroot {
39    set docdir ${prefix}/share/doc/${name}
40    xinstall -d ${destroot}${docdir}
41    xinstall -m 0644 -W ${worksrcpath} CHANGES COPYING README \
42        ${destroot}${docdir}
43}
44
45platform darwin 8 {
46    # This can probably be made to work if someone cares enough
47    # http://trac.macports.org/ticket/33015
48    configure.args-append --disable-imageio
49}
50
51livecheck.type  regex
52livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.