source: trunk/dports/editors/textmate2/Portfile @ 96620

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

textmate2: update to 2012-08-14

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 96620 2012-08-15 14:41:40Z cal@macports.org $
3
4PortSystem              1.0
5PortGroup               github 1.0
6
7github.setup            textmate textmate 61071c153dd393c38f7286822e345f16711fcdd1
8version                 2.0
9revision                2012081400
10
11maintainers             cal openmaintainer
12name                    textmate2
13
14categories              editors aqua
15description             \
16    TextMate brings Apple's approach to operating systems into the world of text editors. By \
17    bridging UNIX underpinnings and GUI, TextMate cherry-picks the best of both worlds to the \
18    benefit of expert scripters and novice users alike.
19long_description        ${description}\
20    TextMate is well-known for its large number of bundles adding support, snippets, completions \
21    and commands for a huge number of file types.
22
23platforms               darwin
24license                 GPL-3+
25
26fetch.type              git
27post-fetch {
28    system -W ${worksrcpath} "git submodule update --init"
29}
30
31post-patch {
32    fs-traverse file ${worksrcpath} {
33        if {[file tail ${file}] == "target"} {
34            reinplace "/TEST_SOURCES =/d" ${file}
35        }
36    }
37}
38
39supported_archs         i386
40depends_build-append    port:ninja \
41                        port:ragel \
42                        port:proctools
43
44set depends_skip_archcheck {ninja ragel proctools}
45
46if {[vercmp ${xcodeversion} "4.4"] < 0} {
47    depends_build-append    port:clang-3.2
48    configure.compiler      macports-clang-3.2
49}
50
51depends_lib-append      port:boost \
52                        port:multimarkdown \
53                        port:pbzip2 \
54                        port:curl \
55                        port:openssl \
56                        port:libiconv \
57                        port:zlib
58
59configure.env-append    builddir=${worksrcpath}/build
60
61build.cmd               ninja
62build.target            TextMate mate
63
64destroot {
65    copy ${worksrcpath}/build/Applications/TextMate/TextMate.app ${destroot}${applications_dir}
66    xinstall -m 0755 ${worksrcpath}/build/Applications/mate/mate ${destroot}${prefix}/bin
67    xinstall -m 0755 ${worksrcpath}/rmate/rmate ${destroot}${prefix}/bin
68}
Note: See TracBrowser for help on using the repository browser.