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

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

libsdl_image: Fixed docdir (thanks Ryan).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 29048 2007-09-13 22:36:12Z 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    set docdir ${prefix}/share/doc/${name}-${version}
32    xinstall -d ${destroot}${docdir}
33    xinstall -m 0644 -W ${worksrcpath} CHANGES COPYING README \
34        ${destroot}${docdir}
35}
36
37livecheck.check regex
38livecheck.url   ${homepage}
39livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
40
Note: See TracBrowser for help on using the repository browser.