From owner-svn-ports-head@freebsd.org Tue Jan 23 13:58:24 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0E9A2ED55E4; Tue, 23 Jan 2018 13:58:24 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DD5CE7C9D2; Tue, 23 Jan 2018 13:58:23 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3BFAA76CE; Tue, 23 Jan 2018 13:58:23 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0NDwNnd074248; Tue, 23 Jan 2018 13:58:23 GMT (envelope-from ale@FreeBSD.org) Received: (from ale@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0NDwMa8074241; Tue, 23 Jan 2018 13:58:22 GMT (envelope-from ale@FreeBSD.org) Message-Id: <201801231358.w0NDwMa8074241@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ale set sender to ale@FreeBSD.org using -f From: Alex Dupre Date: Tue, 23 Jan 2018 13:58:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r459751 - in head/lang: . solidity solidity/files X-SVN-Group: ports-head X-SVN-Commit-Author: ale X-SVN-Commit-Paths: in head/lang: . solidity solidity/files X-SVN-Commit-Revision: 459751 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jan 2018 13:58:24 -0000 Author: ale Date: Tue Jan 23 13:58:22 2018 New Revision: 459751 URL: https://svnweb.freebsd.org/changeset/ports/459751 Log: The Solidity Contract-Oriented Programming Language WWW: https://github.com/ethereum/solidity Added: head/lang/solidity/ head/lang/solidity/Makefile (contents, props changed) head/lang/solidity/distinfo (contents, props changed) head/lang/solidity/files/ head/lang/solidity/files/jsoncpp.cmake (contents, props changed) head/lang/solidity/files/patch-libevmasm_Instruction.h (contents, props changed) head/lang/solidity/pkg-descr (contents, props changed) Modified: head/lang/Makefile Modified: head/lang/Makefile ============================================================================== --- head/lang/Makefile Tue Jan 23 13:55:27 2018 (r459750) +++ head/lang/Makefile Tue Jan 23 13:58:22 2018 (r459751) @@ -329,6 +329,7 @@ SUBDIR += smalltalk SUBDIR += smlnj SUBDIR += snobol4 + SUBDIR += solidity SUBDIR += spidermonkey17 SUBDIR += spidermonkey170 SUBDIR += spidermonkey185 Added: head/lang/solidity/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/solidity/Makefile Tue Jan 23 13:58:22 2018 (r459751) @@ -0,0 +1,34 @@ +# Created by: Alex Dupre +# $FreeBSD$ + +PORTNAME= solidity +PORTVERSION= 0.4.19 +CATEGORIES= lang +MASTER_SITES= https://github.com/ethereum/solidity/releases/download/v${PORTVERSION}/ +DISTNAME= ${PORTNAME}_${PORTVERSION} + +MAINTAINER= ale@FreeBSD.org +COMMENT= Solidity Contract-Oriented Programming Language + +LICENSE= GPLv3 + +BUILD_DEPENDS= boost-libs>=0:devel/boost-libs +LIB_DEPENDS= libjsoncpp.so:devel/jsoncpp + +OPTIONS_DEFINE= SMT +SMT_DESC= SMT Checker +SMT_LIB_DEPENDS=libz3.so:math/z3 + +USES= cmake + +CMAKE_ARGS+= -DUSE_LD_GOLD=OFF -DTESTS=OFF \ + -DJSONCPP_INCLUDE_DIR:STRING="${LOCALBASE}/include/jsoncpp" \ + -DJSONCPP_LIB_DIR:STRING="${LOCALBASE}/lib" + +PLIST_FILES= bin/solc + +pre-patch: + @${CP} ${FILESDIR}/jsoncpp.cmake ${WRKSRC}/cmake/ + @${REINPLACE_CMD} '/EthCcache/d' ${WRKSRC}/CMakeLists.txt + +.include Added: head/lang/solidity/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/solidity/distinfo Tue Jan 23 13:58:22 2018 (r459751) @@ -0,0 +1,3 @@ +TIMESTAMP = 1516355316 +SHA256 (solidity_0.4.19.tar.gz) = 6525f2cfe498785b3d752b616cb9b5e81222654ec594a27708f45e688bfa56e9 +SIZE (solidity_0.4.19.tar.gz) = 1027296 Added: head/lang/solidity/files/jsoncpp.cmake ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/solidity/files/jsoncpp.cmake Tue Jan 23 13:58:22 2018 (r459751) @@ -0,0 +1,2 @@ +include_directories(${JSONCPP_INCLUDE_DIR}) +link_directories(${JSONCPP_LIB_DIR}) Added: head/lang/solidity/files/patch-libevmasm_Instruction.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/solidity/files/patch-libevmasm_Instruction.h Tue Jan 23 13:58:22 2018 (r459751) @@ -0,0 +1,11 @@ +--- libevmasm/Instruction.h.orig 2018-01-23 11:51:18 UTC ++++ libevmasm/Instruction.h +@@ -26,6 +26,8 @@ + #include + #include "Exceptions.h" + ++#undef MSIZE // remove MSIZE definition from , included by boost 1.66.0 ++ + namespace dev + { + namespace solidity Added: head/lang/solidity/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/solidity/pkg-descr Tue Jan 23 13:58:22 2018 (r459751) @@ -0,0 +1,3 @@ +The Solidity Contract-Oriented Programming Language + +WWW: https://github.com/ethereum/solidity