aboutsummaryrefslogtreecommitdiff
path: root/editors/e3/Makefile
blob: 0b853a638d20fdda73c75c69270e9fccc65924a8 (plain) (blame)
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
# Created by: joseph@randomnetworks.com
# $FreeBSD$

PORTNAME=	e3
PORTVERSION=	2.8
PORTEPOCH=	3
CATEGORIES=	editors
MASTER_SITES=	http://sites.google.com/site/e3editor/Home/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Full featured text editor written in assembler

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

USES=		gmake tar:tgz
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

FETCH_ARGS=	-p -o ${DISTDIR}/${DISTFILES}

NO_STAGE=	yes
do-fetch:
	@if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \
		${FETCH_CMD} ${MASTER_SITES}${DISTFILES}?attredirects=0\&d=1 ; \
	fi

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

.include <bsd.port.mk>