1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/net-p2p/dogecoin/Makefile
Tobias C. Berner b1a1d38bf9 Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
From now on, ports that depend on Qt4 will have to set
	USES=		qt:4
	USE_QT=		foo bar
ports depending on Qt5 will use
	USES=		qt:5
	USE_QT=		foo bar

PR:		229225
Exp-run by:	antoine
Reviewed by:	mat
Approved by:	portmgr (antoine)
Differential Revision:	→https://reviews.freebsd.org/D15540
2018-06-28 17:39:53 +00:00

71 lines
1.9 KiB
Makefile

# Created by: Shaun Amott <shaun@FreeBSD.org>
# $FreeBSD$
PORTNAME= dogecoin
PORTVERSION= 1.10.0
DISTVERSIONPREFIX= v
PORTREVISION= 6
CATEGORIES= net-p2p finance
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= P2P crypto currency client favored by shiba inus worldwide
LICENSE= MIT
BROKEN= fails to build with boost 1.66, see bug 224131
NOT_FOR_ARCHS= powerpc powerpc64 sparc64
NOT_FOR_ARCHS_REASON= fails to configure: "Big Endian not supported"
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libprotobuf.so:devel/protobuf
USES= autoreconf bdb compiler:gcc-c++11-lib gmake libtool \
localbase:ldconfig pkgconfig ssl
USE_CXXSTD= c++11
USE_GITHUB= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
OPTIONS_SUB= yes
OPTIONS_DEFINE= GUI UPNP UTILS QRCODES
OPTIONS_DEFAULT=GUI UPNP UTILS QRCODES
GUI_DESC= Build as a QT5 GUI
UPNP_DESC= Build with UPNP support
UTILS_DESC= Build with additional cli utils
QRCODES_DESC= Build with QR code display
CONFIGURE_ARGS+= --with-incompatible-bdb --disable-tests
GUI_CONFIGURE_ARGS= --with-gui=qt5
GUI_CONFIGURE_OFF= --with-gui=no
GUI_USE= QT=buildtools,core,dbus,gui,linguist_build,network,printsupport,testlib,widgets
GUI_USES= desktop-file-utils qt:5
QRCODES_CONFIGURE_WITH= qrencode
QRCODES_LIB_DEPENDS= libqrencode.so:graphics/libqrencode
UPNP_CONFIGURE_WITH= miniupnpc
UPNP_LIB_DEPENDS= libminiupnpc.so:net/miniupnpc
UTILS_CONFIGURE_WITH= utils
CONFIGURE_ENV= SSL_CFLAGS="-I${OPENSSLINC} -L${OPENSSLLIB}" SSL_LIBS="-lssl" \
CRYPTO_CFLAGS="-I${OPENSSLINC} -L${OPENSSLLIB}" CRYPTO_LIBS="-lcrypto"
CXXFLAGS+= -I${BDB_INCLUDE_DIR}
LDFLAGS+= -L${BDB_LIB_DIR}
SUB_FILES= dogecoin-qt.desktop
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libbitcoinconsensus.so.0.0.0
post-install-GUI-on:
${INSTALL} ${WRKDIR}/dogecoin-qt.desktop \
${STAGEDIR}${PREFIX}/share/applications
${INSTALL} ${WRKSRC}/src/qt/res/icons/bitcoin.png \
${STAGEDIR}${PREFIX}/share/pixmaps/dogecoin64.png
.include <bsd.port.mk>