PORTNAME=	veryl
DISTVERSIONPREFIX=	v
DISTVERSION=	0.19.0
PORTREVISION=	1
CATEGORIES=	cad

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Veryl: A modern Hardware Description Language (HDL)
WWW=		https://github.com/dalance/veryl

LICENSE=	APACHE20 MIT
LICENSE_COMB=	dual
LICENSE_FILE_APACHE20=	${WRKSRC}/LICENSE-APACHE
LICENSE_FILE_MIT=	${WRKSRC}/LICENSE-MIT

USES=		cargo
USE_GITHUB=	yes
GH_ACCOUNT=	dalance

GH_TUPLE=	veryl-lang:doc:2ae62fa:doc/doc \
		veryl-lang:rouge:86eb7159:rouge/support/rouge \
		veryl-lang:sourcemap-resolver:380f8c18:sourcemapresolver/support/sourcemap-resolver \
		veryl-lang:veryl.vim:597048f6:verylvim/support/vim

CARGO_INSTALL_PATH=	crates/veryl

PLIST_FILES=	bin/${PORTNAME}

.include <bsd.port.mk>
