File:  [cvs.NetBSD.org] / pkgsrc / devel / nancy / Makefile
Revision 1.34: download - view: text, annotated - select for diffs
Sun Oct 15 12:04:21 2023 UTC (13 months, 3 weeks ago) by bsiegert
Branches: MAIN
CVS tags: HEAD
Revbump all Go packages after go120 security update

# $NetBSD: Makefile,v 1.34 2023/10/15 12:04:21 bsiegert Exp $

GITHUB_PROJECT=	nancy
GITHUB_TAG=	v1.0.5
DISTNAME=	v1.0.5
PKGNAME=	${GITHUB_PROJECT}-${DISTNAME:S,^v,,}
PKGREVISION=	32
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"

CVSweb <webmaster@jp.NetBSD.org>