diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2011-12-14 23:29:47 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2011-12-14 23:29:47 +0000 |
commit | b4f819830622acb80136c124ba5174dd188c5ee5 (patch) | |
tree | a10ea931ddeb9db254578e86d0c0ae9a3070c1d1 | |
parent | 11b3076bbac66552657bc1f8e1a3a6b34e80be08 (diff) | |
download | ports-b4f819830622acb80136c124ba5174dd188c5ee5.tar.gz ports-b4f819830622acb80136c124ba5174dd188c5ee5.zip |
Notes
-rw-r--r-- | net-p2p/Makefile | 1 | ||||
-rw-r--r-- | net-p2p/solidcoin/Makefile | 71 | ||||
-rw-r--r-- | net-p2p/solidcoin/distinfo | 2 | ||||
-rw-r--r-- | net-p2p/solidcoin/pkg-descr | 6 |
4 files changed, 80 insertions, 0 deletions
diff --git a/net-p2p/Makefile b/net-p2p/Makefile index 8636a6458cf6..bb14d053587b 100644 --- a/net-p2p/Makefile +++ b/net-p2p/Makefile @@ -93,6 +93,7 @@ SUBDIR += rtorrent SUBDIR += rtorrent-devel SUBDIR += sharktorrent + SUBDIR += solidcoin SUBDIR += squall SUBDIR += teknap SUBDIR += torrentsniff diff --git a/net-p2p/solidcoin/Makefile b/net-p2p/solidcoin/Makefile new file mode 100644 index 000000000000..36e8d2269f61 --- /dev/null +++ b/net-p2p/solidcoin/Makefile @@ -0,0 +1,71 @@ +# New ports collection makefile for: solidcoin +# Date created: 6 November 2011 +# Whom: Dmitriy Limonov +# +# $FreeBSD$ +# + +PORTNAME= solidcoin +PORTVERSION= 2.01 +CATEGORIES= net-p2p finance +MASTER_SITES= http://solidcoin.info/downloads/ +DISTNAME= ${PORTNAME}-201-source + +MAINTAINER= earl1k@mail.ru +COMMENT= Alternative Bitcoin peer-to-peer currency client + +BUILD_DEPENDS= ${LOCALBASE}/include/boost/graph/parallel/algorithm.hpp:${PORTSDIR}/devel/boost-libs +LIB_DEPENDS= boost_date_time.4:${PORTSDIR}/devel/boost-libs + +OPTIONS= GUI "Build with wxWidgets GUI" on + +USE_ZIP= yes +USE_GMAKE= yes +USE_OPENSSL= yes +USE_BDB= yes +WANT_BDB_VER= 47 +MAKE_JOBS_SAFE= yes + +CXXFLAGS+= -I${LOCALBASE}/include -I${BDB_INCLUDE_DIR} +CXXFLAGS+= -L${LOCALBASE}/lib -L${BDB_LIB_DIR} +CXXFLAGS+= -Wno-invalid-offsetof + +WRKSRC= ${WRKDIR}/src + +.include <bsd.port.options.mk> + +.if defined(WITH_GUI) && !defined(WITHOUT_X11) +USE_WX= 2.9 +DESKTOP_ENTRIES="Solidcoin" "${COMMENT}" "" "${PORTNAME}" "" "true" + +WX_CONFIG= ${LOCALBASE}/bin/wxgtk2u-2.9-config +BINARY= solidcoin +.else +USE_GNOME= glib20 + +BINARY= solidcoind +ALL_TARGET= ${BINARY} +.endif + +PLIST_FILES= bin/${BINARY} + +post-extract: + @${CP} ${WRKSRC}/../build/makefile.unix ${WRKSRC}/Makefile +post-patch: + @echo '18i\' > ${WRKSRC}/sed.in + @echo '#ifndef __STDC_LIMIT_MACROS' >> ${WRKSRC}/sed.in + @echo '19i\' >> ${WRKSRC}/sed.in + @echo '#endif' >> ${WRKSRC}/sed.in + @${REINPLACE_CMD} \ + -f ${WRKSRC}/sed.in \ + ${WRKSRC}/headers.h + @${REINPLACE_CMD} \ + -e 's|^CXXFLAGS=.*$$|CXXFLAGS += $$(DEFS)|' \ + -e '/-l dl/d' \ + -e 's|../../wxWidgets-2.9.2/wx-config|${WX_CONFIG}|' \ + ${WRKSRC}/Makefile +do-install: + @${MKDIR} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/${BINARY} ${PREFIX}/bin/ + +.include <bsd.port.mk> diff --git a/net-p2p/solidcoin/distinfo b/net-p2p/solidcoin/distinfo new file mode 100644 index 000000000000..a6994e8a2143 --- /dev/null +++ b/net-p2p/solidcoin/distinfo @@ -0,0 +1,2 @@ +SHA256 (solidcoin-201-source.zip) = 33341e20087d0ef6a44aa59b9b4eeb7da3ff7b5fa75e023b9e8556888c9fc828 +SIZE (solidcoin-201-source.zip) = 822118 diff --git a/net-p2p/solidcoin/pkg-descr b/net-p2p/solidcoin/pkg-descr new file mode 100644 index 000000000000..085a7bd31688 --- /dev/null +++ b/net-p2p/solidcoin/pkg-descr @@ -0,0 +1,6 @@ +SolidCoin is an open source digital currency, originally based on Bitcoin, +but now heavily modified and improved. SolidCoin works over a distributed +peer-to-peer network to offer irreversible, low-cost, anonymous and +decentralized monetary transactions. + +WWW: http://solidcoin.info |