pkgsrc/x11/xterm/Makefile
bjs b506eb8222 Update to xterm-236. Changes:
Patch #236 - 2008/07/27

     * correct memory reallocation when handling a paste of UTF-8 text from
       patch #225 changes (report/patch by Max Mikhanosha).
     * correct allocation of temporary buffer in xtermFindShell in case the
       user's $PATH contains no ":" (report/analysis by Victor Stinner,
       Freedesktop.Org Bugzilla #16790).
     * modify CF_XOPEN_SOURCE to add case for DragonFly BSD, to fix new
       compile problem exposed by fix for fd_mask (patch by Hasso Tepper).
     * add configure-check for ncurses use_extended_names, (report by
       Martin Mokrejs).
     * correct computation for toolbar height; layout manager already takes
       into account borderWidth resource.
     * implement VT320-style SCS (select character set) for ISO Latin-1
       supplemental.
     * fixes for vt100-style character sets in UTF-8 mode (Ubuntu #230919).
     * fix to make luit work with xterm's -ls option (report/patch by
       Marius Tolzmann).
     * update config.guess, config.sub
2008-08-01 23:14:47 +00:00

63 lines
1.7 KiB
Makefile

# $NetBSD: Makefile,v 1.43 2008/08/01 23:14:47 bjs Exp $
DISTNAME= xterm-236
CATEGORIES= x11
MASTER_SITES= ftp://invisible-island.net/xterm/ \
http://www.sfr-fresh.com/unix/misc/
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
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_DIRS+= xdg-1.4
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
CONFIGURE_ARGS+= --enable-88-color
CONFIGURE_ARGS+= --enable-256-color
CONFIGURE_ARGS+= --enable-luit
CONFIGURE_ARGS+= --enable-paste64
CONFIGURE_ARGS+= --enable-mini-luit
CONFIGURE_ARGS+= --enable-readline-mouse
CONFIGURE_ARGS+= --enable-toolbar # Resource disabled by default
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}
.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_DIR} ${DESTDIR}${PREFIX}/share/applications && \
${INSTALL_DATA} ${WRKSRC}/xterm.desktop \
${DESTDIR}${PREFIX}/share/applications && \
${INSTALL_DATA} ${WRKSRC}/uxterm.desktop \
${DESTDIR}${PREFIX}/share/applications
.include "options.mk"
.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/xaw.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"