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

Last change on this file since 16639 was 16639, checked in by ben, 13 years ago

Bug: 1933
Avoid claiming that SDL ports work on pure darwin

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1# $Id: Portfile,v 1.13 2006/02/26 17:24:09 ben Exp $
2
3PortSystem 1.0
4name                    libsdl_image
5version                 1.2.4
6revision                5
7categories              devel graphics
8maintainers             ben@opendarwin.org
9description             Add on library for libSDL handling several image formats
10long_description        This is a simple library to load images of various \
11                        formats as SDL surfaces. This library supports BMP, \
12                        PPM, PCX, GIF, JPEG, PNG, TGA, and TIFF formats.
13platforms               macosx
14master_sites            http://www.libsdl.org/projects/SDL_image/release/
15homepage                http://www.libsdl.org/
16distname                SDL_image-${version}
17checksums               md5 70bf617f99e51a2c94550fc79d542f0b
18depends_lib             bin:sdl-config:libsdl \
19                        lib:libpng:libpng \
20                        lib:libjpeg:jpeg
21
22configure.env   CFLAGS="-I${prefix}/include" \
23                                LDFLAGS="-L${prefix}/lib"
24configure.args  --disable-sdltest
25
26build.env       ${configure.env}
27
28post-destroot   {
29        xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${name}
30        xinstall -m 0644 -W ${worksrcpath} CHANGES COPYING README \
31                ${destroot}${prefix}/share/doc/${name}
32}
33
34platform darwin 6 {
35        depends_lib-append      lib:libdl:dlcompat
36}
Note: See TracBrowser for help on using the repository browser.