source: trunk/dports/aqua/Smultron/Portfile @ 27594

Last change on this file since 27594 was 27594, checked in by bfulgham@…, 12 years ago

Update to current release

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 27594 2007-08-10 04:16:44Z bfulgham@macports.org $
2
3PortSystem 1.0
4PortGroup xcode 1.0
5
6name                    Smultron
7version                 3.1.2
8categories              aqua editors
9platforms               darwin
10maintainers             bfulgham@macports.org
11homepage                http://smultron.sourceforge.net/
12description             Cocoa text editor with syntax colouring
13
14long_description        Smultron is an open-source text editor written in Cocoa \
15                        for Mac OS X Panther with many of the features that you \
16                        might need. It features easy selection of the opened documents, \
17                        line numbers, support for syntax colouring for many different \
18                        languages, support for text encodings, code snippets, a toolbar, \
19                        a status bar, HTML preview, multi-document find and replace with \
20                        regular expressions, possibility to show invisible characters, \
21                        authenticated saves, command-line utility, .Mac synchronisation \
22                        of preferences and many more features.
23                       
24                       
25master_sites            sourceforge:smultron
26checksums               md5 c07a1c4b42b063099cb8dfcb4dd36e5c
27
28use_zip                 yes
29distname                ${name}Source-${version}
30
31use_configure           no
32
33platform darwin 8 {
34        if {$xcodeversion == "2.1"} {
35                set xcodebuilddir       build/Deployment
36        }
37}
38
39build.type              pbx
40build.dir               ${workpath}/${name}Source
41
42destroot        {
43        xinstall -m 755 -d ${destroot}/Applications/MacPorts
44        file copy ${workpath}/${name}Source/build/Release/Smultron.app \
45                ${destroot}/Applications/MacPorts
46}
47
48post-activate {
49        system "ln -sf /Applications/MacPorts/Smultron.app/Contents/Resources/smultron ${prefix}/bin/smultron"
50        system "ln -sf /Applications/MacPorts/Smultron.app/Contents/Resources/smultron.1 ${prefix}/share/man/man1/smultron.1"
51}
52
53# post-uninstall {
54#       file delete -force ${prefix}/bin/smultron
55#       file delete -force ${prefix}/bin/smultron.1
56#}
57
Note: See TracBrowser for help on using the repository browser.