[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / x11 / xterm

File: [cvs.NetBSD.org] / pkgsrc / x11 / xterm / Makefile (download)

Revision 1.103, Sun Aug 23 14:06:38 2015 UTC (4 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.102: +2 -3 lines

Update to 319:

Patch #319 - 2015/08/19

    add a section to ctlseqs.ms discussing control sequences and
    ECMA-48, to explain why C1 controls do not occur in the decoded
    characters from UTF-8 byte streams (prompted by discussion with
    Poul-Henning Kamp).
    modify check for cursor-theme from patch #301 to also check if
    the resource Xcursor.theme is set to a nonempty value before
    fallback to xterm's own dummy theme (request by Robert Kloefkorn).
    explain in ctlseqs.ms that some keys which normally send
    SS3-prefixes are changed to CSI-prefixes if key-modifiers are
    passed as parameters (report by George Nachman).
    correct double-free of font information when multiple problems
    are found, particularly for the wide fonts loaded via the -wc
    option (report/testcase by Nelson Beebe).
    make configure option --enable-builtin-xpms actually work
    (report by William Bulley).
    correct combination of -ls and -e options for utempter
    configuration (Debian #794201).
    NetBSD build-fix for OPT_RENDERFONT versus OPT_SHIFT_FONTS
    (patch by Matthew Green, forwarded by Thomas Klausner).
    fix a few minor bugs found with Coverity.
    update pixelvector handling (patch by Ross Combs):
	split pixel-based and coord-based functions with common
	parts factored out to a "raw" function
	add a "step" variant which loads a single PV digit
    make the graphic dirty upon resize or clear, fixing some missing
    refreshes (patch by Ross Combs)
    fixes scrolling to use user coordinates and move in the correct
    direction (patch by Ross Combs)
    several fixes/improvements for ReGIS whitespace and page-handling
    (patch by Ross Combs).

# $NetBSD: Makefile,v 1.103 2015/08/23 14:06:38 wiz Exp $

DISTNAME=	xterm-319
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
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 "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/xaw.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"