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

Last change on this file since 54313 was 54313, checked in by toby@…, 8 years ago

remove darwin 6

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