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

Last change on this file since 18466 was 18466, checked in by mww, 13 years ago

version 1.2.5

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