summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2002-12-31 08:33:53 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2002-12-31 08:33:53 +0000
commitb06de406be76ebf6b885633e6b7d79ecc96496d7 (patch)
treebd9e9fc65e33e7dd8d7586d1f0d55517d8e2c3ae /share
parentd70be0ce10d112ad3ae6cdafa75562bc0c2c4c9d (diff)
document update-patches; help & ok espie
Diffstat (limited to 'share')
-rw-r--r--share/man/man5/bsd.port.mk.523
1 files changed, 22 insertions, 1 deletions
diff --git a/share/man/man5/bsd.port.mk.5 b/share/man/man5/bsd.port.mk.5
index 95e14d53b5e..0aa1e173776 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.79 2002/12/30 02:41:33 espie Exp $
+.\" $OpenBSD: bsd.port.mk.5,v 1.80 2002/12/31 08:33:52 pvalchev Exp $
.\"
.\" Copyright (c) 2000 Marc Espie
.\"
@@ -285,6 +285,27 @@ will automatically recognize and handle such lines correctly.
.Pp
.Ar update-plist
does not handle multi-packages nor flavor situations yet, so beware.
+.It Ar update-patches
+Create or update patches for a port, using
+.Xr diff 1
+between
+.Pa file
+and
+.Pa file.orig ,
+based on
+.Pa file.orig
+existence.
+In order to generate a patch, the original file needs to be named
+.Pa file.orig
+and
+.Pa file
+edited.
+After the target is invoked, the patches are placed under the
+patches/ directory.
+It moves existing patches from
+.Pa patch-file
+to
+.Pa patch-file.orig
.El
.Sh VARIABLES
.Bl -tag -width MASTER_SITES