aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2022-05-13 13:10:26 +0000
committerThierry Thomas <thierry@FreeBSD.org>2022-05-15 09:30:42 +0000
commitdc3a945c4550b977045d50c5a4999e4a696854d7 (patch)
treef74964b105beba205eec99338a163b80bf79d07e
parentfd4268a39c5ae8566683f2393772a31bc387dfe7 (diff)
downloadports-dc3a945c4550b977045d50c5a4999e4a696854d7.tar.gz
ports-dc3a945c4550b977045d50c5a4999e4a696854d7.zip
devel/pear-Date_Holidays: fix with PHP-8.0
Get the latest patches from GitHub. It also remove a dependency on pear-Date, which is almost abandonned, and set NO_ARCH. PR: 263954 Approved by: sunpoet (maintainer)
-rw-r--r--devel/pear-Date_Holidays/Makefile13
-rw-r--r--devel/pear-Date_Holidays/distinfo6
2 files changed, 12 insertions, 7 deletions
diff --git a/devel/pear-Date_Holidays/Makefile b/devel/pear-Date_Holidays/Makefile
index e12176286709..46036443377f 100644
--- a/devel/pear-Date_Holidays/Makefile
+++ b/devel/pear-Date_Holidays/Makefile
@@ -2,6 +2,7 @@
PORTNAME= Date_Holidays
PORTVERSION= 0.21.8
+PORTREVISION= 1
CATEGORIES= devel www pear
MAINTAINER= sunpoet@FreeBSD.org
@@ -9,13 +10,17 @@ COMMENT= PEAR driver based class to calculate holidays
LICENSE= PHP301
-BUILD_DEPENDS= ${PEARDIR}/Date.php:devel/pear-Date@${PHP_FLAVOR} \
- ${PEARDIR}/XML/Serializer.php:devel/pear-XML_Serializer@${PHP_FLAVOR}
-RUN_DEPENDS= ${PEARDIR}/Date.php:devel/pear-Date@${PHP_FLAVOR} \
- ${PEARDIR}/XML/Serializer.php:devel/pear-XML_Serializer@${PHP_FLAVOR}
+BUILD_DEPENDS= ${PEARDIR}/XML/Serializer.php:devel/pear-XML_Serializer@${PHP_FLAVOR}
+RUN_DEPENDS= ${PEARDIR}/XML/Serializer.php:devel/pear-XML_Serializer@${PHP_FLAVOR}
USES= pear
+USE_GITHUB= yes
+GH_ACCOUNT= pear
+GH_TAGNAME= a3fc96f
+
+NO_ARCH= yes
+
OPTIONS_DEFINE= PEAR_CONSOLE_GETARGS
PEAR_CONSOLE_GETARGS_DESC= Console::Getargs support
diff --git a/devel/pear-Date_Holidays/distinfo b/devel/pear-Date_Holidays/distinfo
index fdc2db5c1bc6..0f779d856ea0 100644
--- a/devel/pear-Date_Holidays/distinfo
+++ b/devel/pear-Date_Holidays/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1497162357
-SHA256 (PEAR/Date_Holidays-0.21.8.tgz) = 16974fd34454b28b69aae878284b4928fb3772d37480535b3b6a0184aa558202
-SIZE (PEAR/Date_Holidays-0.21.8.tgz) = 39292
+TIMESTAMP = 1652446529
+SHA256 (PEAR/pear-Date_Holidays-0.21.8-a3fc96f_GH0.tar.gz) = 5e466bfe07867ec69b9fd4a7e37c88851d245945473d78847ec37ac6b2b8e1ef
+SIZE (PEAR/pear-Date_Holidays-0.21.8-a3fc96f_GH0.tar.gz) = 155931