git: 10f3d590684d - main - science/linux-zotero: Lint

From: Mateusz Piotrowski <0mp_at_FreeBSD.org>
Date: Fri, 29 Jul 2022 11:40:22 UTC
The branch main has been updated by 0mp:

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

commit 10f3d590684d9fb2515b9f012e35971e5973e859
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2022-07-29 11:37:51 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2022-07-29 11:38:32 +0000

    science/linux-zotero: Lint
---
 science/linux-zotero/Makefile | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/science/linux-zotero/Makefile b/science/linux-zotero/Makefile
index 6e0b1d44b6db..77d100d69d64 100644
--- a/science/linux-zotero/Makefile
+++ b/science/linux-zotero/Makefile
@@ -4,9 +4,9 @@ CATEGORIES=	science deskutils linux
 MASTER_SITES=	https://download.zotero.org/client/release/${DISTVERSION}/ \
 		https://raw.githubusercontent.com/zotero/zotero-standalone-build/${DISTVERSION}/:LICENSE
 PKGNAMEPREFIX=	linux-
-DIST_SUBDIR=	${PORTNAME}
 DISTFILES=	${_MAIN_DISTFILE} \
 		COPYING:LICENSE
+DIST_SUBDIR=	${PORTNAME}
 EXTRACT_ONLY=	${_MAIN_DISTFILE}
 
 MAINTAINER=	0mp@FreeBSD.org
@@ -20,18 +20,21 @@ ONLY_FOR_ARCHS=	amd64
 RUN_DEPENDS=	bash:shells/bash
 
 USES=		desktop-file-utils linux tar:bz2
-WRKSRC=		${WRKDIR}/Zotero_linux-x86_64
 USE_LINUX=	dbusglib gtk3
 
+NO_BUILD=	yes
+
 SUB_FILES=	zotero-wrapper
 
+WRKSRC=		${WRKDIR}/Zotero_linux-x86_64
+
 _BINARIES=	pdftotext pdfinfo zotero-bin
 _MAIN_DISTFILE=	Zotero-${DISTVERSION}_linux-x86_64${EXTRACT_SUFX}
 
 post-extract:
 	${CP} ${DISTDIR}/${DIST_SUBDIR}/COPYING ${WRKDIR}
 
-do-build:
+do-configure:
 	(cd ${WRKSRC} && ${BRANDELF} -t Linux ${_BINARIES})
 
 do-install: