Ticket #9791: aqua_Smultron_Portfile.diff
File aqua_Smultron_Portfile.diff, 1.1 KB (added by bfulgham@…, 18 years ago) |
---|
-
aqua/Smultron/Portfile
old new 4 4 PortGroup xcode 1.0 5 5 6 6 name Smultron 7 version 1.2.67 version 2.0 8 8 categories aqua editors 9 9 platforms darwin 10 10 maintainers darwinports@opendarwin.org … … 23 23 24 24 25 25 master_sites sourceforge:smultron 26 checksums md5 1b96b3ddfae255789767279d592e98b326 checksums md5 c4d67d3797241cd600c5072d4da2064d 27 27 28 28 use_zip yes 29 29 distname ${name}Source-${version} 30 30 31 31 use_configure no 32 32 33 platform darwin 8 { 34 if {$xcodeversion == "2.1"} { 35 set xcodebuilddir build/Deployment 36 } 37 } 38 39 build.type pbx 33 40 build.dir ${workdir}/${name}Source 34 41 35 42 post-destroot { 36 43 file delete -force ${destroot}/Applications/DarwinPorts/smultron 37 44 } 38 45 46 post-activate { 47 system "ln -sf /Applications/DarwinPorts/Smultron.app/Contents/Resources/smultron ${prefix}/bin/smultron" 48 system "ln -sf /Applications/DarwinPorts/Smultron.app/Contents/Resources/smultron.1 ${prefix}/share/man/man1/smultron.1" 49 } 50 51 # post-uninstall { 52 # file delete -force ${prefix}/bin/smultron 53 # file delete -force ${prefix}/bin/smultron.1 54 #} 55