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

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

Update to new version.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
RevLine 
[19376]1# $Id: Portfile 24997 2007-05-11 03:50:37Z bfulgham@macports.org $
[8086]2
3PortSystem 1.0
[15792]4PortGroup xcode 1.0
[8086]5
6name                    Smultron
[24997]7version                 3.0.6
[8086]8categories              aqua editors
9platforms               darwin
[20156]10maintainers             bfulgham@macports.org
[8086]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                       
[11674]25master_sites            sourceforge:smultron
[24997]26checksums               md5 57db6ed3ea3030b34bef34d09714d319
[8086]27
28use_zip                 yes
29distname                ${name}Source-${version}
30
31use_configure           no
32
[19013]33platform darwin 8 {
34        if {$xcodeversion == "2.1"} {
35                set xcodebuilddir       build/Deployment
36        }
37}
38
39build.type              pbx
[8086]40build.dir               ${workdir}/${name}Source
41
[21227]42destroot        {
43        xinstall -m 755 -d ${destroot}/Applications/MacPorts
44        file copy ${workdir}/${name}Source/build/Release/Smultron.app \
45                ${destroot}/Applications/MacPorts
[15792]46}
[8086]47
[19013]48post-activate {
[21227]49        system "ln -sf /Applications/MacPorts/Smultron.app/Contents/Resources/smultron ${prefix}/bin/smultron"
50        system "ln -sf /Applications/MacPorts/Smultron.app/Contents/Resources/smultron.1 ${prefix}/share/man/man1/smultron.1"
[19013]51}
52
53# post-uninstall {
54#       file delete -force ${prefix}/bin/smultron
55#       file delete -force ${prefix}/bin/smultron.1
56#}
57
Note: See TracBrowser for help on using the repository browser.