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

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

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cmake cpe python:3.6+,build compiler:c++11-lang
CPE_VENDOR=	webassembly
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>