svn commit: r343493 - head/net-p2p/cpuminer

Antoine Brodin antoine at FreeBSD.org
Sun Feb 9 12:46:39 UTC 2014


Author: antoine
Date: Sun Feb  9 12:46:38 2014
New Revision: 343493
URL: http://svnweb.freebsd.org/changeset/ports/343493
QAT: https://qat.redports.org/buildarchive/r343493/

Log:
  Fix plist

Modified:
  head/net-p2p/cpuminer/Makefile

Modified: head/net-p2p/cpuminer/Makefile
==============================================================================
--- head/net-p2p/cpuminer/Makefile	Sun Feb  9 12:46:09 2014	(r343492)
+++ head/net-p2p/cpuminer/Makefile	Sun Feb  9 12:46:38 2014	(r343493)
@@ -3,7 +3,7 @@
 
 PORTNAME=	cpuminer
 PORTVERSION=	2.3.2
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net-p2p math
 MASTER_SITES=	SF
 MASTER_SITE_SUBDIR=	cpuminer
@@ -24,11 +24,12 @@ AUTOMAKE_ARGS=	--gnu --add-missing --cop
 USE_GCC?=	yes
 
 PLIST_FILES=	bin/minerd
+PORTDOCS=	NEWS README
+
+OPTIONS_DEFINE=	DOCS
 
 post-install:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}/
-.for FILE in NEWS README
-	${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}/
-.endfor
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list