aboutsummaryrefslogtreecommitdiff
path: root/lang/go/Makefile
blob: d5206efb2c241ae6999d8698bea82373f5ac8016 (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
24
25
26
27
28
29
30
31
32
33
PORTNAME=	go
DISTVERSION=	${GO_DEFAULT}
PORTREVISION=	20
PORTEPOCH=	2
CATEGORIES=	lang
MASTER_SITES=	# not applicable
DISTFILES=	# not applicable

MAINTAINER=	go@FreeBSD.org
COMMENT=	Meta-port for the default version of the Go programming language
WWW=		https://golang.org

LICENSE=	NA
LICENSE_COMB=	single
LICENSE_NAME=	Non applicable
LICENSE_TEXT=	No licenses are applicable to metaports
LICENSE_PERMS=	auto-accept dist-mirror dist-sell pkg-mirror pkg-sell

RUN_DEPENDS=	go${GO_SUFFIX}:lang/go${GO_SUFFIX}

NO_ARCH=	yes
NO_BUILD=	yes

PLIST_FILES=	bin/go bin/gofmt

GO_SUFFIX=	${GO_DEFAULT:S/.//:C/.*-devel/-devel/}

do-install:
.for f in go gofmt
	@${LN} -sf ${f}${GO_SUFFIX} ${STAGEDIR}${PREFIX}/bin/${f}
.endfor

.include <bsd.port.mk>