aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2025-03-23 10:11:40 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2025-03-23 10:12:02 +0000
commitf3464afac4c7efae5917facc1b4cf76198b5ad1c (patch)
treeb6d5c2717c2257578b9320804146551b893fd23d
parent24d6b7a2e417f8b2a8f73bb0e56406a1d50d8a2e (diff)
www/youtube: New port: Youtube videos downloader
PR: 285441
-rw-r--r--www/Makefile1
-rw-r--r--www/youtube/Makefile21
-rw-r--r--www/youtube/distinfo5
-rw-r--r--www/youtube/pkg-descr1
4 files changed, 28 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 2b6eb0e2ab1e..d5a8781969ee 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2637,6 +2637,7 @@
SUBDIR += yaws
SUBDIR += you-get
SUBDIR += yourls
+ SUBDIR += youtube
SUBDIR += yt-dlp
SUBDIR += ytdl
SUBDIR += yuicompressor
diff --git a/www/youtube/Makefile b/www/youtube/Makefile
new file mode 100644
index 000000000000..008286222473
--- /dev/null
+++ b/www/youtube/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= youtube
+DISTVERSIONPREFIX= v
+DISTVERSION= 2.10.3
+CATEGORIES= www
+PKGNAMESUFFIX= -downloader
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Youtube videos downloader
+WWW= https://github.com/kkdai/youtube
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= go:1.23,modules
+
+GO_MODULE= github.com/kkdai/youtube/v2
+GO_TARGET= ./cmd/youtubedr
+
+PLIST_FILES= ${GO_TARGET:C/.\/cmd/bin/}
+
+.include <bsd.port.mk>
diff --git a/www/youtube/distinfo b/www/youtube/distinfo
new file mode 100644
index 000000000000..be542e5b2d76
--- /dev/null
+++ b/www/youtube/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1742724056
+SHA256 (go/www_youtube/youtube-v2.10.3/v2.10.3.mod) = a7c9caede906479bb1ace136cde4c6bc6cd97170070a456af65eb8668c2f3264
+SIZE (go/www_youtube/youtube-v2.10.3/v2.10.3.mod) = 1941
+SHA256 (go/www_youtube/youtube-v2.10.3/v2.10.3.zip) = f721817dcb68537dfd2565e4035a6ce76de0d95859f28f6f11cf82ec95b6cfa1
+SIZE (go/www_youtube/youtube-v2.10.3/v2.10.3.zip) = 60911
diff --git a/www/youtube/pkg-descr b/www/youtube/pkg-descr
new file mode 100644
index 000000000000..cc2b1b92f566
--- /dev/null
+++ b/www/youtube/pkg-descr
@@ -0,0 +1 @@
+youtube is a Youtube video download package.