aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-02-09 20:46:38 +0800
committerantoine <antoine@FreeBSD.org>2014-02-09 20:46:38 +0800
commit1ede9ffa7f39a9a6d2f3617219f55fa3a01837b8 (patch)
tree656dad5e02adac4b72cef387c84b1d799149579d /net-p2p
parent1585ce597525f223276c6f6ff53fa94e62d7ff17 (diff)
downloadfreebsd-ports-gnome-1ede9ffa7f39a9a6d2f3617219f55fa3a01837b8.tar.gz
freebsd-ports-gnome-1ede9ffa7f39a9a6d2f3617219f55fa3a01837b8.tar.zst
freebsd-ports-gnome-1ede9ffa7f39a9a6d2f3617219f55fa3a01837b8.zip
Fix plist
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/cpuminer/Makefile11
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>