summaryrefslogtreecommitdiff
path: root/devel/go-compress/Makefile
blob: e00d7fd5f76424553341c5443853464fe5e2282b (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
# $NetBSD: Makefile,v 1.16 2021/03/19 17:36:57 bsiegert Exp $

GITHUB_TAG=		v${PKGVERSION_NOREV}
DISTNAME=		go-compress-1.9.1
PKGREVISION=		14
CATEGORIES=		devel
MASTER_SITES=		${MASTER_SITE_GITHUB:=klauspost/}
GITHUB_PROJECT=		compress

MAINTAINER=		nikita@NetBSD.org
HOMEPAGE=		https://github.com/klauspost/compress/
COMMENT=		Optimized compression packages for Go
LICENSE=		modified-bsd

GO_SRCPATH=		github.com/klauspost/compress
GO_DIST_BASE=		compress-${PKGVERSION_NOREV}

# This is a Linux specific fuzzing file.
# This is an sh script, no Bash syntax found.
SUBST_CLASSES+=		bash
SUBST_STAGE.bash=	pre-build
SUBST_FILES.bash=	${WRKDIR}/src/github.com/klauspost/compress/fuzzit.sh
SUBST_SED.bash=		-e "s,bash,sh,g"

.include "../../devel/go-cpuid/buildlink3.mk"
.include "../../security/go-xxhash/buildlink3.mk"
.include "../../lang/go/go-package.mk"
.include "../../mk/bsd.pkg.mk"