aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-07-19 19:25:29 +0000
committerJan Beich <jbeich@FreeBSD.org>2021-07-19 19:27:34 +0000
commitccbd52b189f29fd3808d0ace4e6b4a9d37affd33 (patch)
tree27679de6849c1ab282fdff1613de5b5ebea0e812
parent49245cca0f1937edf14678ef0581793cd7c99d2d (diff)
downloadports-ccbd52b189f29fd3808d0ace4e6b4a9d37affd33.tar.gz
ports-ccbd52b189f29fd3808d0ace4e6b4a9d37affd33.zip
x11/nwg-launchers: respect PREFIX for pixmaps
-rw-r--r--x11/nwg-launchers/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11/nwg-launchers/Makefile b/x11/nwg-launchers/Makefile
index 47b09166d87f..7fce98cf5563 100644
--- a/x11/nwg-launchers/Makefile
+++ b/x11/nwg-launchers/Makefile
@@ -1,6 +1,7 @@
PORTNAME= nwg-launchers
DISTVERSIONPREFIX= v
DISTVERSION= 0.4.4
+PORTREVISION= 1
CATEGORIES= x11
MAINTAINER= jbeich@FreeBSD.org
@@ -18,7 +19,7 @@ GH_ACCOUNT= nwg-piotr
post-patch:
# Respect PREFIX when looking for .desktop files
- @${REINPLACE_CMD} 's,/usr/local,${PREFIX},' \
+ @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
${WRKSRC}/common/nwg_tools.cc \
${WRKSRC}/grid/grid_tools.cc