Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Dec 2015 01:42:51 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r404801 - head/net-p2p/btpd
Message-ID:  <201512300142.tBU1gpLA068178@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512300142.tBU1gpLA068178>