aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2024-03-15 07:23:49 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2024-03-15 08:18:49 +0000
commit4cc4debed086e9db8dd9925550ddb2533f230548 (patch)
tree786d29285a4b40940b7c859067045c23df5ae81e /editors
parent9a5f9c79fc142cd8ee889b4b0de99ca92c774583 (diff)
editors/e3: Move man pages to share/man
Approved by: portmgr (blanket)
Diffstat (limited to 'editors')
-rw-r--r--editors/e3/Makefile3
-rw-r--r--editors/e3/files/patch-Makefile19
-rw-r--r--editors/e3/pkg-plist2
3 files changed, 17 insertions, 7 deletions
diff --git a/editors/e3/Makefile b/editors/e3/Makefile
index ca455a7a9f76..218977dad07b 100644
--- a/editors/e3/Makefile
+++ b/editors/e3/Makefile
@@ -1,5 +1,6 @@
PORTNAME= e3
PORTVERSION= 2.8
+PORTREVISION= 1
PORTEPOCH= 3
CATEGORIES= editors
MASTER_SITES= http://sites.google.com/site/e3editor/Home/
@@ -10,9 +11,9 @@ WWW= http://www.sax.de/~adlibit/
BUILD_DEPENDS= nasm:devel/nasm
+ONLY_FOR_ARCHS= i386
USES= gmake tar:tgz
MAKE_ARGS= OS=FREEBSD
-ONLY_FOR_ARCHS= i386
post-patch:
@${REINPLACE_CMD} -e '/SYS_sigaction 46/s/46/342/' ${WRKSRC}/e3.h
diff --git a/editors/e3/files/patch-Makefile b/editors/e3/files/patch-Makefile
index d881e8be2b81..68a99e39938c 100644
--- a/editors/e3/files/patch-Makefile
+++ b/editors/e3/files/patch-Makefile
@@ -1,6 +1,6 @@
---- ./Makefile.orig 2010-05-27 14:58:59.000000000 -0400
-+++ ./Makefile 2014-08-05 06:40:07.000000000 -0400
-@@ -7,7 +7,7 @@
+--- Makefile.orig 2010-05-27 18:58:59 UTC
++++ Makefile
+@@ -7,7 +7,7 @@ OS=LINUX
# 2. edit dest dir prefix if you want....
@@ -9,7 +9,16 @@
# 3. for programmers only: debugging in 64 bit Linux
DEBUG=false
-@@ -43,7 +43,7 @@
+@@ -21,7 +21,7 @@ MANSEC='1'
+
+ BINDIR='$(PREFIX)/bin'
+ MANSEC='1'
+-MANDIR='$(PREFIX)/man/man$(MANSEC)'
++MANDIR='$(PREFIX)/share/man/man$(MANSEC)'
+
+ ASOURCES=e3.asm e3.h
+ AFLAGS = -w+orphan-labels -f elf
+@@ -43,7 +43,7 @@ else
chmod +x e3
else
echo $(ASVER)
@@ -18,7 +27,7 @@
ld -s -o e3 e3.o
strip --remove-section .comment e3
endif
-@@ -71,14 +71,14 @@
+@@ -71,14 +71,14 @@ install: e3
# -------------------------------------------------
install: e3
diff --git a/editors/e3/pkg-plist b/editors/e3/pkg-plist
index 8e72fbe7305c..b47d1dc1a695 100644
--- a/editors/e3/pkg-plist
+++ b/editors/e3/pkg-plist
@@ -4,4 +4,4 @@ bin/e3ne
bin/e3pi
bin/e3vi
bin/e3ws
-man/man1/e3.1.gz
+share/man/man1/e3.1.gz