Date: Sat, 5 Apr 2014 15:27:39 GMT From: Pawel Pekala <pawel@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/188292: [PATCH] bsd.port.mk document COPYTREE_BIN COPYTREE_SHARE Message-ID: <201404051527.s35FRdvs041546@cgiserv.freebsd.org> Resent-Message-ID: <201404051530.s35FU0T3040600@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404051527.s35FRdvs041546>