From owner-dev-commits-doc-all@freebsd.org Mon May 10 08:19:04 2021 Return-Path: Delivered-To: dev-commits-doc-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BE8ED6304A7 for ; Mon, 10 May 2021 08:19:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fdv8m4vB9z4sLH; Mon, 10 May 2021 08:19:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9850D21516; Mon, 10 May 2021 08:19:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 14A8J4Pe087857; Mon, 10 May 2021 08:19:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14A8J4qB087856; Mon, 10 May 2021 08:19:04 GMT (envelope-from git) Date: Mon, 10 May 2021 08:19:04 GMT Message-Id: <202105100819.14A8J4qB087856@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Mathieu Arnold Subject: git: c198a9337b - main - Tell people how to use cp(1) to copy a port. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mat X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c198a9337b28d143a41f629d5a6604453e4ca0b1 Auto-Submitted: auto-generated X-BeenThere: dev-commits-doc-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the doc repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 May 2021 08:19:04 -0000 The branch main has been updated by mat: URL: https://cgit.FreeBSD.org/doc/commit/?id=c198a9337b28d143a41f629d5a6604453e4ca0b1 commit c198a9337b28d143a41f629d5a6604453e4ca0b1 Author: Mathieu Arnold AuthorDate: 2021-05-10 08:12:28 +0000 Commit: Mathieu Arnold 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