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

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

Update to current 2.2.5 version.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 20766 2006-11-27 01:50:14Z bfulgham@macports.org $
2
3PortSystem 1.0
4PortGroup xcode 1.0
5
6name                    Smultron
7version                 2.2.5
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 ffc18df69a305bc88c35be2870c720cb
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               ${workdir}/${name}Source
41
42post-destroot {
43        file delete -force ${destroot}/Applications/DarwinPorts/smultron
44}
45
46post-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
Note: See TracBrowser for help on using the repository browser.