Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= zetacoin |
4 |
PORTNAME= zetacoin |
5 |
PORTVERSION= 0.9.2.4 |
5 |
PORTVERSION= 0.9.2.7 |
|
|
6 |
DISTVERSIONPREFIX= v |
6 |
CATEGORIES= net-p2p finance |
7 |
CATEGORIES= net-p2p finance |
7 |
|
8 |
|
8 |
MAINTAINER= daniel@morante.net |
9 |
MAINTAINER= daniel@morante.net |
Lines 10-22
Link Here
|
10 |
|
11 |
|
11 |
LICENSE= MIT |
12 |
LICENSE= MIT |
12 |
|
13 |
|
13 |
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconf |
|
|
14 |
LIB_DEPENDS= libboost_date_time.so:${PORTSDIR}/devel/boost-libs |
14 |
LIB_DEPENDS= libboost_date_time.so:${PORTSDIR}/devel/boost-libs |
15 |
|
15 |
|
|
|
16 |
USES+= autoreconf compiler:c++0x gmake libtool pkgconfig:build |
17 |
|
16 |
BROKEN_armv6= AtomicPointer not implemented |
18 |
BROKEN_armv6= AtomicPointer not implemented |
17 |
|
19 |
|
18 |
USE_GITHUB= yes |
20 |
USE_GITHUB= yes |
19 |
GH_TAGNAME= 22ddb9b |
|
|
20 |
|
21 |
|
21 |
OPTIONS_DEFINE= X11 UPNP WALLET CLI TEST |
22 |
OPTIONS_DEFINE= X11 UPNP WALLET CLI TEST |
22 |
OPTIONS_SUB= yes |
23 |
OPTIONS_SUB= yes |
Lines 23-49
Link Here
|
23 |
|
24 |
|
24 |
WALLET_DESC= Build wallet or P2P server node only |
25 |
WALLET_DESC= Build wallet or P2P server node only |
25 |
QRCODES_DESC= Enable QR code display when building graphical interface |
26 |
QRCODES_DESC= Enable QR code display when building graphical interface |
26 |
CLI_DESC= Build command line RPC client |
27 |
CLI_DESC= Build command line RPC client |
27 |
|
28 |
|
28 |
OPTIONS_DEFAULT= X11 WALLET QRCODES |
29 |
OPTIONS_DEFAULT= X11 WALLET QRCODES |
29 |
OPTIONS_GROUP= X11 |
30 |
OPTIONS_GROUP= X11 |
30 |
OPTIONS_GROUP_X11= QRCODES |
31 |
OPTIONS_GROUP_X11= QRCODES |
31 |
|
32 |
|
32 |
UPNP_CONFIGURE_WITH= miniupnpc |
33 |
UPNP_CONFIGURE_WITH= miniupnpc |
33 |
UPNP_LIB_DEPENDS= libminiupnpc.so:${PORTSDIR}/net/miniupnpc |
34 |
UPNP_LIB_DEPENDS= libminiupnpc.so:${PORTSDIR}/net/miniupnpc |
|
|
35 |
UPNP_CPPFLAGS= -I${LOCALBASE}/include |
36 |
UPNP_LIBS= -L${LOCALBASE}/lib |
34 |
|
37 |
|
35 |
X11_CONFIGURE_WITH= gui |
38 |
X11_CONFIGURE_WITH= gui |
36 |
X11_CONFIGURE_ON= --without-daemon |
39 |
X11_CONFIGURE_ON= --without-daemon |
37 |
X11_CONFIGURE_OFF= --with-daemon |
40 |
X11_CONFIGURE_OFF= --with-daemon |
38 |
X11_BUILD_DEPENDS= protoc:${PORTSDIR}/devel/protobuf |
41 |
X11_BUILD_DEPENDS= protoc:${PORTSDIR}/devel/protobuf |
|
|
42 |
X11_LIB_DEPENDS= libprotobuf.so:${PORTSDIR}/devel/protobuf |
39 |
X11_USE= qt4=corelib,network,gui,qmake_build,linguisttools_build \ |
43 |
X11_USE= qt4=corelib,network,gui,qmake_build,linguisttools_build \ |
40 |
qt4=uic_build,moc_build,rcc_build,qtestlib_build |
44 |
qt4=uic_build,moc_build,rcc_build,qtestlib_build |
41 |
X11_USES= desktop-file-utils |
45 |
X11_USES= desktop-file-utils |
42 |
|
46 |
|
43 |
WALLET_CONFIGURE_ENABLE= wallet |
47 |
WALLET_CONFIGURE_ENABLE= wallet |
44 |
WALLET_CXXFLAGS= -I${BDB_INCLUDE_DIR} -L${BDB_LIB_DIR} |
48 |
WALLET_CXXFLAGS= -I${BDB_INCLUDE_DIR} |
45 |
WALLET_USE= bdb=yes |
49 |
WALLET_LIBS= -L${BDB_LIB_DIR} |
|
|
50 |
WALLET_USE= bdb=48 |
46 |
|
51 |
|
|
|
52 |
QRCODES_IMPLIES= X11 |
47 |
QRCODES_LIB_DEPENDS= libqrencode.so:${PORTSDIR}/graphics/libqrencode |
53 |
QRCODES_LIB_DEPENDS= libqrencode.so:${PORTSDIR}/graphics/libqrencode |
48 |
QRCODES_CONFIGURE_WITH= qrencode |
54 |
QRCODES_CONFIGURE_WITH= qrencode |
49 |
|
55 |
|
Lines 53-68
Link Here
|
53 |
TEST_ALL_TARGET= check |
59 |
TEST_ALL_TARGET= check |
54 |
|
60 |
|
55 |
GNU_CONFIGURE= yes |
61 |
GNU_CONFIGURE= yes |
56 |
CONFIGURE_ENV= SSL_LIBS="-lssl" CRYPTO_LIBS="-lcrypto" SSL_CFLAGS="-I/usr/include" CRYPTO_CFLAGS="-I/usr/include" |
62 |
CONFIGURE_ENV= CRYPTO_CFLAGS="-I${OPENSSLINC}" CRYPTO_LIBS="-L${OPENSSLLIB} -lcrypto" \ |
57 |
|
63 |
SSL_CFLAGS="-I${OPENSSLINC}" SSL_LIBS="-L${OPENSSLLIB} -lssl" |
58 |
USES= autoreconf gmake |
|
|
59 |
USE_OPENSSL= yes |
64 |
USE_OPENSSL= yes |
60 |
WANT_BDB_VER= 48 |
|
|
61 |
|
65 |
|
62 |
CXXFLAGS+= -I${LOCALBASE}/include |
|
|
63 |
CXXFLAGS+= -L${LOCALBASE}/lib |
64 |
CXXFLAGS+= -Wno-invalid-offsetof |
65 |
|
66 |
QT_BINARY= ${PORTNAME}-qt |
66 |
QT_BINARY= ${PORTNAME}-qt |
67 |
CLI_BINARY= ${PORTNAME}-cli |
67 |
CLI_BINARY= ${PORTNAME}-cli |
68 |
DAEMON= ${PORTNAME}d |
68 |
DAEMON= ${PORTNAME}d |
Lines 74-81
Link Here
|
74 |
|
74 |
|
75 |
.include <bsd.port.options.mk> |
75 |
.include <bsd.port.options.mk> |
76 |
|
76 |
|
77 |
.if empty(PORT_OPTIONS:MX11) && !empty(PORT_OPTIONS:MQRCODES) |
77 |
.if ${PORT_OPTIONS:MX11} |
78 |
BROKEN= QRCODES requires X11 support. Run 'make config' again! |
78 |
QT_NONSTANDARD= yes |
79 |
.endif |
79 |
.endif |
80 |
|
80 |
|
81 |
# tests will currently fail |
81 |
# tests will currently fail |