diff options
Diffstat (limited to 'lang/go125/Makefile')
-rw-r--r-- | lang/go125/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/lang/go125/Makefile b/lang/go125/Makefile new file mode 100644 index 000000000000..ddb9fd2ed6d6 --- /dev/null +++ b/lang/go125/Makefile @@ -0,0 +1,29 @@ +DISTVERSION= 1.25.0 +# Always set PORTREVISION explicitly as otherwise they are inherited from lang/go-devel +PORTREVISION= 0 +MASTER_SITES= https://go.dev/dl/ +DISTFILES= go${DISTVERSION}.src.tar.gz \ + go1.24.6.${OPSYS:tl}-${GOARCH_${ARCH}}.tar.gz + +# Avoid conflicting patch files +PATCHFILES= +PATCHDIR= ${.CURDIR}/files + +COMMENT= Go programming language + +MASTERDIR= ${.CURDIR}/../go-devel +WRKSRC= ${WRKDIR}/go +DISTINFO_FILE= ${.CURDIR}/distinfo +EXTRACT_ONLY= ${DISTFILES:[1]} + +SHEBANG_FILES= lib/wasm/go_js_wasm_exec lib/wasm/go_wasip1_wasm_exec + +BOOTSTRAP_WRKSRC= ${WRKDIR}/go-${OPSYS:tl}-${GOARCH_${ARCH}}${GOARM_${ARCH}}-bootstrap + +pre-extract: + ${MKDIR} ${BOOTSTRAP_WRKSRC} + cd ${BOOTSTRAP_WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \ + ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES:[2]} \ + --strip-components 1 ${EXTRACT_AFTER_ARGS} + +.include "${MASTERDIR}/Makefile" |