git: 340676acd5b6 - main - security/keepassxc276: Differentiate from security/keepassxc

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Mon, 21 Jul 2025 20:34:08 UTC
The branch main has been updated by cy:

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

commit 340676acd5b6324d10b06777de928a752eb4e194
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2025-07-04 15:54:49 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2025-07-21 20:33:21 +0000

    security/keepassxc276: Differentiate from security/keepassxc
    
    Add PKGNAMESUFFIX and CONFLICTS to differentiate from the main
    security/keepassxc port.
    
    PR:             279879
    Suggested by:   madpilot
    Approved by:    lwhsu (MAINTAINER)
---
 security/keepassxc276/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/security/keepassxc276/Makefile b/security/keepassxc276/Makefile
index 4cb9c335c67b..e5965d9be9de 100644
--- a/security/keepassxc276/Makefile
+++ b/security/keepassxc276/Makefile
@@ -2,12 +2,15 @@ PORTNAME=	keepassxc
 DISTVERSION=	2.7.6
 CATEGORIES=	security
 MASTER_SITES=	https://github.com/keepassxreboot/keepassxc/releases/download/${DISTVERSION}/
+PKGNAMESUFFIX=	276
 DISTNAME=	${PORTNAME}-${DISTVERSION}-src
 
 MAINTAINER=	lwhsu@FreeBSD.org
 COMMENT=	KeePass Cross-platform Community Edition
 WWW=		https://keepassxc.org
 
+CONFLICTS=	keepassxc-[1-9]*
+
 LICENSE=	APACHE20 BSD3CLAUSE CC0-1.0 GPLv2 GPLv3 LGPL21 LGPL3 MIT \
 		NOKIA-LGPL-EXCEPTION
 LICENSE_COMB=	multi