diff options
author | Mateusz Piotrowski <0mp@FreeBSD.org> | 2022-07-29 13:19:11 +0000 |
---|---|---|
committer | Mateusz Piotrowski <0mp@FreeBSD.org> | 2022-07-29 13:21:06 +0000 |
commit | 77f485048c3c7c6a0807ae71619932b23fae51d7 (patch) | |
tree | 94b8f10bc9a5f52c5c2b6cded6997b87ed562f52 /science/linux-zotero/Makefile | |
parent | 9f069b6d4b213abf808be60dc6ebe87e21f35b37 (diff) | |
download | ports-77f485048c3c7c6a0807ae71619932b23fae51d7.tar.gz ports-77f485048c3c7c6a0807ae71619932b23fae51d7.zip |
science/linux-zotero: Commit zotero.desktop patches & fix Exec
I forgot to commit the patch for the icon support. While here, fix the
Exec line.
Diffstat (limited to 'science/linux-zotero/Makefile')
-rw-r--r-- | science/linux-zotero/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/science/linux-zotero/Makefile b/science/linux-zotero/Makefile index 98a01ea33525..8cf918746899 100644 --- a/science/linux-zotero/Makefile +++ b/science/linux-zotero/Makefile @@ -1,6 +1,6 @@ PORTNAME= zotero DISTVERSION= 6.0.10 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science deskutils linux MASTER_SITES= https://download.zotero.org/client/release/${DISTVERSION}/ \ https://raw.githubusercontent.com/zotero/zotero-standalone-build/${DISTVERSION}/:LICENSE @@ -38,11 +38,12 @@ post-extract: ${CP} ${DISTDIR}/${DIST_SUBDIR}/COPYING ${WRKDIR} do-configure: + ${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/${PORTNAME}.desktop (cd ${WRKSRC} && ${BRANDELF} -t Linux ${_BINARIES}) do-install: @${MKDIR} ${STAGEDIR}${DATADIR} - (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} "! -name '*.orig'") + (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} "! -name '*.orig' ! -name '*.bak'") (cd ${WRKSRC} && ${CHMOD} +x ${_BINARIES}) # Only strip zotero-bin. Other ${_BINARIES} break strip(1). (cd ${STAGEDIR}${DATADIR} && ${STRIP_CMD} zotero-bin) |