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

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

Update Smultron to 3.3 release.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 32301 2007-12-23 21:49:58Z bfulgham@macports.org $
2
3PortSystem 1.0
4PortGroup xcode 1.0
5
6name                    Smultron
7version                 3.3
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 5365014dbcca68dc349f153f0aa76bce
27
28use_zip                 yes
29distname                ${name}Source-${version}
30
31pre-fetch {
32    if {[variant_isset darwin_6] || [variant_isset darwin_7] || [variant_isset darwin_8]} {
33        return -code error "${name} ${version} only builds on Mac OS X Leopard (10.5.x). Sorry."
34    }
35}
36
37use_configure           no
38
39platform darwin 6 { }
40platform darwin 7 { }
41platform darwin 8 { }
42
43platform darwin 9 {
44        if {$xcodeversion == "2.1"} {
45                set xcodebuilddir       build/Deployment
46        }
47}
48
49build.type              pbx
50build.dir               ${workpath}/${name}Source
51
52destroot        {
53        xinstall -m 755 -d ${destroot}/Applications/MacPorts
54        file copy ${workpath}/${name}Source/build/Release/Smultron.app \
55                ${destroot}/Applications/MacPorts
56}
57
58post-activate {
59        system "ln -sf /Applications/MacPorts/Smultron.app/Contents/Resources/smultron ${prefix}/bin/smultron"
60        system "ln -sf /Applications/MacPorts/Smultron.app/Contents/Resources/smultron.1 ${prefix}/share/man/man1/smultron.1"
61}
62
63# post-uninstall {
64#       file delete -force ${prefix}/bin/smultron
65#       file delete -force ${prefix}/bin/smultron.1
66#}
67
Note: See TracBrowser for help on using the repository browser.