git: 447b15aed3ae - main - security/calife: Update port Makefile

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sun, 11 Feb 2024 19:45:27 UTC
The branch main has been updated by diizzy:

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

commit 447b15aed3ae7be62b3265ed2c28d863a6319d64
Author:     Ollivier Robert <roberto@FreeBSD.org>
AuthorDate: 2024-02-11 19:34:25 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-02-11 19:45:22 +0000

    security/calife: Update port Makefile
    
    * Update Makefile to follow Porters Handbook
    * Update WWW entry
    * Add backup site to MASTER_SITES
    
    PR:             276567
---
 security/calife/Makefile | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/security/calife/Makefile b/security/calife/Makefile
index 09a14ed7b2ff..be6e18a8e091 100644
--- a/security/calife/Makefile
+++ b/security/calife/Makefile
@@ -1,21 +1,22 @@
 PORTNAME=	calife
-PORTVERSION=	3.0.6
+DISTVERSION=	3.0.6
 PORTREVISION=	2
 CATEGORIES=	security
-MASTER_SITES=	https://assets.keltia.net/calife/
+MASTER_SITES=	https://assets.keltia.net/calife/ \
+		https://github.com/keltia/calife/releases/${DISTVERSION}/
 
 MAINTAINER=	roberto@FreeBSD.org
 COMMENT=	Lightweight alternative to sudo
-WWW=		https://www.keltia.net/programs/calife
+WWW=		https://keltia.net/programs/calife
 
 LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		cpe tar:xz
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-etcdir=${PREFIX}/etc
-
-CONFIGURE_ARGS+=	--with-pam
+CONFIGURE_ARGS=	--with-etcdir=${PREFIX}/etc \
+		--with-pam
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/calife ${STAGEDIR}${PREFIX}/bin/calife