git: d8b146fc8819 - main - security/pear-File_SMBPasswd: Add LICENSE

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 29 Jul 2024 12:46:17 UTC
The branch main has been updated by sunpoet:

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

commit d8b146fc881965a27811b8afaf4d008c655e339b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-29 12:39:26 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-29 12:39:26 +0000

    security/pear-File_SMBPasswd: Add LICENSE
    
    - Update WWW
    - Remove USES=php
    - Change the way *_DEPENDS are set
    - Remove BUILD_DEPENDS
    - Add NO_ARCH
---
 security/pear-File_SMBPasswd/Makefile | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/security/pear-File_SMBPasswd/Makefile b/security/pear-File_SMBPasswd/Makefile
index cac45539fbff..0c9944176d9e 100644
--- a/security/pear-File_SMBPasswd/Makefile
+++ b/security/pear-File_SMBPasswd/Makefile
@@ -4,12 +4,16 @@ CATEGORIES=	security www pear
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	PEAR class for managing SAMBA style password files
-WWW=		https://pear.php.net/package/File_SMBPasswd
+WWW=		https://pear.php.net/package/File_SMBPasswd \
+		https://github.com/pear/File_SMBPasswd
 
-BUILD_DEPENDS=	${PEARDIR}/Crypt/CHAP.php:security/pear-Crypt_CHAP@${PHP_FLAVOR}
-RUN_DEPENDS=	${PEARDIR}/Crypt/CHAP.php:security/pear-Crypt_CHAP@${PHP_FLAVOR}
+LICENSE=	BSD3CLAUSE
 
-USES=		pear php
-IGNORE_WITH_PHP=	84
+RUN_DEPENDS=	${PEAR_PKGNAMEPREFIX}Crypt_CHAP>=1.0.0:security/pear-Crypt_CHAP@${PHP_FLAVOR}
+
+USES=		pear
+
+IGNORE_WITH_PHP=84
+NO_ARCH=	yes
 
 .include <bsd.port.mk>