From 4cc4debed086e9db8dd9925550ddb2533f230548 Mon Sep 17 00:00:00 2001 From: Christian Weisgerber Date: Fri, 15 Mar 2024 08:23:49 +0100 Subject: [PATCH] editors/e3: Move man pages to share/man Approved by: portmgr (blanket) --- editors/e3/Makefile | 3 ++- editors/e3/files/patch-Makefile | 19 ++++++++++++++----- editors/e3/pkg-plist | 2 +- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/editors/e3/Makefile b/editors/e3/Makefile index ca455a7a9f76a..218977dad07b7 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 d881e8be2b81e..68a99e39938c9 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 8e72fbe7305c1..b47d1dc1a6955 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