x11/nwg-launchers: respect PREFIX for pixmaps
This commit is contained in:
parent
49245cca0f
commit
ccbd52b189
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue