cad/veroroute: Fix paths in .desktop file

PR:		263689
Reported by:	Torfinn Ingolfsen <tingox+freebsd@gmail.com>

(cherry picked from commit 9308b879e2)
This commit is contained in:
Yuri Victorovich 2022-04-30 11:40:24 -07:00
parent d7d849cc7e
commit 99f7d974fa

View File

@ -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>