aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-04-05 16:08:16 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-04-05 16:08:16 +0000
commite58af7ef983787dbe6c8ba74aeee17a946007eb1 (patch)
tree6d1cb45404ed4187307714a2a52dcd4fc488d477 /Mk/bsd.port.mk
parentf8d29aefdb5a8657fe327ac36020085fe8ec5085 (diff)
downloadports-e58af7ef983787dbe6c8ba74aeee17a946007eb1.tar.gz
ports-e58af7ef983787dbe6c8ba74aeee17a946007eb1.zip
Document COPYTREE_BIN, COPYTREE_SHARE commands
PR: ports/188292 Submitted by: myself Approved by: portmgr (bapt)
Notes
Notes: svn path=/head/; revision=350242
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 7f9696d95d11..2f666ebfd5da 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -587,6 +587,16 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# INSTALL_DATA - A command to install sharable data.
# INSTALL_MAN - A command to install manpages. May or not compress,
# depending on the value of MANCOMPRESSED (see below).
+# COPYTREE_BIN
+# COPYTREE_SHARE
+# - Similiar to INSTALL commands but working on whole
+# trees of directories, takes 3 arguments, last one is
+# find(1) arguments and optional.
+# Example use:
+# cd ${WRKSRC}/doc && ${COPYTREE} . ${DOCSDIR} "! -name *.bak"
+#
+# Installs all directories and files from ${WRKSRC}/doc
+# to ${DOCSDIR} except sed backup files.
#
# Boolean to control whether manpages are installed.
#