1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00

www/xurls: Add new port

Extract urls from text or files using regular expressions.

https://github.com/mvdan/xurls
This commit is contained in:
Nicola Vitale 2024-02-11 21:47:19 +01:00
parent c3f87518b7
commit 522010dcab
No known key found for this signature in database
GPG Key ID: A51E190C4C0808D0
4 changed files with 27 additions and 0 deletions

View File

@ -2497,6 +2497,7 @@
SUBDIR += xist
SUBDIR += xoops
SUBDIR += xsp
SUBDIR += xurls
SUBDIR += yabb
SUBDIR += yarn
SUBDIR += yarn-node16

20
www/xurls/Makefile Normal file
View File

@ -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>

5
www/xurls/distinfo Normal file
View File

@ -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

1
www/xurls/pkg-descr Normal file
View File

@ -0,0 +1 @@
Extract urls from text or files using regular expressions.