View | Details | Raw Unified | Return to bug 201025
Collapse All | Expand All

(-)net-p2p/digitalcoin/Makefile (-9 / +18 lines)
Lines 3-14 Link Here
3
3
4
PORTNAME=	digitalcoin
4
PORTNAME=	digitalcoin
5
PORTVERSION=	1.0.0.0b
5
PORTVERSION=	1.0.0.0b
6
PORTREVISION=	3
6
PORTREVISION=	4
7
CATEGORIES=	net-p2p
7
CATEGORIES=	net-p2p
8
8
9
MAINTAINER=	myst3r10n@rocketmail.com
9
MAINTAINER=	myst3r10n@rocketmail.com
10
COMMENT=	Alternative Bitcoin peer-to-peer currency client
10
COMMENT=	Alternative Bitcoin peer-to-peer currency client
11
11
12
LICENSE=	MIT
13
LICENSE_FILE=	${WRKSRC}/COPYING
14
12
LIB_DEPENDS=	libboost_date_time.so:${PORTSDIR}/devel/boost-libs \
15
LIB_DEPENDS=	libboost_date_time.so:${PORTSDIR}/devel/boost-libs \
13
		libminiupnpc.so:${PORTSDIR}/net/miniupnpc
16
		libminiupnpc.so:${PORTSDIR}/net/miniupnpc
14
17
Lines 16-28 Link Here
16
GH_ACCOUNT=	baritus
19
GH_ACCOUNT=	baritus
17
GH_TAGNAME=	96b098a
20
GH_TAGNAME=	96b098a
18
21
19
USES=		gmake
22
USES=		desktop-file-utils gmake
20
USE_OPENSSL=	yes
23
USE_OPENSSL=	yes
21
USE_BDB=	yes
24
USE_BDB=	yes
22
WANT_BDB_VER=	48
25
WANT_BDB_VER=	48
23
USE_QT4=	corelib gui qmake_build linguist uic moc rcc
26
USE_QT4=	corelib gui qmake_build linguisttools_build uic_build \
27
		moc_build rcc_build
24
28
25
PLIST_FILES=	bin/${BINARY} share/applications/digitalcoin-qt.desktop share/pixmaps/digitalcoin.png
29
PLIST_FILES=	bin/${BINARY} share/applications/digitalcoin-qt.desktop \
30
		share/pixmaps/digitalcoin.png
26
31
27
BINARY=		digitalcoin-qt
32
BINARY=		digitalcoin-qt
28
33
Lines 30-38 Link Here
30
35
31
do-configure:
36
do-configure:
32
	cd ${WRKSRC} && ${SETENV} ${QMAKE_ENV} \
37
	cd ${WRKSRC} && ${SETENV} ${QMAKE_ENV} \
33
		${QMAKE} ${QMAKE_ARGS} USE_UPNP=${QMAKE_USE_UPNP} USE_QRCODE=${QMAKE_USE_QRCODE} \
38
		${QMAKE} ${QMAKE_ARGS} USE_UPNP=${QMAKE_USE_UPNP} \
34
		QMAKE_LRELEASE=lrelease-qt4 PREFIX=${PREFIX} INCLUDEPATH=${BDB_INCLUDE_DIR} \
39
			USE_QRCODE=${QMAKE_USE_QRCODE} \
35
		QMAKE_LIBDIR+=${BDB_LIB_DIR} ${PORTNAME}-qt.pro
40
			QMAKE_LRELEASE=lrelease-qt4 PREFIX=${PREFIX} \
41
			INCLUDEPATH=${BDB_INCLUDE_DIR} \
42
			QMAKE_LIBDIR+=${BDB_LIB_DIR} ${PORTNAME}-qt.pro
36
43
37
do-install:
44
do-install:
38
	@${MKDIR} ${PREFIX}/bin
45
	@${MKDIR} ${PREFIX}/bin
Lines 42-48 Link Here
42
		-e 's,Bitcoin,Digitalcoin,g' \
49
		-e 's,Bitcoin,Digitalcoin,g' \
43
		-e 's,xpm,png,g' \
50
		-e 's,xpm,png,g' \
44
		-e 's,80,,g' ${WRKSRC}/contrib/debian/bitcoin-qt.desktop
51
		-e 's,80,,g' ${WRKSRC}/contrib/debian/bitcoin-qt.desktop
45
	${INSTALL} ${WRKSRC}/contrib/debian/bitcoin-qt.desktop ${STAGEDIR}${PREFIX}/share/applications/digitalcoin-qt.desktop
52
	${INSTALL} ${WRKSRC}/contrib/debian/bitcoin-qt.desktop \
46
	${INSTALL} ${WRKSRC}/src/qt/res/icons/bitcoin.png ${STAGEDIR}${PREFIX}/share/pixmaps/digitalcoin.png
53
	    ${STAGEDIR}${PREFIX}/share/applications/digitalcoin-qt.desktop
54
	${INSTALL} ${WRKSRC}/src/qt/res/icons/bitcoin.png \
55
	    ${STAGEDIR}${PREFIX}/share/pixmaps/digitalcoin.png
47
56
48
.include <bsd.port.post.mk>
57
.include <bsd.port.post.mk>
(-)net-p2p/digitalcoin/files/patch-src__net.cpp (-3 / +3 lines)
Lines 1-6 Link Here
1
--- src/net.cpp.orig	2014-01-18 04:31:19.000000000 +0000
1
--- src/net.cpp.orig	2013-10-13 13:51:25 UTC
2
+++ src/net.cpp	2014-01-18 04:32:57.000000000 +0000
2
+++ src/net.cpp
3
@@ -58,7 +58,7 @@
3
@@ -58,7 +58,7 @@ static bool vfReachable[NET_MAX] = {};
4
 static bool vfLimited[NET_MAX] = {};
4
 static bool vfLimited[NET_MAX] = {};
5
 static CNode* pnodeLocalHost = NULL;
5
 static CNode* pnodeLocalHost = NULL;
6
 uint64 nLocalHostNonce = 0;
6
 uint64 nLocalHostNonce = 0;
(-)net-p2p/digitalcoin/files/patch-src__qt__qtipcserver.cpp (-3 / +3 lines)
Lines 1-6 Link Here
1
--- src/qt/qtipcserver.cpp.orig	2014-01-18 05:21:31.335425774 +0000
1
--- src/qt/qtipcserver.cpp.orig	2013-10-13 13:51:25 UTC
2
+++ src/qt/qtipcserver.cpp	2014-01-18 05:22:33.976421840 +0000
2
+++ src/qt/qtipcserver.cpp
3
@@ -21,7 +21,7 @@
3
@@ -21,7 +21,7 @@ using namespace boost::posix_time;
4
 
4
 
5
 static void ipcThread2(void* pArg);
5
 static void ipcThread2(void* pArg);
6
 
6
 
(-)net-p2p/digitalcoin/files/patch-src__serialize.h (-3 / +3 lines)
Lines 1-6 Link Here
1
--- ./src/serialize.h.orig	2013-09-24 01:50:35.661706153 +0000
1
--- src/serialize.h.orig	2013-10-13 13:51:25 UTC
2
+++ ./src/serialize.h	2013-09-24 01:50:52.913703572 +0000
2
+++ src/serialize.h
3
@@ -895,19 +895,6 @@
3
@@ -809,19 +809,6 @@ public:
4
     iterator insert(iterator it, const char& x=char()) { return vch.insert(it, x); }
4
     iterator insert(iterator it, const char& x=char()) { return vch.insert(it, x); }
5
     void insert(iterator it, size_type n, const char& x) { vch.insert(it, n, x); }
5
     void insert(iterator it, size_type n, const char& x) { vch.insert(it, n, x); }
6
 
6
 

Return to bug 201025