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

Mathieu Arnold <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by mat:

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

commit c198a9337b28d143a41f629d5a6604453e4ca0b1
Author:     Mathieu Arnold <[email protected]>
AuthorDate: 2021-05-10 08:12:28 +0000
Commit:     Mathieu Arnold <[email protected]>
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
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.