ef8eaee757
A big Thank You to the original contributors of these ports: * Alexander Botero-Lowry <alex@foxybanana.com> * Alexey Dokuchaev <danfe@FreeBSD.org> * Andrew Pantyukhin <infofarmer@FreeBSD.org> * Attila Nagy <bra@fsn.hu> * Chad J. Milios <milios@ccsys.com> * Damian Gerow <dgerow@afflictions.org> * Daniel Morante <daniel@morante.net> * Dave Cottlehuber <dch@skunkwerks.at> * Dereckson <dereckson@gmail.com> * Devin Teske <dteske@FreeBSD.org> * Dmitriy Limonov * Doug Barton <dougb@FreeBSD.org> * Emanuel Haupt <ehaupt@FreeBSD.org> * Florent Thoumie <flz@xbsd.org> * Ganael LAPLANCHE <ganael.laplanche@martymac.org> * Gea-Suan Lin <gslin@gslin.org> * Holger Lamm <holger@e-gitt.net> * Holger Lamm <holger@e-gitt.net> and Mario S F Ferreira <lioux@FreeBSD.org> * Jeremy Faulkner <gldisater@gldis.ca> * Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> * Martin Matuska <mm@FreeBSD.org> * Maxim Ignatenko <gelraen.ua@gmail.com> * Michael Johnson <ahze@ahze.net> * Munish Chopra <mchopra@engmail.uwaterloo.ca> * Oleg Alexeenkov <proler@gmail.com> * Oleg R. Muhutdinov <mor@WhiteLuna.com> * Pankov Pavel <pankov_p@mail.ru> * Pav Lucistnik <pav@oook.cz> * Rod Taylor <rbt@zort.on.ca> * Ryan Steinmetz <zi@FreeBSD.org> * Shaun Amott <shaun@FreeBSD.org> * Stas Timokhin <stast@bsdportal.ru> * Sverrir Valgeirsson <e96sv@yahoo.se> and * Tsung-Han Yeh <snowfly@yuntech.edu.tw> * Vasil Dimov <vd@FreeBSD.org> * Yashin Dmitry <yashin.dm@gmail.com> * glocke@bsdstammtisch.at With hat: portmgr
66 lines
2.4 KiB
Makefile
66 lines
2.4 KiB
Makefile
PORTNAME= qtum
|
|
PORTVERSION= 0.20.3
|
|
DISTVERSIONPREFIX= mainnet-fastlane-v
|
|
PORTREVISION= 3
|
|
CATEGORIES= net-p2p finance
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= PoS cryptocurrency that can execute smart contract as part of an UTXO
|
|
|
|
LICENSE= GPLv3
|
|
|
|
BROKEN_i386= does not compile: invalid operand for instruction ... ASJ(jnz, 0, b) ... "jnz"
|
|
BROKEN= does not compile: error: expected ';' after expression
|
|
|
|
BUILD_DEPENDS= libzmq4>0:net/libzmq4
|
|
RUN_DEPENDS= libzmq4>0:net/libzmq4
|
|
LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \
|
|
libevent.so:devel/libevent \
|
|
libgmp.so:math/gmp \
|
|
libminiupnpc.so:net/miniupnpc \
|
|
libprotobuf.so:devel/protobuf \
|
|
libqrencode.so:graphics/libqrencode
|
|
|
|
USES= autoreconf bdb:5+ compiler:c++14-lang cpe gmake libtool pkgconfig qt:5 ssl
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV+= BDB_CFLAGS="-I${BDB_INCLUDE_DIR}" \
|
|
BDB_LIBS="-L${BDB_LIB_DIR} -l${BDB_LIB_CXX_NAME}" \
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
CPPFLAGS="-I${LOCALBASE}/include"
|
|
# * Man pages have not been adjusted after cloning the Bitcoin code base.
|
|
# They are the old Bitcoin man pages, so do not install them.
|
|
# * --with-incompatible-bdb is required in order to use bdb-5.
|
|
# * Do not install unneeded include/bitcoinconsensus.h and
|
|
# lib/libbitcoinconsensus.* (--without-libs)
|
|
CONFIGURE_ARGS= --disable-man \
|
|
--with-gui=qt5 \
|
|
--with-incompatible-bdb \
|
|
--with-miniupnpc=${LOCALBASE} \
|
|
--with-qrencode \
|
|
--without-libs
|
|
|
|
USE_QT= buildtools core dbus gui linguisttools network testlib widgets
|
|
USE_GITHUB= yes
|
|
GH_TUPLE= qtumproject:qtum:${DISTVERSIONPREFIX}${PORTVERSION} \
|
|
qtumproject:cpp-eth-qtum:3f8e2fa7a3b97:cppeth1/src/cpp-ethereum \
|
|
ethereum:cable:3fc90c6eed80a2cbe81e968:cppeth2/src/cpp-ethereum/cmake/cable \
|
|
chfast:ethash:67a3216a5494834f7c221df9:cppeth3/src/cpp-ethereum/ethash \
|
|
ethereum:evmc:1de783316a95fccb4fe7c24f:cppeth4/src/cpp-ethereum/evmc
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
# The ./configure script tries to use pkg-config to derive the SSL CFLAGS and
|
|
# libraries, but pkg-config requires libssl.pc which is only installed by the
|
|
# ports' security/openssl and not present in the base system. So if we are to
|
|
# use the base's SSL, then we trick ./configure to not use pkg-config by
|
|
# setting some related environment variables.
|
|
.if ${SSL_DEFAULT} == base
|
|
CONFIGURE_ENV+= CRYPTO_CFLAGS="-I${OPENSSLINC}" \
|
|
CRYPTO_LIBS="-lcrypto" \
|
|
SSL_CFLAGS="-I${OPENSSLINC}" \
|
|
SSL_LIBS="-lssl"
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|