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

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

Update to new Smultron 3.2. It is only supported under Leopard.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 30669 2007-11-03 03:31:04Z bfulgham@macports.org $
2
3PortSystem 1.0
4PortGroup xcode 1.0
5
6name                    Smultron
7version                 3.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 2afd00a50ccc1189912a6917ca1ef942
27
28use_zip                 yes
29distname                ${name}Source-${version}
30
31use_configure           no
32
33platform darwin 6 { ui_msg "Smultron 3.2 does not build on Jaguar (10.2.x). Sorry." exit 0 }
34platform darwin 7 { ui_msg "Smultron 3.2 does not build on Panther (10.3.x).  Sorry." exit 0 }
35platform darwin 8 { ui_msg "Smultron 3.2 does not build on Tiger (10.4.x).  Sorry.  exit 0 }
36
37platform darwin 9 {
38        if {$xcodeversion == "2.1"} {
39                set xcodebuilddir       build/Deployment
40        }
41}
42
43build.type              pbx
44build.dir               ${workpath}/${name}Source
45
46destroot        {
47        xinstall -m 755 -d ${destroot}/Applications/MacPorts
48        file copy ${workpath}/${name}Source/build/Release/Smultron.app \
49                ${destroot}/Applications/MacPorts
50}
51
52post-activate {
53        system "ln -sf /Applications/MacPorts/Smultron.app/Contents/Resources/smultron ${prefix}/bin/smultron"
54        system "ln -sf /Applications/MacPorts/Smultron.app/Contents/Resources/smultron.1 ${prefix}/share/man/man1/smultron.1"
55}
56
57# post-uninstall {
58#       file delete -force ${prefix}/bin/smultron
59#       file delete -force ${prefix}/bin/smultron.1
60#}
61
Note: See TracBrowser for help on using the repository browser.