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

Last change on this file since 60834 was 60834, checked in by nox@…, 9 years ago

libsdl_image:

  • Update to 1.2.10.
  • Fix build on Leopard (closes #22184 and #22540).
  • 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 60834 2009-11-25 11:54:37Z nox@macports.org $
3
4PortSystem      1.0
5
6name            libsdl_image
7set my_name     SDL_image
8version         1.2.10
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     6c06584b31559e2b59f2b982d0d1f628 \
23                sha1    6bae71fdfd795c3dbf39f6c7c0cf8b212914ef97 \
24                rmd160  8133f7f8d488b1c3f69ad80a941289b4508d2901
25
26depends_lib     path:lib/pkgconfig/sdl.pc:libsdl \
27                port:libpng \
28                port:jpeg \
29                port:tiff \
30                port:zlib
31
32configure.args  --disable-sdltest \
33                --enable-jpg-shared=false \
34                --enable-png-shared=false \
35                --enable-tif-shared=false
36
37pre-configure {
38    configure.env-append    SDL_LIBS='[exec ${prefix}/bin/sdl-config --libs]'
39}
40
41use_parallel_build  yes
42
43post-destroot {
44    set docdir ${prefix}/share/doc/${name}-${version}
45    xinstall -d ${destroot}${docdir}
46    xinstall -m 0644 -W ${worksrcpath} CHANGES COPYING README \
47        ${destroot}${docdir}
48}
49
50livecheck.type  regex
51livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.