diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2015-02-16 08:12:16 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2015-02-16 08:12:16 +0000 |
commit | 67088d05cbdbb4829a2d79707d9793554c2fdefa (patch) | |
tree | 15b7fb4d0adb0bb984e8f54f15f7f12e613d3f39 /net-p2p/transmission-cli | |
parent | Don'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/Makefile | 6 |
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 |