View | Details | Raw Unified | Return to bug 148508
Collapse All | Expand All

(-)Makefile (-4 / +10 lines)
Lines 6-16 Link Here
6
#
6
#
7
7
8
PORTNAME=	e3
8
PORTNAME=	e3
9
PORTVERSION=	2.7.0
9
PORTVERSION=	2.8
10
PORTEPOCH=	3
11
CATEGORIES=	editors
10
CATEGORIES=	editors
12
MASTER_SITES=	http://www.sax.de/~adlibit/
11
MASTER_SITES=	http://sites.google.com/site/e3editor/Home/
13
DISTNAME=	${PORTNAME}-${PORTVERSION:S/60/6/}
12
EXTRACT_SUFX=	.tgz
14
13
15
MAINTAINER=	joseph@randomnetworks.com
14
MAINTAINER=	joseph@randomnetworks.com
16
COMMENT=	A full featured text editor written in assembler
15
COMMENT=	A full featured text editor written in assembler
Lines 24-29 Link Here
24
MAN1=		e3.1
23
MAN1=		e3.1
25
PLIST_FILES=	bin/e3 bin/e3em bin/e3ne bin/e3pi bin/e3vi bin/e3ws
24
PLIST_FILES=	bin/e3 bin/e3em bin/e3ne bin/e3pi bin/e3vi bin/e3ws
26
25
26
FETCH_ARGS=     -p -o ${DISTDIR}/${DISTFILES}
27
28
do-fetch:
29
	@if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \
30
		${FETCH_CMD} ${MASTER_SITES}${DISTFILES}?attredirects=0\&d=1 ; \
31
	fi
32
27
post-patch:
33
post-patch:
28
	@${REINPLACE_CMD} -e '/SYS_sigaction	46/s/46/342/' ${WRKSRC}/e3.h
34
	@${REINPLACE_CMD} -e '/SYS_sigaction	46/s/46/342/' ${WRKSRC}/e3.h
29
35
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (e3-2.7.0.tar.gz) = a76dd61c52a80a1f4d3938a4ce54c62e
1
MD5 (e3-2.8.tgz) = 0120bb073133ad26a054b35f88333183
2
SHA256 (e3-2.7.0.tar.gz) = ab45362282b3b3e987ef40a0c6b300aa7267fcc0bb1f9879d09bbb6445eec18d
2
SHA256 (e3-2.8.tgz) = 035737d0cc82b287386fdff8682b2c23ef620d7ef97dff7a1b1fe1777e4c4fb7
3
SIZE (e3-2.7.0.tar.gz) = 239477
3
SIZE (e3-2.8.tgz) = 119939
(-)files/patch-Makefile (-8 / +17 lines)
Lines 1-17 Link Here
1
--- Makefile.orig	Fri Nov  9 10:38:26 2001
1
--- Makefile.orig	2010-05-28 03:58:59.000000000 +0900
2
+++ Makefile	Mon Dec 24 17:54:32 2001
2
+++ Makefile	2010-07-12 10:10:41.000000000 +0900
3
@@ -8,7 +8,7 @@
3
@@ -7,7 +7,7 @@
4
 
4
 
5
 # 2. edit dest dir prefix if you want....
5
 # 2. edit dest dir prefix if you want....
6
 
6
 
7
-PREFIX='/usr/local'
7
-PREFIX='/usr/local'
8
+PREFIX?='/usr/local'
8
+PREFIX?='/usr/local'
9
 #PREFIX=/boot/home
10
 
9
 
11
 
10
 # 3. for programmers only: debugging in 64 bit Linux
12
@@ -86,13 +86,13 @@
11
 DEBUG=false
13
 	ln -sf $(BINDIR)/e3 $(BINDIR)/e3ne
12
@@ -43,7 +43,7 @@
13
 	chmod +x e3
14
 else
14
 else
15
 	echo $(ASVER)
16
-	nasm -O2 $(AFLAGS) -o e3.o e3.asm -l e3.lst -D$(OS) -D$(EXMODE)
17
+	nasm -O2 $(AFLAGS) -o e3.o e3.asm -l e3.lst -D$(OS)
18
 	ld -s -o e3 e3.o
19
 	strip --remove-section .comment e3
20
 endif
21
@@ -72,13 +72,13 @@
22
 
23
 install:	e3
15
 	install -d $(PREFIX) $(BINDIR) $(MANDIR)
24
 	install -d $(PREFIX) $(BINDIR) $(MANDIR)
16
-	install -m 755 e3 $(BINDIR)
25
-	install -m 755 e3 $(BINDIR)
17
+	${BSD_INSTALL_PROGRAM} e3 $(BINDIR)
26
+	${BSD_INSTALL_PROGRAM} e3 $(BINDIR)
Lines 22-27 Link Here
22
 	ln -sf $(BINDIR)/e3 $(BINDIR)/e3ne
31
 	ln -sf $(BINDIR)/e3 $(BINDIR)/e3ne
23
-	install -m 644 e3.man $(MANDIR)/e3.$(MANSEC)
32
-	install -m 644 e3.man $(MANDIR)/e3.$(MANSEC)
24
+	${BSD_INSTALL_MAN} e3.man $(MANDIR)/e3.$(MANSEC)
33
+	${BSD_INSTALL_MAN} e3.man $(MANDIR)/e3.$(MANSEC)
25
 endif
26
 
34
 
27
 clean:
35
 clean:
36
 	rm -f e3*.o e3*.lst e3.tmp e3 e3em e3pi e3vi e3ws e3ne *~
(-)files/patch-e3.asm (-3 / +3 lines)
Lines 1-6 Link Here
1
--- e3.asm	Wed Jan  3 14:21:19 2001
1
--- e3.asm.orig	2010-05-10 01:16:47.000000000 +0900
2
+++ e3.asm.new	Wed Jan  3 14:21:47 2001
2
+++ e3.asm	2010-07-12 10:01:52.000000000 +0900
3
@@ -3620,8 +3620,8 @@
3
@@ -5813,8 +5813,8 @@
4
 	dw KeyVICmdI	-_start	;33h
4
 	dw KeyVICmdI	-_start	;33h
5
 	dw KeyVICmdR	-_start ;34h
5
 	dw KeyVICmdR	-_start ;34h
6
 	dw KeyVICmdd	-_start ;35h
6
 	dw KeyVICmdd	-_start ;35h

Return to bug 148508