aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2013-11-06 07:42:18 +0000
committerMartin Matuska <mm@FreeBSD.org>2013-11-06 07:42:18 +0000
commita685fc8b6d8ce648779c64a680021efe92fcfc66 (patch)
tree84fd461643dea85efb2709adda1fac935b317477 /net-p2p
parent926f8799f64c119635b22bb2a1e9498e89755341 (diff)
downloadports-a685fc8b6d8ce648779c64a680021efe92fcfc66.tar.gz
ports-a685fc8b6d8ce648779c64a680021efe92fcfc66.zip
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/cpuminer/Makefile19
-rw-r--r--net-p2p/cpuminer/distinfo4
-rw-r--r--net-p2p/cpuminer/pkg-plist1
3 files changed, 10 insertions, 14 deletions
diff --git a/net-p2p/cpuminer/Makefile b/net-p2p/cpuminer/Makefile
index 2706e0e57621..24acd2cfe23f 100644
--- a/net-p2p/cpuminer/Makefile
+++ b/net-p2p/cpuminer/Makefile
@@ -3,26 +3,25 @@
PORTNAME= cpuminer
PORTVERSION= 2.3.2
+PORTREVISION= 1
CATEGORIES= net-p2p math
+MASTER_SITES= SF
+MASTER_SITE_SUBDIR= cpuminer
+DISTNAME= pooler-${PORTNAME}-${PORTVERSION}
MAINTAINER= mm@FreeBSD.org
COMMENT= CPU miner for Litecoin and Bitcoin
LICENSE= GPLv2
-LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl \
- jansson:${PORTSDIR}/devel/jansson
-
-USE_GITHUB= yes
-GH_ACCOUNT= pooler
-GH_TAGNAME= v${PORTVERSION}
-GH_COMMIT= 8b30b7b
+LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \
+ libjansson.so:${PORTSDIR}/devel/jansson
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_AUTOTOOLS= aclocal autoheader automake autoconf
AUTOMAKE_ARGS= --gnu --add-missing --copy
-GNU_CONFIGURE= yes
-.include <bsd.port.options.mk>
+PLIST_FILES= bin/minerd
.include <bsd.port.pre.mk>
@@ -31,11 +30,9 @@ USE_GCC= yes
.endif
post-install:
-.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}/
.for FILE in NEWS README
${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}/
.endfor
-.endif
.include <bsd.port.post.mk>
diff --git a/net-p2p/cpuminer/distinfo b/net-p2p/cpuminer/distinfo
index 0c1645ac350d..8cb7b5953769 100644
--- a/net-p2p/cpuminer/distinfo
+++ b/net-p2p/cpuminer/distinfo
@@ -1,2 +1,2 @@
-SHA256 (cpuminer-2.3.2.tar.gz) = c5f29f293e1b23b15a29e6e3569ca8cc6e963692677b1af9f9f1402e6884ef16
-SIZE (cpuminer-2.3.2.tar.gz) = 94862
+SHA256 (pooler-cpuminer-2.3.2.tar.gz) = 6fb2a96876fddd426b4b9a4d3861bfe9a605584a1fcc695f477882c45159b683
+SIZE (pooler-cpuminer-2.3.2.tar.gz) = 225137
diff --git a/net-p2p/cpuminer/pkg-plist b/net-p2p/cpuminer/pkg-plist
deleted file mode 100644
index cb0a605550d2..000000000000
--- a/net-p2p/cpuminer/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-bin/minerd