Skip to content

Commit

Permalink
cad/veroroute: Fix paths in .desktop file
Browse files Browse the repository at this point in the history
PR:		263689
Reported by:	Torfinn Ingolfsen <tingox+freebsd@gmail.com>
  • Loading branch information
yurivict committed Apr 30, 2022
1 parent 6e035f4 commit 9308b87
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cad/veroroute/Makefile
@@ -1,5 +1,6 @@
PORTNAME= veroroute
DISTVERSION= 2.25
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= cad
MASTER_SITES= SF/${PORTNAME}/
Expand All @@ -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>

0 comments on commit 9308b87

Please sign in to comment.