Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Mar 2024 08:18:55 GMT
From:      Christian Weisgerber <naddy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4cc4debed086 - main - editors/e3: Move man pages to share/man
Message-ID:  <202403150818.42F8Ito6021785@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by naddy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4cc4debed086e9db8dd9925550ddb2533f230548

commit 4cc4debed086e9db8dd9925550ddb2533f230548
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-15 07:23:49 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-15 08:18:49 +0000

    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 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403150818.42F8Ito6021785>