git: c198a9337b - main - Tell people how to use cp(1) to copy a port.

Mathieu Arnold mat at FreeBSD.org
Mon May 10 08:19:04 UTC 2021


The branch main has been updated by mat:

URL: https://cgit.FreeBSD.org/doc/commit/?id=c198a9337b28d143a41f629d5a6604453e4ca0b1

commit c198a9337b28d143a41f629d5a6604453e4ca0b1
Author:     Mathieu Arnold <mat at FreeBSD.org>
AuthorDate: 2021-05-10 08:12:28 +0000
Commit:     Mathieu Arnold <mat at FreeBSD.org>
CommitDate: 2021-05-10 08:18:42 +0000

    Tell people how to use cp(1) to copy a port.
---
 .../content/en/articles/committers-guide/_index.adoc          | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/documentation/content/en/articles/committers-guide/_index.adoc b/documentation/content/en/articles/committers-guide/_index.adoc
index 02c927bf64..90a7d46e19 100644
--- a/documentation/content/en/articles/committers-guide/_index.adoc
+++ b/documentation/content/en/articles/committers-guide/_index.adoc
@@ -3509,6 +3509,17 @@ When sending questions about this script to the {freebsd-ports}, please also CC
 . Commit the changes.
 ====
 
+[[ports-qa-copy-port]]
+=== How do I copy a port to a new location?
+
+[.procedure]
+====
+. Copy port with `cp -R old-cat/old-port new-cat/new-port`.
+. Add the new port to the [.filename]#new-cat/Makefile#.
+. Change stuff in [.filename]#new-cat/new-port#.
+. Commit the changes.
+====
+
 [[ports-qa-freeze]]
 === Ports Freeze
 


More information about the dev-commits-doc-all mailing list