blob: fd7823de48c25b7fb433159b6e3e228fcfd9e811 (
plain)
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
|
# $NetBSD: Makefile,v 1.61 2022/11/02 19:39:55 bsiegert Exp $
#
DISTNAME= go-sys-0.0.20220412
PKGREVISION= 8
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=golang/}
GITHUB_PROJECT= sys
GITHUB_TAG= 33da011f77
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://golang.org/
COMMENT= Go packages for low-level interaction with the OS
LICENSE= modified-bsd
GO_SRCPATH= golang.org/x/sys
GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG}*
USE_TOOLS+= bash:run
REPLACE_BASH+= plan9/*.sh unix/*.sh windows/*.bash
pre-patch:
${RM} -rf ${WRKSRC}/windows/mkwinsyscall
pre-build:
${RM} -f ${WRKSRC}/*/*.go.orig
.include "../../lang/go/go-package.mk"
.include "../../mk/bsd.pkg.mk"
|