Bug 188292 - [PATCH] bsd.port.mk document COPYTREE_BIN COPYTREE_SHARE
Summary: [PATCH] bsd.port.mk document COPYTREE_BIN COPYTREE_SHARE
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-05 16:30 UTC by Pawel Pekala
Modified: 2014-04-05 17:10 UTC (History)
0 users

See Also:


Attachments
file.diff (835 bytes, patch)
2014-04-05 16:30 UTC, Pawel Pekala
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pawel Pekala freebsd_committer freebsd_triage 2014-04-05 16:30:00 UTC
Doing staging work I noticed that COPYTREE_* commands are underused IMHO.
Document them so hopefully they will be more visible and widely used.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-04-05 16:30:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

bsd.port.mk is portmgr territory (via the GNATS Auto Assign Tool)
Comment 2 Baptiste Daroussin freebsd_committer freebsd_triage 2014-04-05 16:35:20 UTC
On Sat, Apr 05, 2014 at 03:27:39PM +0000, Pawel Pekala wrote:
> 
> >Number:         188292
> >Category:       ports
> >Synopsis:       [PATCH] bsd.port.mk document COPYTREE_BIN COPYTREE_SHARE
> >Confidential:   no
> >Severity:       non-critical
> >Priority:       low
> >Responsible:    freebsd-ports-bugs
> >State:          open
> >Quarter:        
> >Keywords:       
> >Date-Required:
> >Class:          change-request
> >Submitter-Id:   current-users
> >Arrival-Date:   Sat Apr 05 15:30:00 UTC 2014
> >Closed-Date:
> >Last-Modified:
> >Originator:     Pawel Pekala
> >Release:        10.0
> >Organization:
> >Environment:
> FreeBSD caprica.slowicza.org 10.0-STABLE FreeBSD 10.0-STABLE #2 r262297: Fri Feb 21 17:42:25 CET 2014     root@caprica.slowicza.org:/usr/obj/usr/src/sys/GENERIC  i386
> >Description:
> Doing staging work I noticed that COPYTREE_* commands are underused IMHO.
> Document them so hopefully they will be more visible and widely used.
> >How-To-Repeat:
> 
> >Fix:
> 
> 
> Patch attached with submission follows:
> 
> Index: bsd.port.mk
> ===================================================================
> --- bsd.port.mk	(wersja 350228)
> +++ bsd.port.mk	(kopia robocza)
> @@ -587,7 +587,17 @@
>  # 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.
>  #
>  # NO_INSTALL_MANPAGES
> 
> 
> >Release-Note:
> >Audit-Trail:
> >Unformatted:
> _______________________________________________
> freebsd-ports-bugs@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
> To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe@freebsd.org"


please commit

regards,
Bapt
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-04-05 17:08:22 UTC
Author: pawel
Date: Sat Apr  5 16:08:16 2014
New Revision: 350242
URL: http://svnweb.freebsd.org/changeset/ports/350242
QAT: https://qat.redports.org/buildarchive/r350242/

Log:
  Document COPYTREE_BIN, COPYTREE_SHARE commands
  
  PR:		ports/188292
  Submitted by:	myself
  Approved by:	portmgr (bapt)

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Sat Apr  5 16:06:05 2014	(r350241)
+++ head/Mk/bsd.port.mk	Sat Apr  5 16:08:16 2014	(r350242)
@@ -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.
 #
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Pawel Pekala freebsd_committer freebsd_triage 2014-04-05 17:08:57 UTC
State Changed
From-To: open->closed

Committed. Thanks!