# New ports collection makefile for:	e3
# Date created:		Tue 5 Dec 2000
# Whom:			joseph@randomnetworks.com
#
# $FreeBSD: ports/editors/e3/Makefile,v 1.21 2007/07/19 10:07:30 rafan Exp $
#

PORTNAME=	e3
PORTVERSION=	2.7.0
PORTEPOCH=	3
CATEGORIES=	editors
MASTER_SITES=	http://www.sax.de/~adlibit/
DISTNAME=	${PORTNAME}-${PORTVERSION:S/60/6/}

MAINTAINER=	joseph@randomnetworks.com
COMMENT=	A full featured text editor written in assembler

BUILD_DEPENDS=	nasm:${PORTSDIR}/devel/nasm

USE_GMAKE=	yes
MAKE_ARGS=	OS=FREEBSD
ONLY_FOR_ARCHS=	i386

MAN1=		e3.1
PLIST_FILES=	bin/e3 bin/e3em bin/e3ne bin/e3pi bin/e3vi bin/e3ws

post-patch:
	@${REINPLACE_CMD} -e '/SYS_sigaction	46/s/46/342/' ${WRKSRC}/e3.h

.include <bsd.port.mk>
