Ticket #19325: VLC-Portfile.diff

File VLC-Portfile.diff, 1.1 KB (added by max@…, 15 years ago)
  • dports/multimedia/VLC/Portfile

    diff --git a/dports/multimedia/VLC/Portfile b/dports/multimedia/VLC/Portfile
    index 362ccbf..b6ba9a3 100644
    a b PortSystem 1.0 
    44
    55name                            VLC
    66version                         0.9.9a
    7 revision                        1
     7revision                        2
    88
    99categories                      multimedia
    1010
    autoreconf.args -fvi 
    4949#configure.objc         ${prefix}/bin/llvm-gcc-4.2
    5050
    5151build.target            all
    52 destroot.target         install VLC.app
     52destroot.target         install
    5353
    5454livecheck.url           http://download.videolan.org/pub/videolan/vlc/
    5555livecheck.regex         <a href=\"(\\d\[\\d|\.|\\w\]+).*/\">
    variant qt4 description {Build using QT4 UI. This will use qt4-x11 if +x11 and 
    207207    configure.pkg_config_path "${configure.pkg_config_path}:${qt_dir}/lib/pkgconfig"
    208208}
    209209
    210 variant aqua description {Install VLC.app} {
     210platform macosx {
    211211        destroot.target-append  VLC.app
    212212}
    213213
    if {[variant_isset x11]} { 
    230230}
    231231
    232232post-destroot {
    233         if {[variant_isset aqua]} {
     233        if {[variant_isset macosx]} {
    234234                file mkdir ${destroot}/${applications_dir}
    235235                file rename ${worksrcpath}/VLC.app ${destroot}/${applications_dir}/VLC.app
    236236        }