summaryrefslogtreecommitdiff
path: root/x11/xterm/Makefile
blob: 0310f412a3e0510bbe91596a6d371bee9b1130c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $NetBSD: Makefile,v 1.7 2003/07/17 22:57:04 grant Exp $

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

MAINTAINER=	tech-pkg@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_BUILDLINK2=	YES
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#@LOCALBASE@#${LOCALBASE}#g' \
	  -e 's#@PREFIX@#${PREFIX}#g' \
	  ${PKGDIR}/INSTALL >${INSTALL_FILE}

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

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

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