git: 9995151644c8 - main - textproc/rubygem-rails-html-sanitizer: Add USES=cpe

Po-Chuan Hsieh sunpoet at FreeBSD.org
Tue Sep 21 22:26:19 UTC 2021


The branch main has been updated by sunpoet:

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

commit 9995151644c8b3c9ea282b505ea14833879e836f
Author:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-09-21 22:16:23 +0000
Commit:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-09-21 22:23:47 +0000

    textproc/rubygem-rails-html-sanitizer: Add USES=cpe
---
 textproc/rubygem-rails-html-sanitizer/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/textproc/rubygem-rails-html-sanitizer/Makefile b/textproc/rubygem-rails-html-sanitizer/Makefile
index 06e3f7d5d7d6..507a174f13df 100644
--- a/textproc/rubygem-rails-html-sanitizer/Makefile
+++ b/textproc/rubygem-rails-html-sanitizer/Makefile
@@ -11,9 +11,12 @@ LICENSE_FILE=	${WRKSRC}/MIT-LICENSE
 
 RUN_DEPENDS=	rubygem-loofah>=2.3<3:textproc/rubygem-loofah
 
-USES=		gem
+USES=		cpe gem
 USE_RUBY=	yes
 
 NO_ARCH=	yes
 
+CPE_VENDOR=	rubyonrails
+CPE_PRODUCT=	html_sanitizer
+
 .include <bsd.port.mk>


More information about the dev-commits-ports-main mailing list