git: f847f4cabc10 - main - devel/pear-Date_Holidays: Move BUILD_DEPENDS to RUN_DEPENDS

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 22 May 2022 05:15:07 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f847f4cabc10692c5ecda29c215115ea999af34e

commit f847f4cabc10692c5ecda29c215115ea999af34e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-05-22 04:22:56 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-05-22 04:22:56 +0000

    devel/pear-Date_Holidays: Move BUILD_DEPENDS to RUN_DEPENDS
    
    - Change the way *_DEPENDS are set
    - Remove BUILD_DEPENDS
    - Bump PORTREVISION for dependency change
---
 devel/pear-Date_Holidays/Makefile | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/devel/pear-Date_Holidays/Makefile b/devel/pear-Date_Holidays/Makefile
index 46036443377f..897fc196c041 100644
--- a/devel/pear-Date_Holidays/Makefile
+++ b/devel/pear-Date_Holidays/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	Date_Holidays
 PORTVERSION=	0.21.8
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel www pear
 
 MAINTAINER=	sunpoet@FreeBSD.org
@@ -10,8 +10,7 @@ COMMENT=	PEAR driver based class to calculate holidays
 
 LICENSE=	PHP301
 
-BUILD_DEPENDS=	${PEARDIR}/XML/Serializer.php:devel/pear-XML_Serializer@${PHP_FLAVOR}
-RUN_DEPENDS=	${PEARDIR}/XML/Serializer.php:devel/pear-XML_Serializer@${PHP_FLAVOR}
+RUN_DEPENDS=	${PEAR_PKGNAMEPREFIX}XML_Serializer>=0:devel/pear-XML_Serializer@${PHP_FLAVOR}
 
 USES=		pear
 
@@ -24,6 +23,6 @@ NO_ARCH=	yes
 OPTIONS_DEFINE=	PEAR_CONSOLE_GETARGS
 PEAR_CONSOLE_GETARGS_DESC=	Console::Getargs support
 
-PEAR_CONSOLE_GETARGS_BUILD_DEPENDS=${PEARDIR}/Console/Getargs.php:devel/pear-Console_Getargs@${PHP_FLAVOR}
+PEAR_CONSOLE_GETARGS_RUN_DEPENDS=	${PEAR_PKGNAMEPREFIX}Console_Getargs>=0:devel/pear-Console_Getargs@${PHP_FLAVOR}
 
 .include <bsd.port.mk>