Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2018 13:58:22 +0000 (UTC)
From:      Alex Dupre <ale@FreeBSD.org>
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
Message-ID:  <201801231358.w0NDwMa8074241@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <ale@FreeBSD.org>
+# $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 <bsd.port.mk>

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 <libdevcore/Assertions.h>
+ #include "Exceptions.h"
+ 
++#undef MSIZE // remove MSIZE definition from <sys/params.h>, 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801231358.w0NDwMa8074241>