blob: c64f768a2c007e22ba5bbb21d16b8d2344c22bb8 (
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
|
# $NetBSD: Makefile,v 1.14 2022/02/13 19:24:31 bsiegert Exp $
GITHUB_PROJECT= nancy
GITHUB_TAG= v1.0.5
DISTNAME= v1.0.5
PKGNAME= ${GITHUB_PROJECT}-${DISTNAME:S,^v,,}
PKGREVISION= 12
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=sonatype-nexus-community/}
DIST_SUBDIR= ${GITHUB_PROJECT}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/sonatype-nexus-community/nancy/
COMMENT= Golang module/dep vulnerability scanner
LICENSE= apache-2.0
WRKSRC= ${WRKDIR}/nancy-1.0.5
USE_LANGUAGES= c
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GO} build -o nancy -v
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nancy ${DESTDIR}${PREFIX}/bin/
.include "go-modules.mk"
.include "../../lang/go/go-module.mk"
.include "../../mk/bsd.pkg.mk"
|