Ticket #13345: Portfile-gnome-desktop-suite.diff

File Portfile-gnome-desktop-suite.diff, 1.1 KB (added by frstan@…, 17 years ago)

portfile diff gnome-desktop-suite

  • Portfile

    old new  
    33PortSystem      1.0
    44name            gnome-desktop-suite
    55version         2.18.1
    6 revision        0
     6revision        1
    77categories      gnome devel
    88maintainers     rhwood openmaintainer
    99description     The GNOME desktop environment
     
    7878        file copy ${filespath}/README.${name}.txt ${destroot}${prefix}/share/doc
    7979}
    8080post-activate           {
    81         set fl [open "| grep -c with_gnome ${prefix}/etc/ports/variants.conf" ]
     81        set fl [open "| grep -c with_gnome ${prefix}/etc/macports/variants.conf" ]
    8282        set data [read $fl]
    8383        if {[catch {close $fl} err]} {
    84                 file copy -force ${prefix}/etc/ports/variants.conf ${prefix}/etc/ports/variants.conf.bak
    85                 system "        echo +with_gnome >> ${prefix}/etc/ports/variants.conf"
     84                file copy -force ${prefix}/etc/macports/variants.conf ${prefix}/etc/macports/variants.conf.bak
     85                system "        echo +with_gnome >> ${prefix}/etc/macports/variants.conf"
    8686        }
    8787        ui_msg "To start gnome put \"exec gnome-session\" in your .xinitrc"
    8888        ui_msg "See also http://svn.macosforge.org/projects/macports/wiki/GNOME"