aboutsummaryrefslogtreecommitdiff
path: root/x11/xterm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xterm/Makefile')
-rw-r--r--x11/xterm/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/x11/xterm/Makefile b/x11/xterm/Makefile
index 01bcd49fc248..ac7f74aeaa74 100644
--- a/x11/xterm/Makefile
+++ b/x11/xterm/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= xterm
-PORTVERSION= 360
-PORTREVISION= 1
+PORTVERSION= 361
CATEGORIES= x11
MASTER_SITES= ftp://ftp.invisible-island.net/xterm/:src1 \
https://invisible-mirror.net/archives/xterm/:src1 \
@@ -79,6 +78,8 @@ XINERAMA_CONFIGURE_OFF= --without-xinerama
LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig
+CPPFLAGS+= -DPIXMAP_ROOTDIR=${LOCALBASE}/share/pixmaps
+
.include <bsd.port.options.mk>
.if ! ${PORT_OPTIONS:MXAW3D} && ! ${PORT_OPTIONS:MXAW3DXFT} && ! ${PORT_OPTIONS:MNEXTAW}
@@ -90,10 +91,6 @@ 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}