svn commit: r404801 - head/net-p2p/btpd

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Dec 30 01:42:52 UTC 2015


Author: amdmi3
Date: Wed Dec 30 01:42:51 2015
New Revision: 404801
URL: https://svnweb.freebsd.org/changeset/ports/404801

Log:
  - Switch to options helpers

Modified:
  head/net-p2p/btpd/Makefile

Modified: head/net-p2p/btpd/Makefile
==============================================================================
--- head/net-p2p/btpd/Makefile	Wed Dec 30 01:42:41 2015	(r404800)
+++ head/net-p2p/btpd/Makefile	Wed Dec 30 01:42:51 2015	(r404801)
@@ -12,8 +12,6 @@ COMMENT=	Bittorrent client consisting of
 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>


More information about the svn-ports-head mailing list