aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-04-30 18:40:24 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-04-30 18:44:52 +0000
commit99f7d974fa133ef82d6468c92d98dd298e23fb13 (patch)
treec2c7328ea23be495bfa4ad5b2084581767f750c2
parentd7d849cc7e1c1f38609eb3e6a9b36ce9ac49a5b9 (diff)
downloadports-99f7d974fa133ef82d6468c92d98dd298e23fb13.tar.gz
ports-99f7d974fa133ef82d6468c92d98dd298e23fb13.zip
cad/veroroute: Fix paths in .desktop file
PR: 263689 Reported by: Torfinn Ingolfsen <tingox+freebsd@gmail.com> (cherry picked from commit 9308b879e2359aad90de076eb1b144da322e00b3)
-rw-r--r--cad/veroroute/Makefile4
1 files changed, 4 insertions, 0 deletions
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>