freebsd-ports/net-p2p/go-ethereum/Makefile
2023-09-08 09:34:56 -05:00

33 lines
728 B
Makefile

PORTNAME= go-ethereum
DISTVERSIONPREFIX= v
DISTVERSION= 1.12.2
PORTREVISION= 1
CATEGORIES= net-p2p
MAINTAINER= me@enriquefynn.com
COMMENT= Go implementation of the Ethereum y/w paper
WWW= https://github.com/ethereum/go-ethereum
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libiconv.so:converters/libiconv
USES= cpe go:modules
CPE_VENDOR= ethereum
CPE_PRODUCT= go_ethereum
GO_MODULE= github.com/ethereum/go-ethereum
CGO_LDFLAGS= -liconv
TMPDIR= ${WRKDIR}
OPTIONS_DEFINE= DEVTOOLS
OPTIONS_SUB= yes
DEVTOOLS_DESC= Ethereum developer tools
DEVTOOLS_VARS_OFF= GO_TARGET=./cmd/geth
DEVTOOLS_VARS= GO_TARGET="./cmd/geth ./cmd/abigen ./cmd/bootnode ./cmd/evm ./cmd/rlpdump ./cmd/clef"
.include <bsd.port.mk>