git: 99f7d974fa13 - 2022Q2 - cad/veroroute: Fix paths in .desktop file
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 30 Apr 2022 18:45:03 UTC
The branch 2022Q2 has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=99f7d974fa133ef82d6468c92d98dd298e23fb13 commit 99f7d974fa133ef82d6468c92d98dd298e23fb13 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-04-30 18:40:24 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-04-30 18:44:52 +0000 cad/veroroute: Fix paths in .desktop file PR: 263689 Reported by: Torfinn Ingolfsen <tingox+freebsd@gmail.com> (cherry picked from commit 9308b879e2359aad90de076eb1b144da322e00b3) --- cad/veroroute/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cad/veroroute/Makefile b/cad/veroroute/Makefile index 7f84d5f6d4f9..3a0c0aaecac1 100644 --- a/cad/veroroute/Makefile +++ b/cad/veroroute/Makefile @@ -1,5 +1,6 @@ PORTNAME= veroroute DISTVERSION= 2.25 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= cad MASTER_SITES= SF/${PORTNAME}/ @@ -19,5 +20,8 @@ WRKSRC_SUBDIR= Src post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/veroroute + # workaround for https://sourceforge.net/p/veroroute/tickets/26/ + @${REINPLACE_CMD} -e 's|/usr/|${PREFIX}/|' \ + ${STAGEDIR}${PREFIX}/share/applications/veroroute.desktop .include <bsd.port.mk>