Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: New port 1/4: cad/prjpeppercorn-1.13
To:
Thomas Dettbarn <dettus@dettus.net>
Cc:
ports@openbsd.org
Date:
Mon, 29 Jun 2026 13:17:37 +0100

Download raw body.

Thread
On 2026/06/27 13:48, Thomas Dettbarn wrote:
> Hello!
> 
> 
> Please find this week's update to my new port cad/prjpeppercorn attached
> to this email.
> 
> It is part of a set, intended to bring the joy of FPGA development
> to OpenBSD.
> 
> cad/prjpeppercorn

tweaked version attached. (please use tars for new ports, not diffs).
if this still works for you, it's ok sthen@ for someone to import

> +COMMENT=	GateMate FPGAs Bitstream Documentation and Tools
> +CATEGORIES=	cad
> +V=		1.13
> +DISTNAME=	prjpeppercorn-${V}

DISTNAME is set by default when you use GH_TAGNAME, only override it
in special situations (usually weird chars in the tag).

> +SHAREDIR=	prjpeppercorn/${V}

might as well put share/ in here too, and use SUBST_VARS to avoid
churn in PLISTs for updates.

> +
> +GH_ACCOUNT=	YosysHQ
> +GH_PROJECT=	prjpeppercorn
> +GH_TAGNAME=	v${V}
> +
> +HOMEPAGE=	https://github.com/YosysHQ/prjpeppercorn
> +MAINTAINER=	Thomas Dettbarn <dettus@dettus.net>
> +
> +# ISC License
> +PERMIT_PACKAGE=	yes
> +
> +WANTLIB=	c

this was building as a statically linked binary (and not linking to
any library). I used the build option in the CMakefile to dynamically
link instead.

as it's C++ the port needs to specify COMPILER.