1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/lang/go-devel/Makefile
Guangyuan Yang 2309e28d9e lang/go, lang/go-devel: Respect CC
PR:		258291
Fixes:		f55607ce7b
Reported by:	Evgeniy Khramtsov <evgeniy@khramtsov.org>
2021-11-15 16:52:27 -05:00

31 lines
879 B
Makefile

# Created by: Devon H. O'Dell <devon.odell@gmail.com>
PORTVERSION= g20211105
# Always set PORTREVISION and PORTEPOCH explicitly as otherwise they are inherited from lang/go
PORTREVISION= 2
PORTEPOCH= 0
MASTER_SITES= https://github.com/dmgk/go-bootstrap/releases/download/${BOOTSTRAP_TAG}/:bootstrap \
LOCAL/dmgk:bootstrap
PKGNAMESUFFIX= -devel
DISTFILES= go-${OPSYS:tl}-${GOARCH_${ARCH}}${GOARM_${ARCH}}-${BOOTSTRAP_TAG}.tar.xz:bootstrap
# Avoid conflicting patch files
PATCHFILES=
COMMENT= Go programming language (development version)
USE_GITHUB= yes
GH_ACCOUNT= golang
GH_TAGNAME= f58c78a5771570667b26e8c74faa017bd4c2c448
CONFLICTS_INSTALL= go
MASTERDIR= ${.CURDIR}/../go
PATCHDIR= ${.CURDIR}/files
DISTINFO_FILE= ${.CURDIR}/distinfo
post-extract:
@[ -f ${WRKSRC}/VERSION ] || ${ECHO_CMD} "devel +${GH_TAGNAME}" > ${WRKSRC}/VERSION
.include "${MASTERDIR}/Makefile"