From nobody Sun Nov 7 23:34:13 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id EA42A1849810; Sun, 7 Nov 2021 23:34:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HnVvB1FMMz4gDk; Sun, 7 Nov 2021 23:34:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E2A452743E; Sun, 7 Nov 2021 23:34:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1A7NYDFm099498; Sun, 7 Nov 2021 23:34:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1A7NYDhc099497; Sun, 7 Nov 2021 23:34:13 GMT (envelope-from git) Date: Sun, 7 Nov 2021 23:34:13 GMT Message-Id: <202111072334.1A7NYDhc099497@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 29b0025ba676 - main - science/linux-zotero: Clean up List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 29b0025ba67634688d0bc3759d4ee39893b7e304 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by 0mp: URL: https://cgit.FreeBSD.org/ports/commit/?id=29b0025ba67634688d0bc3759d4ee39893b7e304 commit 29b0025ba67634688d0bc3759d4ee39893b7e304 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2021-11-07 18:23:41 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2021-11-07 23:33:54 +0000 science/linux-zotero: Clean up --- science/linux-zotero/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/science/linux-zotero/Makefile b/science/linux-zotero/Makefile index 17774a8fc1aa..a933756c07fd 100644 --- a/science/linux-zotero/Makefile +++ b/science/linux-zotero/Makefile @@ -5,9 +5,9 @@ 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= Zotero-${DISTVERSION}_linux-x86_64${EXTRACT_SUFX} \ +DISTFILES= ${_MAIN_DISTFILE} \ COPYING:LICENSE -EXTRACT_ONLY= Zotero-${DISTVERSION}_linux-x86_64${EXTRACT_SUFX} +EXTRACT_ONLY= ${_MAIN_DISTFILE} MAINTAINER= 0mp@FreeBSD.org COMMENT= Reference management for bibliographic data and research materials @@ -26,6 +26,7 @@ USE_LINUX= dbusglib gtk3 SUB_FILES= zotero-wrapper _BINARIES= pdftotext pdfinfo zotero-bin +_MAIN_DISTFILE= Zotero-${DISTVERSION}_linux-x86_64${EXTRACT_SUFX} post-extract: ${CP} ${DISTDIR}/${DIST_SUBDIR}/COPYING ${WRKDIR} @@ -39,7 +40,7 @@ do-install: (cd ${WRKSRC} && ${CHMOD} +x ${_BINARIES}) # Only strip zotero-bin. Other ${_BINARIES} break strip(1). (cd ${STAGEDIR}${DATADIR} && ${STRIP_CMD} zotero-bin) - ${MV} ${STAGEDIR}${DATADIR}/zotero.desktop ${STAGEDIR}${PREFIX}/share/applications/ + ${MV} ${STAGEDIR}${DATADIR}/zotero.desktop ${STAGEDIR}${DESKTOPDIR} ${INSTALL_SCRIPT} ${WRKDIR}/zotero-wrapper ${STAGEDIR}${PREFIX}/bin/zotero .include