pkgsrc/x11/xterm/Makefile
wiz 06097ba2f8 Updated xterm to 330.
Patch #330 - 2017/06/20

  • updates for ReGIS (Ross Combs):
      □ remove redundant text command error check which broke T(B) and T(E).
      □ retain the loading alphabet number across multiple “L” commands.
      □ add S(T) delay handler.
      □ fix some color handling error messages.
      □ add stubbed-out macrograph handling.
      □ use fragment_remaining() and fragment_consumed() instead of manually
        checking position / length in various places.
      □ rename some local variables in string / extent / option parsing
      □ wrap some long lines.
      □ move macrograph command handling out of the top-level.
  • add a summary of the italic fonts loaded to -report-fonts option.
  • modify the font-lookup for italics to allow for “-i-” if no match is found
    with slant “-o-” (prompted by patch by Ben Wong).
  • change default values for mkSamplePass and mkSampleSize to reflect
    generally-improved locale support in various operating systems (FreeBSD #
    219800).
  • modify wcwidth.c to return -1 for non-Unicode values, and adjust a couple
    of blocks to better match assumptions about ambiguous-width characters in
    other implementations. Also modify wcwidth.c to support configurable
    soft-hyphen, so there is no drawback to using this version rather than a
    system wcwidth.
  • amend change made in patch #328 for cursor-visibility to handle case where
    an application is updating the reverse-video state (FreeBSD #219800).
  • update tables of combining and ambiguous-width characters in wcwidth.c
    based on Unicode 10.0.0.
  • build-fix for --enable-sixel-graphics without --enable-regis-graphics
    (reports by Sven Joachim, FreeBSD #219945).
2017-07-04 08:52:38 +00:00

64 lines
1.7 KiB
Makefile

# $NetBSD: Makefile,v 1.116 2017/07/04 08:52:38 wiz Exp $
DISTNAME= xterm-330
CATEGORIES= x11
MASTER_SITES= ftp://invisible-island.net/xterm/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://dickey.his.com/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"