[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.1, Mon Dec 17 14:34:17 2001 UTC (17 years, 11 months ago) by tron
Branch: MAIN

Initial revision

# $NetBSD: Makefile,v 1.1 2001/12/17 14:34:17 tron Exp $

DISTNAME=	xterm-164
CATEGORIES=	x11
MASTER_SITES=	${MASTER_SITE_LOCAL}

MAINTAINER=	tron@netbsd.org
HOMEPAGE=	http://dickey.his.com/xterm/xterm.html
COMMENT=	Latest terminal emulator for the X Window System

ONLY_FOR_PLATFORM=	SunOS-*-*	# in NetBSD X11 distribution

USE_IMAKE=	YES

INSTALL_FILE=	${WRKDIR}/INSTALL
DEINSTALL_FILE=	${INSTALL_FILE}

post-extract:
	@${MKDIR} ${WRKSRC}/X11
	@${LN} -s ${FILESDIR}/Xpoll.h ${WRKSRC}/X11

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

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

post-install:
	cd ${PREFIX}/lib/X11/etc; \
	${SETENV} TERMINFO=${LOCALBASE}/share/lib/terminfo \
	  /usr/5bin/tic xterm.terminfo

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