pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/syft syft: simplify installation



details:   https://anonhg.NetBSD.org/pkgsrc/rev/abbc93714583
branches:  trunk
changeset: 390644:abbc93714583
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Dec 25 18:11:03 2022 +0000

description:
syft: simplify installation

following a hint from bsiegert@, thanks!

diffstat:

 devel/syft/Makefile |  11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)

diffs (25 lines):

diff -r 788d05dca506 -r abbc93714583 devel/syft/Makefile
--- a/devel/syft/Makefile       Sun Dec 25 18:08:51 2022 +0000
+++ b/devel/syft/Makefile       Sun Dec 25 18:11:03 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2022/12/23 10:03:39 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2022/12/25 18:11:03 wiz Exp $
 
 DISTNAME=      syft-0.63.0
 PKGREVISION=   1
@@ -11,13 +11,8 @@
 COMMENT=       Generate Software Bill of Materials from container images and file systems
 LICENSE=       apache-2.0
 
-USE_LANGUAGES= c
-
-# build tools
-# https://github.com/anchore/syft/issues/1413
-post-install:
-       ${RM} ${DESTDIR}${PREFIX}/bin/generate
-       ${RM} ${DESTDIR}${PREFIX}/bin/json
+USE_LANGUAGES=         c
+GO_BUILD_PATTERN=      ./cmd/syft
 
 .include "go-modules.mk"
 .include "../../lang/go/go-module.mk"



Home | Main Index | Thread Index | Old Index