Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 May 2021 08:19:04 GMT
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org
Subject:   git: c198a9337b - main - Tell people how to use cp(1) to copy a port.
Message-ID:  <202105100819.14A8J4qB087856@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mat:

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

commit c198a9337b28d143a41f629d5a6604453e4ca0b1
Author:     Mathieu Arnold <mat@FreeBSD.org>
AuthorDate: 2021-05-10 08:12:28 +0000
Commit:     Mathieu Arnold <mat@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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105100819.14A8J4qB087856>