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

Last change on this file since 49610 was 49610, checked in by phw@…, 11 years ago

Just Version update

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# $Id: Portfile 49610 2009-04-13 10:11:56Z phw@macports.org $
2
3PortSystem 1.0
4PortGroup xcode 1.0
5
6name                    Smultron
7version                 3.5.1
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     08af90e57f58c4b2c99b376815ddfc43 \
27                    sha1    b559ac4f83f4f14ee86d1695c12a05c106b04930 \
28                    rmd160  414b3e41b9902f8f2bcfb22ac507a9c7fb9637d1
29
30
31use_zip                 yes
32distname                ${name}Source-${version}
33
34pre-fetch {
35    if {[variant_isset darwin_6] || [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 6 { }
43platform darwin 7 { }
44platform darwin 8 { }
45
46platform darwin 9 {
47        if {$xcodeversion == "2.1"} {
48                set xcodebuilddir       build/Deployment
49        }
50}
51
52build.type              pbx
53build.dir               ${workpath}/${name}Source
54
55destroot        {
56        xinstall -m 755 -d ${destroot}/Applications/MacPorts
57        file copy ${workpath}/${name}Source/build/Release/Smultron.app \
58                ${destroot}/Applications/MacPorts
59}
60
61post-activate {
62        system "ln -sf /Applications/MacPorts/Smultron.app/Contents/Resources/smultron ${prefix}/bin/smultron"
63        system "ln -sf /Applications/MacPorts/Smultron.app/Contents/Resources/smultron.1 ${prefix}/share/man/man1/smultron.1"
64}
65
66# post-uninstall {
67#       file delete -force ${prefix}/bin/smultron
68#       file delete -force ${prefix}/bin/smultron.1
69#}
70
Note: See TracBrowser for help on using the repository browser.