summaryrefslogtreecommitdiff
path: root/net-p2p/transmission-cli
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2015-02-16 08:12:16 +0000
committerJan Beich <jbeich@FreeBSD.org>2015-02-16 08:12:16 +0000
commit67088d05cbdbb4829a2d79707d9793554c2fdefa (patch)
tree15b7fb4d0adb0bb984e8f54f15f7f12e613d3f39 /net-p2p/transmission-cli
parentDon't use the default backup suffix (diff)
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)
Notes
Notes: svn path=/head/; revision=379072
Diffstat (limited to 'net-p2p/transmission-cli')
-rw-r--r--net-p2p/transmission-cli/Makefile6
1 files changed, 2 insertions, 4 deletions
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