diff options
author | Nicola Vitale <nivit@FreeBSD.org> | 2024-02-11 20:47:19 +0000 |
---|---|---|
committer | Nicola Vitale <nivit@FreeBSD.org> | 2024-02-11 20:47:19 +0000 |
commit | 522010dcab64f6ac017617950f0e0af92fc18114 (patch) | |
tree | 5d665144a2036d36c979f45f6305d959f0133f0e | |
parent | c3f87518b7aac7b1b6e27472cbc190ecbc4ca8ab (diff) |
www/xurls: Add new port
Extract urls from text or files using regular expressions.
https://github.com/mvdan/xurls
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/xurls/Makefile | 20 | ||||
-rw-r--r-- | www/xurls/distinfo | 5 | ||||
-rw-r--r-- | www/xurls/pkg-descr | 1 |
4 files changed, 27 insertions, 0 deletions
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. |