Skip to content

Commit

Permalink
editors/e3: Move man pages to share/man
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
  • Loading branch information
Christian Weisgerber authored and Christian Weisgerber committed Mar 15, 2024
1 parent 9a5f9c7 commit 4cc4deb
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 7 deletions.
3 changes: 2 additions & 1 deletion 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/
Expand All @@ -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
Expand Down
19 changes: 14 additions & 5 deletions 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....

Expand All @@ -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)
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion editors/e3/pkg-plist
Expand Up @@ -4,4 +4,4 @@ bin/e3ne
bin/e3pi
bin/e3vi
bin/e3ws
man/man1/e3.1.gz
share/man/man1/e3.1.gz

0 comments on commit 4cc4deb

Please sign in to comment.