source: trunk/dports/aqua/Smultron/Portfile

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

update to 3.6b1 to fix #21520 (Can't build Smultron after upgrade to Snow Leopard and migration of MacPorts)

Also remove a bunch of useless stuff from the port, use $applications_dir, and create symlinks sanely.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
[19376]1# $Id: Portfile 58022 2009-09-20 22:30:15Z $
3PortSystem 1.0
[15792]4PortGroup xcode 1.0
6name                    Smultron
[58022]7version                 3.6b1
[8086]8categories              aqua editors
9platforms               darwin
[50980]10maintainers             bfulgham
12description             Cocoa text editor with syntax colouring
14long_description        Smultron is an open-source text editor written in Cocoa \
[58022]15                        for Mac OS X with many of the features that you \
[8086]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.
[11674]25master_sites            sourceforge:smultron
[58022]26checksums           md5     73844a1bce1f9ff546d49be291658e85 \
27                    sha1    723ec603c2d2371172cce3a9096adc46469a6ad7 \
28                    rmd160  1b40870e2b028ecda156e1899378fb89e6214809
[8086]31use_zip                 yes
32distname                ${name}Source-${version}
[58022]33worksrcdir      ${name}Source
[21227]35destroot        {
[58022]36        xinstall -m 755 -d ${destroot}${applications_dir}
[25823]37        file copy ${workpath}/${name}Source/build/Release/ \
[58022]38                ${destroot}${applications_dir}
39        system "ln -sf ${applications_dir}/ ${destroot}${prefix}/bin/smultron"
40        system "ln -sf ${applications_dir}/ ${destroot}${prefix}/share/man/man1/smultron.1"
Note: See TracBrowser for help on using the repository browser.