diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2022-04-30 18:40:24 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2022-04-30 18:44:52 +0000 |
commit | 99f7d974fa133ef82d6468c92d98dd298e23fb13 (patch) | |
tree | c2c7328ea23be495bfa4ad5b2084581767f750c2 /cad | |
parent | d7d849cc7e1c1f38609eb3e6a9b36ce9ac49a5b9 (diff) | |
download | ports-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)
Diffstat (limited to 'cad')
-rw-r--r-- | cad/veroroute/Makefile | 4 |
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> |