9 | | long_description Simple DirectMedia Layer is a cross-platform \ |
10 | | multimedia library designed to provide fast access \ |
11 | | to the graphics framebuffer and audio device. It is \ |
12 | | used by MPEG playback software, emulators, and many \ |
13 | | popular games, including the award winning Linux \ |
14 | | port of "Civilization: Call To Power." Simple \ |
15 | | DirectMedia Layer supports Linux, Win32, BeOS, \ |
16 | | MacOS, Solaris, IRIX, and FreeBSD. |
17 | | platforms macosx freebsd |
18 | | master_sites http://www.libsdl.org/release/ |
| 11 | |
| 12 | long_description \ |
| 13 | Simple DirectMedia Layer is a cross-platform multimedia library \ |
| 14 | designed to provide fast access to the graphics framebuffer and \ |
| 15 | audio device. It is used by MPEG playback software, emulators, \ |
| 16 | and many popular games, including the award winning Linux port \ |
| 17 | of "Civilization: Call To Power." Simple DirectMedia Layer supports \ |
| 18 | Linux, Win32, BeOS, MacOS, Solaris, IRIX, and FreeBSD. |
| 19 | |
| 20 | homepage http://www.libsdl.org/ |
| 21 | master_sites ${homepage}release/ |
31 | | README-SDL.txt README.MacOSX TODO docs.html \ |
32 | | ${destroot}${prefix}/share/doc/${name} |
33 | | xinstall -m 0644 -W ${worksrcpath}/docs index.html \ |
34 | | ${destroot}${prefix}/share/doc/${name}/docs |
35 | | system "cp -R ${worksrcpath}/docs/html ${destroot}${prefix}/share/doc/${name}/docs" |
| 39 | README-SDL.txt README.MacOSX TODO WhatsNew docs.html ${destroot}${docdir} |
| 40 | system "cp -R ${worksrcpath}/docs/{html,images,index.html} ${destroot}${docdir}/docs" |
38 | | platform darwin 6 { |
39 | | depends_lib-append lib:libdl:dlcompat |
40 | | configure.env CPPFLAGS="-I${prefix}/include" \ |
41 | | LDFLAGS="-L${prefix}/lib" |
| 43 | variant no_static { |
| 44 | configure.args-append --disable-static |
| 45 | } |
| 46 | |
| 47 | variant x11 { |
| 48 | depends_lib lib:libX11.6:XFree86 |
| 49 | configure.args-append --with-x |
| 50 | configure.args-delete --disable-video-x11 |
| 51 | } |
| 52 | |
| 53 | variant aalib { |
| 54 | depends_lib port:aalib |
| 55 | configure.args-delete --disable-video-aalib |
| 56 | } |
| 57 | |
| 58 | variant arts { |
| 59 | depends_lib port:arts |
| 60 | configure.args-delete --disable-arts |