pkgsrc/x11/xterm/Makefile
pin 84ad35712e x11/xterm: update to 362
Patch #362 - 2020/11/11
-cleanup of calls to free, removing checks for null (Walter Harms).
-improved mouse-button reporting (prompted by discussion with Stephane Chazelas)
	-narrow the scope of the change for shift-key in patch #361 to make it apply
	only when the modifyOtherKeys resource is set to 2 (i.e., “program mode”).
	Also, when checking the shift-key, ignore modifiers other than shift,
	control and “meta”
	-use the alt/meta modifier information obtained in VTInitModifiers to
	replace a hard-coded mod1 used to detect “Meta” for mouse-button responses.
-reduce SIGWINCH's sent to the client by filtering out duplicates.
-improve display when scaleHeight is greater than 1:
	-the text-cursor is vertically-centered on the current line, rather than
	only extending below the current line (report by Manu Chaturvedi).
	-the built-in line-drawing characters extend to the scaled cell-height.
-fill-in special case for motion-events to match the changes for shift-key in
pointer-button events from patch #361.
2020-11-22 13:32:27 +00:00

64 lines
1.7 KiB
Makefile

# $NetBSD: Makefile,v 1.128 2020/11/22 13:32:27 pin Exp $
DISTNAME= xterm-362
CATEGORIES= x11
MASTER_SITES= ftp://ftp.invisible-island.net/xterm/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://invisible-island.net/xterm/xterm.html
COMMENT= Latest terminal emulator for the X Window System
LICENSE= x11
GNU_CONFIGURE= yes
USE_TOOLS+= tbl pkg-config
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
CONFIGURE_ARGS+= --enable-88-color
CONFIGURE_ARGS+= --enable-256-color
CONFIGURE_ARGS+= --enable-paste64
CONFIGURE_ARGS+= --enable-readline-mouse
CONFIGURE_ARGS.standard= # empty
CONFIGURE_ARGS.3d= --with-Xaw3d
CONFIGURE_ARGS.xpm= --with-Xaw3d
CONFIGURE_ARGS.neXtaw= --with-neXtaw
CONFIGURE_ARGS+= ${${CONFIGURE_ARGS.${XAW_TYPE}}:L}
INSTALLATION_DIRS= share/applications
.include "../../mk/bsd.prefs.mk"
.if ${X11_TYPE} == "modular"
CONFIGURE_ARGS+= --disable-imake
CONFIGURE_ARGS+= --enable-narrowproto
.endif
.if exists(/usr/include/wchar.h)
CONFIGURE_ARGS+= --enable-wide-chars
.endif
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
###
### For detection of XKB bell extension.
###
BUILDLINK_DEPMETHOD.libxkbfile?= build
.include "../../x11/libxkbfile/buildlink3.mk"
post-install:
${INSTALL_DATA} ${WRKSRC}/xterm.desktop \
${DESTDIR}${PREFIX}/share/applications && \
${INSTALL_DATA} ${WRKSRC}/uxterm.desktop \
${DESTDIR}${PREFIX}/share/applications
cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 && tbl xterm.1 \
> xterm.1.tbl && mv xterm.1.tbl xterm.1
.include "options.mk"
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/termcap.buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/xaw.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"