# New ports collection makefile for:	emu
# Date created:		13 September 1994
# Whom:			jkh
#
# $FreeBSD: ports/x11/emu/Makefile,v 1.30 2008/04/19 17:54:19 miwi Exp $
#

PORTNAME=	emu
PORTVERSION=	1.31
PORTREVISION=	2
CATEGORIES=	x11
MASTER_SITES=	${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR=	applications

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A terminal emulator for the X Window System

BUILD_DEPENDS=	xrdb:${PORTSDIR}/x11/xrdb
RUN_DEPENDS=	xrdb:${PORTSDIR}/x11/xrdb

USE_IMAKE=	yes
USE_DISPLAY=	yes

WRKSRC=		${WRKDIR}/emu

.if (!defined(DISPLAY) || ${DISPLAY} == "") && !defined(PACKAGE_BUILDING)
IGNORE=		requires an active X session (and DISPLAY variable) to run xrdb.  Please compile this while running X
.endif

MAN1=		emu.1

pre-configure:
	cd ${WRKSRC}/client ; ${LN} -s ../doc/emu.man .

.include <bsd.port.mk>
