mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
x11/fnott: respect PREFIX for config after 272ba1db96
(cherry picked from commit 3824d87333
)
This commit is contained in:
parent
823c6de714
commit
05587975b9
1 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
PORTNAME= fnott
|
||||
DISTVERSION= 1.3.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11 wayland
|
||||
MASTER_SITES= https://codeberg.org/dnkl/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
|
||||
|
||||
|
@ -25,6 +26,10 @@ USE_XORG= pixman
|
|||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
post-patch:
|
||||
# Respect PREFIX for system-wide config
|
||||
@${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \
|
||||
${WRKSRC}/config.c \
|
||||
${WRKSRC}/doc/${PORTNAME}.ini.5.scd
|
||||
# Respect PREFIX for icons
|
||||
@${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
|
||||
${WRKSRC}/xdg.c
|
||||
|
|
Loading…
Add table
Reference in a new issue