Ticket #13345: Portfile-gnome-desktop-suite.diff
File Portfile-gnome-desktop-suite.diff, 1.1 KB (added by frstan@…, 17 years ago) |
---|
-
Portfile
old new 3 3 PortSystem 1.0 4 4 name gnome-desktop-suite 5 5 version 2.18.1 6 revision 06 revision 1 7 7 categories gnome devel 8 8 maintainers rhwood openmaintainer 9 9 description The GNOME desktop environment … … 78 78 file copy ${filespath}/README.${name}.txt ${destroot}${prefix}/share/doc 79 79 } 80 80 post-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" ] 82 82 set data [read $fl] 83 83 if {[catch {close $fl} err]} { 84 file copy -force ${prefix}/etc/ ports/variants.conf ${prefix}/etc/ports/variants.conf.bak85 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" 86 86 } 87 87 ui_msg "To start gnome put \"exec gnome-session\" in your .xinitrc" 88 88 ui_msg "See also http://svn.macosforge.org/projects/macports/wiki/GNOME"