Date: Thu, 16 Apr 2026 20:09:59 +0000 From: Daniel Engberg <diizzy@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: fe66689142d8 - main - net-im/vesktop: Improve port Message-ID: <69e14217.1be44.40a2464e@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=fe66689142d8014d3ed4aed0f34ee24394a2a10f commit fe66689142d8014d3ed4aed0f34ee24394a2a10f Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2026-04-16 19:36:37 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2026-04-16 20:09:08 +0000 net-im/vesktop: Improve port * Don't extract into WRKDIR * Extract the files we want by using pipe instead of writing tarball to disk and then extracting it PR: 294489 Reviewed by: Céleste Ornato <celeste@ornato.com> --- net-im/vesktop/Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/net-im/vesktop/Makefile b/net-im/vesktop/Makefile index beb0d16277ef..3b4f94338614 100644 --- a/net-im/vesktop/Makefile +++ b/net-im/vesktop/Makefile @@ -14,26 +14,26 @@ LICENSE= GPLv3 ONLY_FOR_ARCHS= amd64 aarch64 -USES= electronfix:39 +USES= electronfix:39 ELECTRONFIX_MAIN_EXECUTABLE= vesktop NO_BUILD= yes -WRKSRC= ${WRKDIR}/opt/Vesktop _ICON_DIR= ${PREFIX}/share/icons/hicolor/scalable/apps -post-extract: - ${TAR} -xf ${WRKDIR}/data.tar.xz -C ${WRKDIR}/ +do-extract: + ${MKDIR} ${EXTRACT_WRKDIR}/${DISTNAME} + ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${EXTRACT_ONLY} -O --include data.tar.xz | ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} - -C ${EXTRACT_WRKDIR}/${DISTNAME} ${EXTRACT_AFTER_ARGS} pre-install: - echo 'freebsd' > ${WRKSRC}/resources/package-type + echo 'freebsd' > ${WRKSRC}/opt/Vesktop/resources/package-type do-install: - cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} + cd ${WRKSRC}/opt/Vesktop && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${_ICON_DIR} - ${INSTALL_DATA} ${WRKDIR}/usr/share/icons/hicolor/scalable/apps/vesktop.svg ${STAGEDIR}${_ICON_DIR} + ${INSTALL_DATA} ${WRKSRC}/usr/share/icons/hicolor/scalable/apps/vesktop.svg ${STAGEDIR}${_ICON_DIR} ${RLN} ${STAGEDIR}${DATADIR}/vesktop ${STAGEDIR}${PREFIX}/bin/vesktop - ${INSTALL_DATA} ${WRKDIR}/usr/share/applications/vesktop.desktop ${STAGEDIR}${PREFIX}/share/applications + ${INSTALL_DATA} ${WRKSRC}/usr/share/applications/vesktop.desktop ${STAGEDIR}${PREFIX}/share/applications ${REINPLACE_CMD} -e 's|Exec=.*|Exec=vesktop|' \ ${STAGEDIR}${PREFIX}/share/applications/vesktop.desktophome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69e14217.1be44.40a2464e>
