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

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

Relinquish maintainership of all my ports

It's been fun, but I'm moving to homebrew.

  • 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 74826 2011-01-03 10:28:48Z nox@macports.org $
3
4PortSystem      1.0
5
6name            libsdl_image
7set my_name     SDL_image
8version         1.2.10
9revision        2
10categories      devel graphics
11platforms       macosx
12maintainers     nomaintainer
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       md5     6c06584b31559e2b59f2b982d0d1f628 \
24                sha1    6bae71fdfd795c3dbf39f6c7c0cf8b212914ef97 \
25                rmd160  8133f7f8d488b1c3f69ad80a941289b4508d2901
26
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
38pre-configure {
39    configure.env-append    SDL_LIBS='[exec ${prefix}/bin/sdl-config --libs]'
40}
41
42use_parallel_build  yes
43
44post-destroot {
45    set docdir ${prefix}/share/doc/${name}-${version}
46    xinstall -d ${destroot}${docdir}
47    xinstall -m 0644 -W ${worksrcpath} CHANGES COPYING README \
48        ${destroot}${docdir}
49}
50
51livecheck.type  regex
52livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.