[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.36, Mon Sep 17 06:36:21 2007 UTC (12 years, 2 months ago) by bjs
Branch: MAIN
CVS Tags: pkgsrc-2007Q3-base, pkgsrc-2007Q3
Changes since 1.35: +13 -2 lines



Update to version #229.  Too many changes to list here; please see
${WRKSRC}/xterm.log.html.  Additionally, the pkgsrc-specific
changes are:

-- Add an "xterm-toolbar" option and add it to PKG_DEFAULT_OPTIONS.  Now
   we may all enjoy pull-down menus.

-- In the ${X11_TYPE} == "modular" case, add --disable-imake and
   --enable-narrowproto to CONFIGURE_ARGS.  The latter fixes [possible]
   problems with Xaw scrollbars.

-- Add USE_DIRS+=xdg-1.4 to handle newly-provided xterm pixmaps.

-- Add build-time dependency on x11/libxkbfile to pull in XKB extension
   headers, e.g. ${X11BASE}/include/X11/extensions/XKBbells.h.  The XKB
   bell extension should now be properly detected and supported.

-  Add "pcre" option, thereby supporting devel/pcre as xterm's regex
   library.

Changes ok'd (more or less) by joerg@ and tested by me.  For more detail
wrt: rationale for --enable-narrowproto and/or libxkbfile dependency,
please contact me.

# $NetBSD: Makefile,v 1.36 2007/09/17 06:36:21 bjs Exp $

DISTNAME=	xterm-229
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

PKG_DESTDIR_SUPPORT=	user-destdir

GNU_CONFIGURE=	yes
USE_DIRS+=	xdg-1.4
WRKSRC=		${WRKDIR}/${PKGNAME_NOREV}

.include "../../mk/bsd.prefs.mk"

.if ${X11_TYPE} == "modular"
CONFIGURE_ARGS+= --disable-imake --enable-narrowproto
.endif

.if exists(/usr/include/wchar.h)
CONFIGURE_ARGS+= --enable-wide-chars
.endif

.include "options.mk"

.if ${OPSYS} == "DragonFly"
CONFIGURE_ARGS+= --with-setuid
.endif

.if ${OPSYS} == "SunOS"
INSTALL_FILE=	${WRKDIR}/INSTALL
DEINSTALL_FILE=	${INSTALL_FILE}

pre-build:
	${MKDIR} ${INSTALL_FILE:H}
	${SED} -e 's#@MV@#${MV}#g' \
	  -e 's#@LOCALBASE@#${LOCALBASE}#g' \
	  -e 's#@PREFIX@#${PREFIX}#g' \
	  ${PKGDIR}/INSTALL.openwin >${INSTALL_FILE}

pre-install:
	${SH} ${INSTALL_FILE} ${PKGNAME} PRE-INSTALL

post-install:
	${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
.endif

.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXaw/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
###
### For detection of XKB bell extension.
###
BUILDLINK_DEPMETHOD.libxkbfile?=	build
.include "../../x11/libxkbfile/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"