1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

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

PR:		ports/162335
Submitted by:	Dmitriy Limonov
This commit is contained in:
Pawel Pekala 2011-12-14 23:29:47 +00:00
parent 11b3076bba
commit b4f8198306
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=287398
4 changed files with 80 additions and 0 deletions

View File

@ -93,6 +93,7 @@
SUBDIR += rtorrent
SUBDIR += rtorrent-devel
SUBDIR += sharktorrent
SUBDIR += solidcoin
SUBDIR += squall
SUBDIR += teknap
SUBDIR += torrentsniff

View File

@ -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>

View File

@ -0,0 +1,2 @@
SHA256 (solidcoin-201-source.zip) = 33341e20087d0ef6a44aa59b9b4eeb7da3ff7b5fa75e023b9e8556888c9fc828
SIZE (solidcoin-201-source.zip) = 822118

View File

@ -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