Date: Sun, 11 Feb 2024 20:48:20 GMT From: Nicola Vitale <nivit@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 522010dcab64 - main - www/xurls: Add new port Message-ID: <202402112048.41BKmKo2095106@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by nivit: URL: https://cgit.FreeBSD.org/ports/commit/?id=522010dcab64f6ac017617950f0e0af92fc18114 commit 522010dcab64f6ac017617950f0e0af92fc18114 Author: Nicola Vitale <nivit@FreeBSD.org> AuthorDate: 2024-02-11 20:47:19 +0000 Commit: Nicola Vitale <nivit@FreeBSD.org> CommitDate: 2024-02-11 20:47:19 +0000 www/xurls: Add new port Extract urls from text or files using regular expressions. https://github.com/mvdan/xurls --- www/Makefile | 1 + www/xurls/Makefile | 20 ++++++++++++++++++++ www/xurls/distinfo | 5 +++++ www/xurls/pkg-descr | 1 + 4 files changed, 27 insertions(+) diff --git a/www/Makefile b/www/Makefile index d14fd96c1eca..24bfe2531efe 100644 --- a/www/Makefile +++ b/www/Makefile @@ -2497,6 +2497,7 @@ SUBDIR += xist SUBDIR += xoops SUBDIR += xsp + SUBDIR += xurls SUBDIR += yabb SUBDIR += yarn SUBDIR += yarn-node16 diff --git a/www/xurls/Makefile b/www/xurls/Makefile new file mode 100644 index 000000000000..69dfdd79b63c --- /dev/null +++ b/www/xurls/Makefile @@ -0,0 +1,20 @@ +PORTNAME= xurls +DISTVERSIONPREFIX= v +DISTVERSION= 2.5.0 +CATEGORIES= www + +MAINTAINER= nivit@FreeBSD.org +COMMENT= Extract urls from text or files +WWW= https://github.com/mvdan/xurls + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules + +GO_MODULE= mvdan.cc/xurls/v2 +GO_TARGET= ${WRKSRC}/cmd/${PORTNAME}:${PREFIX}/bin/${PORTNAME} + +PLIST_FILES= bin/xurls + +.include <bsd.port.mk> diff --git a/www/xurls/distinfo b/www/xurls/distinfo new file mode 100644 index 000000000000..005845953469 --- /dev/null +++ b/www/xurls/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1707683842 +SHA256 (go/www_xurls/xurls-v2.5.0/v2.5.0.mod) = 25a6aa0cc38a00ecff926daf7e21fde64fa91120ed52d0debb95cb16159c0994 +SIZE (go/www_xurls/xurls-v2.5.0/v2.5.0.mod) = 140 +SHA256 (go/www_xurls/xurls-v2.5.0/v2.5.0.zip) = acc870c18f0a10b753825efcef63edcdb13a9c9b15419695baaff1c399c93562 +SIZE (go/www_xurls/xurls-v2.5.0/v2.5.0.zip) = 33829 diff --git a/www/xurls/pkg-descr b/www/xurls/pkg-descr new file mode 100644 index 000000000000..f5932f9c667b --- /dev/null +++ b/www/xurls/pkg-descr @@ -0,0 +1 @@ +Extract urls from text or files using regular expressions.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402112048.41BKmKo2095106>