From 67088d05cbdbb4829a2d79707d9793554c2fdefa Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Mon, 16 Feb 2015 08:12:16 +0000 Subject: Improve style/consistency among the ports I maintain - Convert to COPYTREE_SHARE - Drop unnecessary MKDIR before COPYTREE_SHARE - Drop bsd.port.options.mk if only DOCS requires it without dependencies - Use separate backup if several REINPLACE_CMD against the same file - audio/alsa-utils: convert to LIBS Differential Revision: https://reviews.freebsd.org/D1851 Approved by: bapt (mentor) --- net-p2p/transmission-cli/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'net-p2p/transmission-cli') diff --git a/net-p2p/transmission-cli/Makefile b/net-p2p/transmission-cli/Makefile index 64aa69493cf4..144779bcb8c9 100644 --- a/net-p2p/transmission-cli/Makefile +++ b/net-p2p/transmission-cli/Makefile @@ -112,10 +112,8 @@ general-patch: post-patch: general-patch general-install: - @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for i in ${DOCS} - @${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} -.endfor + (cd ${WRKSRC} && ${COPYTREE_SHARE} \ + "${DOCS}" ${STAGEDIR}${DOCSDIR}) post-install: general-install -- cgit v1.2.3