From d6127f34bc8bd48728f2c850a949bcac2952d195 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Sun, 9 Feb 2014 12:46:38 +0000 Subject: [PATCH] Fix plist --- net-p2p/cpuminer/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/net-p2p/cpuminer/Makefile b/net-p2p/cpuminer/Makefile index b69036bd6b6c..3cf760b2e8a5 100644 --- a/net-p2p/cpuminer/Makefile +++ b/net-p2p/cpuminer/Makefile @@ -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 --copy 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