Fix hardcoded pixmap directory path

PR:		250036
Submitted by:	sigsys@gmail.com
This commit is contained in:
Emanuel Haupt 2020-10-02 16:03:30 +00:00
parent 054c562429
commit 650c0c2cd5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=551218

View file

@ -3,6 +3,7 @@
PORTNAME= xterm
PORTVERSION= 360
PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= ftp://ftp.invisible-island.net/xterm/:src1 \
https://invisible-mirror.net/archives/xterm/:src1 \
@ -89,6 +90,10 @@ post-extract:
${WRKDIR}/bsd-xterm-icons-1/*.xpm \
${WRKSRC}/icons/
post-patch:
@${REINPLACE_CMD} -e "s|/usr\(/share/pixmaps\)|${LOCALBASE}\1|" \
${WRKSRC}/misc.c
post-install:
.for f in koi8rxterm resize uxterm xterm
@${CHMOD} ${BINMODE} ${STAGEDIR}${PREFIX}/bin/${f}