git: c93a69262733 - main - devel/p5-Test-Pod-Links: New port: test Pod for invalid HTTP/S links
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 31 Jan 2025 18:02:44 UTC
The branch main has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c93a69262733e81b52a42c0d221be4b952bc97e0
commit c93a69262733e81b52a42c0d221be4b952bc97e0
Author: Sergei Vyshenski <svysh.fbsd@gmail.com>
AuthorDate: 2025-01-31 18:00:27 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-01-31 18:02:29 +0000
devel/p5-Test-Pod-Links: New port: test Pod for invalid HTTP/S links
Tests that all HTTP/S links from Pod documentation are reachable by calling
the head method of HTTP::Tiny on them. Recommended to put it into your xt
instead of your t directory.
PR: 284481
---
devel/Makefile | 1 +
devel/p5-Test-Pod-Links/Makefile | 24 ++++++++++++++++++++++++
devel/p5-Test-Pod-Links/distinfo | 3 +++
devel/p5-Test-Pod-Links/pkg-descr | 3 +++
devel/p5-Test-Pod-Links/pkg-plist | 2 ++
5 files changed, 33 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 0d14d60bdc85..ed3558c45a06 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3728,6 +3728,7 @@
SUBDIR += p5-Test-Pod
SUBDIR += p5-Test-Pod-Coverage
SUBDIR += p5-Test-Pod-Coverage-Permissive
+ SUBDIR += p5-Test-Pod-Links
SUBDIR += p5-Test-Portability-Files
SUBDIR += p5-Test-Prereq
SUBDIR += p5-Test-RandomResults
diff --git a/devel/p5-Test-Pod-Links/Makefile b/devel/p5-Test-Pod-Links/Makefile
new file mode 100644
index 000000000000..9f325b221240
--- /dev/null
+++ b/devel/p5-Test-Pod-Links/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= Test-Pod-Links
+DISTVERSION= 0.003
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= svysh.fbsd@gmail.com
+COMMENT= Test Pod for invalid HTTP/S links
+WWW= https://metacpan.org/release/Test-Pod-Links
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${RUN_DEPENDS}
+RUN_DEPENDS= p5-XT-Files>=0:devel/p5-XT-Files
+TEST_DEPENDS= p5-Test-Fatal>=0:devel/p5-Test-Fatal \
+ p5-Test-MockModule>=0:devel/p5-Test-MockModule
+
+USES= perl5
+USE_PERL5= configure
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Test-Pod-Links/distinfo b/devel/p5-Test-Pod-Links/distinfo
new file mode 100644
index 000000000000..22a6770b1eaf
--- /dev/null
+++ b/devel/p5-Test-Pod-Links/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1738277233
+SHA256 (Test-Pod-Links-0.003.tar.gz) = cfe96182b9bf7596d16a8dd459cdef7916b46ac0a82abda3b36a6c0931166b03
+SIZE (Test-Pod-Links-0.003.tar.gz) = 18399
diff --git a/devel/p5-Test-Pod-Links/pkg-descr b/devel/p5-Test-Pod-Links/pkg-descr
new file mode 100644
index 000000000000..99847e9e74e7
--- /dev/null
+++ b/devel/p5-Test-Pod-Links/pkg-descr
@@ -0,0 +1,3 @@
+Tests that all HTTP/S links from Pod documentation are reachable by calling
+the head method of HTTP::Tiny on them. Recommended to put it into your xt
+instead of your t directory.
diff --git a/devel/p5-Test-Pod-Links/pkg-plist b/devel/p5-Test-Pod-Links/pkg-plist
new file mode 100644
index 000000000000..471a7fcf2cfe
--- /dev/null
+++ b/devel/p5-Test-Pod-Links/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Test/Pod/Links.pm
+%%PERL5_MAN3%%/Test::Pod::Links.3.gz