Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Nov 2013 07:42:18 +0000 (UTC)
From:      Martin Matuska <mm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332951 - head/net-p2p/cpuminer
Message-ID:  <201311060742.rA67gIUw066975@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mm
Date: Wed Nov  6 07:42:18 2013
New Revision: 332951
URL: http://svnweb.freebsd.org/changeset/ports/332951

Log:
  Simplify port and use SF for DISTFILES

Deleted:
  head/net-p2p/cpuminer/pkg-plist
Modified:
  head/net-p2p/cpuminer/Makefile
  head/net-p2p/cpuminer/distinfo

Modified: head/net-p2p/cpuminer/Makefile
==============================================================================
--- head/net-p2p/cpuminer/Makefile	Wed Nov  6 07:41:17 2013	(r332950)
+++ head/net-p2p/cpuminer/Makefile	Wed Nov  6 07:42:18 2013	(r332951)
@@ -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>

Modified: head/net-p2p/cpuminer/distinfo
==============================================================================
--- head/net-p2p/cpuminer/distinfo	Wed Nov  6 07:41:17 2013	(r332950)
+++ head/net-p2p/cpuminer/distinfo	Wed Nov  6 07:42:18 2013	(r332951)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311060742.rA67gIUw066975>