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

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

libsdl_image: Changed docdir to a versioned one.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 29031 2007-09-13 13:39:36Z nox@macports.org $
2
3PortSystem      1.0
4
5name            libsdl_image
6set my_name     SDL_image
7version         1.2.6
8revision        1
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 b866dc4f647517bdaf57f6ffdefd013e \
23                sha1 5045df31e4db29d8890110fd18024c9d08efca30 \
24                rmd160 8aea5f07216eb887f599c0908f8ea2c2f9eeac93
25
26depends_lib     port:libsdl port:libpng port:jpeg port:tiff port:zlib
27
28configure.args  --disable-sdltest
29
30post-destroot {
31    xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${name}-${version}
32    xinstall -m 0644 -W ${worksrcpath} CHANGES COPYING README \
33        ${destroot}${prefix}/share/doc/${name}
34}
35
36livecheck.check regex
37livecheck.url   ${homepage}
38livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
39
Note: See TracBrowser for help on using the repository browser.