pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/syft



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Dec 25 18:11:03 UTC 2022

Modified Files:
        pkgsrc/devel/syft: Makefile

Log Message:
syft: simplify installation

following a hint from bsiegert@, thanks!


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/syft/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/syft/Makefile
diff -u pkgsrc/devel/syft/Makefile:1.3 pkgsrc/devel/syft/Makefile:1.4
--- pkgsrc/devel/syft/Makefile:1.3      Fri Dec 23 10:03:39 2022
+++ pkgsrc/devel/syft/Makefile  Sun Dec 25 18:11:03 2022
@@ -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 @@ HOMEPAGE=    https://github.com/anchore/syf
 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