Index | Thread | Search

From:
"Thomas L." <tom.longshine@web.de>
Subject:
Re: NEW: cad/horizon-eda
To:
Stuart Henderson <stu@spacehopper.org>
Cc:
ports@openbsd.org
Date:
Mon, 22 Jul 2024 22:53:47 +0200

Download raw body.

Thread
On Mon, 22 Jul 2024 11:36:32 +0100
Stuart Henderson <stu@spacehopper.org> wrote:
> diff --git a/cad/horizon-eda/Makefile b/cad/horizon-eda/Makefile
> index 80703fa..6ae215a 100644
> --- a/cad/horizon-eda/Makefile
> +++ b/cad/horizon-eda/Makefile
> @@ -1,11 +1,9 @@
>  COMMENT =	electronic design automation package
>
> -V =		2.6.0
>  GH_ACCOUNT =	horizon-eda
>  GH_PROJECT =	horizon
> -GH_TAGNAME =	v${V}
> -DISTFILES =	horizon-{}${V}${EXTRACT_SUFX}
> -PKGNAME =	horizon-eda-${V}
> +GH_TAGNAME =	v2.6.0
> +PKGNAME =	${DISTNAME:S/horizon/horizon-eda/}
>
>  CATEGORIES =	cad
>

ah, yes, that's simpler. based on
> In other cases, files have been tagged but they rely on github's on-the-fly
> archive creation. These can be specified using the following bsd.port.mk(5)
> variables: GH_ACCOUNT, GH_PROJECT, GH_TAGNAME. The provided filename is
> rarely suitable for direct use as a DISTNAME, frequently only including the
> version number; these can be renamed at download time using the "{}" notation
> in DISTFILES.
in https://www.openbsd.org/faq/ports/guide.html i did assume the DISTNAME would
be derived from the GH_TAGNAME only.