commit f2a6189242362c65a45e0beeefa78d9d383065ce
Author: Michael Klein <michael.klein@puffin.lb.shuttle.de>
Date: Sun Feb 10 20:48:17 2013 +0100
libsdl_image: add +disable_imagio variant
diff --git a/dports/devel/libsdl_image/Portfile b/dports/devel/libsdl_image/Portfile
index eec49aa..1dd62ca 100644
a
|
b
|
depends_lib path:lib/pkgconfig/sdl.pc:libsdl \ |
32 | 32 | port:zlib |
33 | 33 | |
34 | 34 | configure.args --disable-sdltest \ |
| 35 | --enable-imageio \ |
35 | 36 | --enable-jpg-shared=false \ |
36 | 37 | --enable-png-shared=false \ |
37 | 38 | --enable-tif-shared=false |
… |
… |
post-destroot { |
43 | 44 | ${destroot}${docdir} |
44 | 45 | } |
45 | 46 | |
| 47 | variant disable_imageio description "disable use of ImageIO framework" { |
| 48 | configure.args-delete --enable-imageio |
| 49 | configure.args-append --disable-imageio |
| 50 | } |
| 51 | |
46 | 52 | platform darwin 8 { |
47 | 53 | # This can probably be made to work if someone cares enough |
48 | 54 | # http://trac.macports.org/ticket/33015 |
49 | | configure.args-append --disable-imageio |
| 55 | default_variants +disable_imageio |
50 | 56 | } |
51 | 57 | |
52 | 58 | livecheck.type regex |