diff options
Diffstat (limited to 'share/man/man5/bsd.port.mk.5')
-rw-r--r-- | share/man/man5/bsd.port.mk.5 | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/share/man/man5/bsd.port.mk.5 b/share/man/man5/bsd.port.mk.5 index aaca4352069..130e52cb5f4 100644 --- a/share/man/man5/bsd.port.mk.5 +++ b/share/man/man5/bsd.port.mk.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: bsd.port.mk.5,v 1.209 2008/03/24 14:41:35 ajacoutot Exp $ +.\" $OpenBSD: bsd.port.mk.5,v 1.210 2008/04/07 11:19:40 espie Exp $ .\" .\" Copyright (c) 2000 Marc Espie .\" @@ -24,7 +24,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: March 24 2008 $ +.Dd $Mdocdate: April 7 2008 $ .Dt BSD.PORT.MK 5 .Os .Sh NAME @@ -1614,6 +1614,26 @@ if port can only be built on architectures with shared libraries. Set to the sub package suffix when building a package in a multi-package port. Read-only. Used to test for dependencies or to adjust the package name. +.It Ev SUBST_CMD +A command that can be used to perform +.Ev VAR_SUBST +substitution on arbitrary files. +In normal mode, +.Pp +.Dl ${SUBST_CMD} file1 file2 ... +.Pp +will substitute files in place, creating backup copies of them. +In copy mode, +.Pp +.Dl ${SUBST_CMD} -c src1 dest1 src2 dest2 +.Pp +will copy files over while performing the substitution, as suitable for +copying template files over from +.Pa ${FILESDIR} +to +.Pa ${PREFIX} , +for instance. +Read-only. .It Ev SUBST_VARS Make variables whole values get substituted to create the actual package information. |