Skip to content

Commit

Permalink
textmate2: 2.0-rc.4
Browse files Browse the repository at this point in the history
Update textmate and drop a number of patches that are no longer needed.
Additionally, simplify the Portfile a bit.

Closes: https://trac.macports.org/ticket/53564
  • Loading branch information
neverpanic committed Feb 14, 2017
1 parent bcc939f commit 861429e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 37 deletions.
15 changes: 6 additions & 9 deletions editors/textmate2/Portfile
Expand Up @@ -5,7 +5,7 @@ PortGroup github 1.0
PortGroup xcodeversion 1.0

epoch 4
github.setup textmate textmate 2.0-beta.12.4 v
github.setup textmate textmate 2.0-rc.4 v
revision 0

maintainers cal openmaintainer
Expand All @@ -32,13 +32,8 @@ post-fetch {
}

patchfiles patch-configure-versionnumber.diff \
patch-target.diff \
patch-frameworks_license_target.diff \
patch-Applications_commit_target.diff

# The build will fail with deployment target set to 10.8
macosx_deployment_target 10.7

post-patch {
reinplace "s/@VERSION@/${version}/" ${worksrcpath}/configure
fs-traverse file ${worksrcpath} {
Expand All @@ -52,7 +47,8 @@ post-patch {
depends_build-append port:ninja \
port:ragel \
port:sparsehash \
port:proctools
port:proctools \
path:share/curl/curl-ca-bundle.crt:curl-ca-bundle

depends_skip_archcheck ninja ragel proctools

Expand All @@ -75,7 +71,8 @@ if {${os.platform} ne "darwin" || ${os.major} < 12} {
}

configure.env-append builddir=${worksrcpath}/build \
capnp_prefix=${prefix}
capnp_prefix=${prefix} \
libressl_prefix=${prefix}

pre-configure {
# the textmate build expects this to be present
Expand All @@ -89,7 +86,7 @@ post-configure {
}

build.cmd ninja
build.args -v -j ${build.jobs}
build.args -v -j${build.jobs}
build.target TextMate mate

destroot {
Expand Down
17 changes: 0 additions & 17 deletions editors/textmate2/files/patch-frameworks_license_target.diff

This file was deleted.

11 changes: 0 additions & 11 deletions editors/textmate2/files/patch-target.diff

This file was deleted.

0 comments on commit 861429e

Please sign in to comment.