diff --git a/dports/multimedia/VLC/Portfile b/dports/multimedia/VLC/Portfile
index 362ccbf..f77ee12 100644
a
|
b
|
PortSystem 1.0 |
4 | 4 | |
5 | 5 | name VLC |
6 | 6 | version 0.9.9a |
7 | | revision 1 |
| 7 | revision 2 |
8 | 8 | |
9 | 9 | categories multimedia |
10 | 10 | |
… |
… |
depends_lib port:lame port:a52dec port:libogg port:flac \ |
35 | 35 | port:libvorbis port:libmatroska port:libid3tag \ |
36 | 36 | port:ncurses port:lua port:libpng port:jpeg \ |
37 | 37 | port:libdvdplay port:libdvdnav port:ffmpeg \ |
38 | | port:gnutls port:taglib |
| 38 | port:gnutls port:taglib port:libxml2 |
39 | 39 | |
40 | 40 | patchfiles VLC-Makefile.am.patch |
41 | 41 | |
… |
… |
autoreconf.args -fvi |
49 | 49 | #configure.objc ${prefix}/bin/llvm-gcc-4.2 |
50 | 50 | |
51 | 51 | build.target all |
52 | | destroot.target install VLC.app |
| 52 | destroot.target install |
53 | 53 | |
54 | 54 | livecheck.url http://download.videolan.org/pub/videolan/vlc/ |
55 | 55 | livecheck.regex <a href=\"(\\d\[\\d|\.|\\w\]+).*/\"> |
… |
… |
variant qt4 description {Build using QT4 UI. This will use qt4-x11 if +x11 and |
207 | 207 | configure.pkg_config_path "${configure.pkg_config_path}:${qt_dir}/lib/pkgconfig" |
208 | 208 | } |
209 | 209 | |
210 | | variant aqua description {Install VLC.app} { |
| 210 | platform macosx { |
211 | 211 | destroot.target-append VLC.app |
212 | 212 | } |
213 | 213 | |
… |
… |
variant full requires huge qt4 smb \ |
222 | 222 | |
223 | 223 | # Unless minimal variant is set compile with default OSX configuration |
224 | 224 | if {![variant_isset minimal]} { |
225 | | default_variants +aqua +x264 +theora +twolame +mod +mpc +osd |
| 225 | default_variants +x264 +theora +twolame +mod +mpc +osd |
226 | 226 | } |
227 | 227 | |
228 | 228 | if {[variant_isset x11]} { |
… |
… |
if {[variant_isset x11]} { |
230 | 230 | } |
231 | 231 | |
232 | 232 | post-destroot { |
233 | | if {[variant_isset aqua]} { |
| 233 | if {[variant_isset macosx]} { |
234 | 234 | file mkdir ${destroot}/${applications_dir} |
235 | 235 | file rename ${worksrcpath}/VLC.app ${destroot}/${applications_dir}/VLC.app |
236 | 236 | } |