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

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

libsdl, libsdl_image, libsdl_net, libsdl_net-framework, libsdl_mixer, libsdl_ttf: licenses

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