Re: git: b071a62b5e75 - main - editors:diamond: new port, CopperSpice-based editor

From: Joseph Mingrone <jrm_at_FreeBSD.org>
Date: Mon, 21 Feb 2022 12:02:06 UTC
On Sun, 2022-02-20 at 15:45, Adriaan de Groot <adridg@FreeBSD.org> wrote:

> The branch main has been updated by adridg:

> URL: https://cgit.FreeBSD.org/ports/commit/?id=b071a62b5e7518503dc9a2d6e88625b1f0a82863

> commit b071a62b5e7518503dc9a2d6e88625b1f0a82863
> Author:     Adriaan de Groot <adridg@FreeBSD.org>
> AuthorDate: 2022-02-19 20:21:23 +0000
> Commit:     Adriaan de Groot <adridg@FreeBSD.org>
> CommitDate: 2022-02-20 15:45:30 +0000

>     editors:diamond: new port, CopperSpice-based editor

>     This needs patching to consider the installed location
>     (e.g. share/) as a source of data, rather than the installed
>     location of the binary.
> ---
>  editors/Makefile                               |  1 +
>  editors/diamond/Makefile                       | 26 ++++++++++
>  editors/diamond/distinfo                       |  3 ++
>  editors/diamond/files/patch-CMakeLists.txt     | 18 +++++++
>  editors/diamond/files/patch-src_CMakeLists.txt | 67 ++++++++++++++++++++++++++
>  editors/diamond/files/patch-src_json.cpp       | 11 +++++
>  editors/diamond/pkg-descr                      | 19 ++++++++
>  editors/diamond/pkg-plist                      | 23 +++++++++
>  8 files changed, 168 insertions(+)

> diff --git a/editors/Makefile b/editors/Makefile
> index 1c05ff426891..9809b87bf2b9 100644
> --- a/editors/Makefile
> +++ b/editors/Makefile
> @@ -24,6 +24,7 @@
>      SUBDIR += deforaos-editor
>      SUBDIR += dhex
>      SUBDIR += diakonos
> +    SUBDIR += diamond
>      SUBDIR += dkns
>      SUBDIR += drjava
>      SUBDIR += dte

<snip>

Hello Adriaan,

There is already a port with this name.

jrm@phe /usr/ports [main|✔] % make -C editors/diamond -VPORTNAME -VPKGBASE
diamond
diamond

jrm@phe /usr/ports [main|✔] % make -C biology/diamond -VPORTNAME -VPKGBASE
diamond
diamond

Could you use either PKGNAMEPREFIX or PKGNAMESUFFIX?

Joe