git: fb966c25bcb4 - main - www/yarn: Add CPE information

From: Stefan Eßer <se_at_FreeBSD.org>
Date: Thu, 21 Oct 2021 15:44:49 UTC
The branch main has been updated by se:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fb966c25bcb47941e96c51eb345a3f641062cff5

commit fb966c25bcb47941e96c51eb345a3f641062cff5
Author:     Stefan Eßer <se@FreeBSD.org>
AuthorDate: 2021-10-21 15:41:03 +0000
Commit:     Stefan Eßer <se@FreeBSD.org>
CommitDate: 2021-10-21 15:41:03 +0000

    www/yarn: Add CPE information
    
    Approved by:    portmgr (blanket)
---
 www/yarn/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/www/yarn/Makefile b/www/yarn/Makefile
index d0cdfaa261d8..5cdcaae32a2e 100644
--- a/www/yarn/Makefile
+++ b/www/yarn/Makefile
@@ -10,6 +10,9 @@ COMMENT=	Package manager for node, alternative to npm
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+USES=		cpe
+CPE_VENDOR=	${PROGRAM_NAME}pkg
+
 CONFLICTS_INSTALL?=	yarn-node14 yarn-node10
 
 OPTIONS_DEFINE=	HADOOPCOMPAT