aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-12-30 09:42:51 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-12-30 09:42:51 +0800
commit410439a59ec3f533b7f684f41514cccff6b0ecfb (patch)
treee48decc0e03d5d617287d215236dc18b71614f09 /net-p2p
parentd035c1ab86b6603489f60e2c66fe25433a9288d1 (diff)
downloadfreebsd-ports-gnome-410439a59ec3f533b7f684f41514cccff6b0ecfb.tar.gz
freebsd-ports-gnome-410439a59ec3f533b7f684f41514cccff6b0ecfb.tar.zst
freebsd-ports-gnome-410439a59ec3f533b7f684f41514cccff6b0ecfb.zip
- Switch to options helpers
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/btpd/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/net-p2p/btpd/Makefile b/net-p2p/btpd/Makefile
index a6637514b4c2..b34434b41f33 100644
--- a/net-p2p/btpd/Makefile
+++ b/net-p2p/btpd/Makefile
@@ -12,8 +12,6 @@ COMMENT= Bittorrent client consisting of a daemon and client commands
LICENSE= BSD2CLAUSE BSD3CLAUSE
LICENSE_COMB= multi
-WRKSRC= ${WRKDIR}/${DISTNAME}
-
USE_GITHUB= yes
GH_ACCOUNT= ${PORTNAME}
@@ -23,8 +21,8 @@ GNU_CONFIGURE= yes
OPTIONS_DEFINE= DOCS
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- (cd ${WRKSRC} && ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR})
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>