summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2022-04-06 21:18:24 +0000
committerJan Beich <jbeich@FreeBSD.org>2022-04-07 00:39:10 +0000
commit6b6c2f9f597039083465d17cb34259e170db76b1 (patch)
tree0a2a692f569af33162d152d36ce37efdd6c8db48
parentc321f8141937a97b5b775694e9b5cd4bfc2f9b47 (diff)
downloadfreebsd-ports-6b6c2f9f597039083465d17cb34259e170db76b1.zip
devel/icu: temporarily switch to GitHub
- Release downloads are published way later - LFS mainly affected ICU4J (Java API) while this port builds ICU4C (C/C++ API) - docs/processes/release/tasks/publish/index.md says LFS is nowadays supported by GitHub archives PR: 262654
-rw-r--r--devel/icu/Makefile10
-rw-r--r--devel/icu/distinfo4
2 files changed, 7 insertions, 7 deletions
diff --git a/devel/icu/Makefile b/devel/icu/Makefile
index 171237e86320..4b2fb824786b 100644
--- a/devel/icu/Makefile
+++ b/devel/icu/Makefile
@@ -1,13 +1,11 @@
# Created by: dwm
PORTNAME= icu
-DISTVERSION= 70_1
+DISTVERSIONPREFIX= release-
+DISTVERSION= 70-1
PORTREVISION?= 1 # keep for icu-lx
PORTEPOCH?= 1
CATEGORIES?= devel
-MASTER_SITES= https://github.com/unicode-org/${PORTNAME}/releases/download/release-${DISTVERSION:S/rc/-&/:S/_/-/g}/ \
- SF/${PORTNAME}/${PORTNAME:tu}4C/${PORTVERSION}
-DISTNAME= icu4c-${DISTVERSION}-src
MAINTAINER= office@FreeBSD.org
COMMENT?= International Components for Unicode (from IBM)
@@ -31,7 +29,9 @@ TEST_TARGET= check
CPE_VENDOR= ${PORTNAME}-project
CPE_PRODUCT= international_components_for_unicode
USE_LDCONFIG= yes
-WRKSRC= ${WRKDIR}/icu/source
+USE_GITHUB= yes
+GH_ACCOUNT= unicode-org
+WRKSRC_SUBDIR= icu4c/source
ICUMAJOR= ${PORTVERSION:C/\..*//}
PLIST_SUB+= ICUMAJOR=${ICUMAJOR} ICUVER=${PORTVERSION:C/r.?/1/}
diff --git a/devel/icu/distinfo b/devel/icu/distinfo
index 8121b7c5f3bc..3380e01827c1 100644
--- a/devel/icu/distinfo
+++ b/devel/icu/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1635437097
-SHA256 (icu4c-70_1-src.tgz) = 8d205428c17bf13bb535300669ed28b338a157b1c01ae66d31d0d3e2d47c3fd5
-SIZE (icu4c-70_1-src.tgz) = 25449582
+SHA256 (unicode-org-icu-release-70-1_GH0.tar.gz) = f30d670bdc03ba999638a2d2511952ab94adf204d0e14898666f2e0cacb7fef1
+SIZE (unicode-org-icu-release-70-1_GH0.tar.gz) = 65661187