summaryrefslogtreecommitdiff
path: root/devel/go-compress/Makefile
blob: 553aac5d1b2d907574d196cee23b7170660a3412 (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.5 2020/03/21 16:57:14 bsiegert Exp $

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

MAINTAINER=		ng0@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"