Ticket #36749: patch-Portfile.diff
File patch-Portfile.diff, 981 bytes (added by mkae (Marko Käning), 12 years ago) |
---|
-
Portfile
105 105 if {![info exists startupitem.install]} { 106 106 set startupitem.install yes 107 107 } 108 if { ${startupitem.install} != "no" } {108 if { ${startupitem.install} != "no" && ${startupitem_type} != "none" } { 109 109 xinstall -d -m 755 ${destroot}${startup_root}/Library/LaunchAgents 110 110 ln -s ${prefix}/Library/LaunchAgents/org.macports.kdecache.plist ${destroot}${startup_root}/Library/LaunchAgents 111 111 } 112 112 } 113 113 114 114 post-activate { 115 if { ![variant_isset no_root] } {116 file attributes ${prefix}/Library/LaunchAgents/org.macports.kdecache.plist -owner root -group wheel 115 if { ![variant_isset no_root] && ${startupitem_type} != "none" && ${startupitem.install} != "no" } { 116 file attributes ${prefix}/Library/LaunchAgents/org.macports.kdecache.plist -owner root -group wheel 117 117 } 118 118 } 119 119