svn commit: r459751 - in head/lang: . solidity solidity/files
Alex Dupre
ale at FreeBSD.org
Tue Jan 23 13:58:24 UTC 2018
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 at 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 at 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
More information about the svn-ports-all
mailing list