aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2021-11-26 13:11:15 +0000
committerNicola Vitale <nivit@FreeBSD.org>2021-11-26 13:11:15 +0000
commitbaf869d0780387317856fa47fcbd7b0ca37774ee (patch)
treefc3aab595bde8dfacc0468fd005a4ec0912ec083 /deskutils
parent137931c24e29d7978b9a4826ea29715a11da9fd6 (diff)
downloadports-baf869d0780387317856fa47fcbd7b0ca37774ee.tar.gz
ports-baf869d0780387317856fa47fcbd7b0ca37774ee.zip
deskutils/flameshot: fix path in .desktop file
Bump PORTREVISION PR: 259391
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/flameshot/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/deskutils/flameshot/Makefile b/deskutils/flameshot/Makefile
index 626095b57ebf..196a8fde3393 100644
--- a/deskutils/flameshot/Makefile
+++ b/deskutils/flameshot/Makefile
@@ -3,6 +3,7 @@
PORTNAME= flameshot
PORTVERSION= 0.10.0
DISTVERSIONPREFIX= v
+PORTREVISION= 1
CATEGORIES= deskutils
MAINTAINER= nivit@FreeBSD.org
@@ -24,6 +25,8 @@ USE_QT= core dbus gui linguist network svg widgets \
post-patch:
@${REINPLACE_CMD} -e 's,$${CMAKE_INSTALL_FULL_BINDIR},${LOCALBASE}/bin,1' \
- ${WRKSRC}/data/dbus/org.flameshot.Flameshot.service.in
+ -e 's,^\(Exec=\)/usr\(/bin\),\1${LOCALBASE}\2,1' \
+ ${WRKSRC}/data/dbus/org.flameshot.Flameshot.service.in \
+ ${WRKSRC}/data/desktopEntry/package/org.flameshot.Flameshot.desktop
.include <bsd.port.mk>