aboutsummaryrefslogtreecommitdiff
path: root/devel/binaryen/Makefile
blob: c8c29dcb4c35702062068626848189b582ce0392 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
PORTNAME=	binaryen
DISTVERSIONPREFIX=	version_
DISTVERSION=	98
CATEGORIES=	devel

MAINTAINER=	greg@unrelenting.technology
COMMENT=	Compiler infrastructure and toolchain library for WebAssembly

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cmake python:3.6+,build compiler:c++11-lang
USE_GITHUB=	yes
GH_ACCOUNT=	WebAssembly
USE_LDCONFIG=	yes

CMAKE_ARGS=	-DBINARYEN_VERSION_INFO=${DISTVERSION}
LDFLAGS+=	-Wno-unused-command-line-argument

BINARY_ALIAS=	python3=${PYTHON_CMD}

.include <bsd.port.mk>