git: fb0252eec6c1 - main - security/autofirma: Fix build

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Fri, 19 Dec 2025 11:02:02 UTC
The branch main has been updated by fernape:

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

commit fb0252eec6c16f5a329546876f470239aabd95eb
Author:     Fernando Apesteguía <fernape@FreeBSD.org>
AuthorDate: 2025-12-19 10:50:48 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2025-12-19 11:01:28 +0000

    security/autofirma: Fix build
    
    This worked in my poudriere because despite the error, the log says (ignored)
    and then everything worked fine.
---
 security/autofirma/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/security/autofirma/Makefile b/security/autofirma/Makefile
index 034ca3b487e2..ba6ae18ec0cb 100644
--- a/security/autofirma/Makefile
+++ b/security/autofirma/Makefile
@@ -12,6 +12,7 @@ LICENSE=	GPLv2 EUPL11
 LICENSE_COMB=	dual
 LICENSE_FILE=	${WRKSRC}/usr/share/common-licenses/eupl-1.1.txt
 
+EXTRACT_DEPENDS=	zip:archivers/zip
 LIB_DEPENDS=	libnss3.so:security/nss
 
 USES=		desktop-file-utils java zip
@@ -34,7 +35,7 @@ WRKSRC=${WRKDIR}
 post-extract:
 	${TAR} -C ${WRKDIR} -xvzf ${WRKDIR}/autofirma_1_9.deb
 	${TAR} -C ${WRKDIR} -xvzf ${WRKDIR}/data.tar.gz
-	${ZIP_CMD} -d ${PORTNAME}.jar "nss/WINDOWS/*" "windows/*" "osx/*" "linux/*"
+	zip -d ${WRKDIR}/usr/lib/Autofirma/${PORTNAME}.jar "nss/WINDOWS/*" "windows/*" "osx/*" "linux/*"
 
 do-install:
 	${MKDIR} ${STAGEDIR}${DATADIR}