diff options
Diffstat (limited to 'net-p2p/cpuminer/Makefile')
-rw-r--r-- | net-p2p/cpuminer/Makefile | 11 |
1 files 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 <bsd.port.mk> |