1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

x11/nwg-launchers: respect PREFIX for pixmaps

(cherry picked from commit ccbd52b189)
This commit is contained in:
Jan Beich 2021-07-19 19:25:29 +00:00
parent d88b07c21e
commit c203ca493b

View File

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