[111433] trunk/dports/devel
cal at macports.org
cal at macports.org
Sat Sep 21 12:43:34 PDT 2013
Revision: 111433
https://trac.macports.org/changeset/111433
Author: cal at macports.org
Date: 2013-09-21 12:43:34 -0700 (Sat, 21 Sep 2013)
Log Message:
-----------
capnproto: new port, dependency of textmate2 update, closes #40243
Added Paths:
-----------
trunk/dports/devel/capnproto/
trunk/dports/devel/capnproto/Portfile
Added: trunk/dports/devel/capnproto/Portfile
===================================================================
--- trunk/dports/devel/capnproto/Portfile (rev 0)
+++ trunk/dports/devel/capnproto/Portfile 2013-09-21 19:43:34 UTC (rev 111433)
@@ -0,0 +1,51 @@
+# -*- 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
+# $Id$
+
+PortSystem 1.0
+PortGroup compiler_blacklist_versions 1.0
+
+name capnproto
+version 0.2.1
+checksums rmd160 17b7e1829a4a97a477ef176af482b23d7fdfde25 \
+ sha256 01727ab4b599569045fedc5bec02ba5d94912787e38a9cd6535678ecfc55c292
+
+maintainers cal openmaintainer
+platforms darwin
+categories devel
+
+homepage http://capnproto.org/
+description \
+ Cap’n Proto is an insanely fast data interchange format and \
+ capability-based RPC system. Think JSON, except binary. Or think Protocol \
+ Buffers, except faster.
+long_description ${description}
+license BSD
+
+master_sites ${homepage}
+distname ${name}-c++-${version}
+
+use_autoreconf yes
+
+# clang 3.2 - clang-3.4 and all clangs from Xcode < 5 crash while compiling this.
+compiler.blacklist-append \
+ {clang < 500.2.75} \
+ macports-clang-3.2 \
+ macports-clang-3.3 \
+ macports-clang-3.4 \
+ *gcc*
+
+# The bundled libtool doesn't pass -stdlib to the linker, needs:
+# http://git.savannah.gnu.org/gitweb/?p=libtool.git;a=commit;h=c0c49f289f22ae670066657c60905986da3b555f
+pre-configure {
+ if {${configure.compiler} ne "clang"} {
+ ui_error "capnproto will crash all compilers but clang from Xcode 5; please upgrade your Xcode installation."
+ error "no suitable compiler"
+ }
+ system -W ${worksrcpath} "autoreconf -fvi"
+}
+
+if {[info exists configure.cxx_stdlib]} {
+ configure.cxx_stdlib libc++
+}
+
+configure.ldflags-append -stdlib=libc++
Property changes on: trunk/dports/devel/capnproto/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130921/de0c27c0/attachment.html>
More information about the macports-changes
mailing list