git: ee96af02f402 - main - editors/nedit: Moved man to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Jan 2024 20:25:41 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ee96af02f402a99bd610ab261881575e44fbe691
commit ee96af02f402a99bd610ab261881575e44fbe691
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-30 15:38:11 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-30 20:25:12 +0000
editors/nedit: Moved man to share/man
---
editors/nedit/Makefile | 5 +++--
editors/nedit/files/patch-Makefile | 8 ++++----
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/editors/nedit/Makefile b/editors/nedit/Makefile
index 123f9b18d0de..2399c63f6d7f 100644
--- a/editors/nedit/Makefile
+++ b/editors/nedit/Makefile
@@ -1,5 +1,6 @@
PORTNAME= nedit
PORTVERSION= 5.7
+PORTREVISION= 1
CATEGORIES= editors
#MASTER_SITES= LOCAL/swills
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-source/
@@ -18,8 +19,8 @@ ALL_TARGET= freebsd
PLIST_FILES= bin/nclient \
bin/nedit \
lib/X11/app-defaults/NEdit.ad \
- man/man1/nclient.1.gz \
- man/man1/nedit.1.gz
+ share/man/man1/nclient.1.gz \
+ share/man/man1/nedit.1.gz
post-build:
cd ${WRKSRC} && make docs
diff --git a/editors/nedit/files/patch-Makefile b/editors/nedit/files/patch-Makefile
index caf371dab3b4..6d743d1f35eb 100644
--- a/editors/nedit/files/patch-Makefile
+++ b/editors/nedit/files/patch-Makefile
@@ -5,7 +5,7 @@
@echo "(For example, type \"make linux\" for a Linux system.)"
@(cd makefiles && ls -C Makefile* | sed -e 's/Makefile.//g')
+ @(cd doc; $(MAKE) man)
-
+
.DEFAULT:
@- (cd Microline/XmL; if [ -f ../../makefiles/Makefile.$@ -a ! -f ./Makefile.$@ ];\
@@ -42,6 +43,12 @@ docs:
@@ -15,9 +15,9 @@
+
+install::
+ (cd source; make -f Makefile.freebsd install)
-+ ${INSTALL} ${COPY} -m 644 doc/nedit.man $(DESTDIR)${PREFIX}/man/man1/nedit.1
-+ ${INSTALL} ${COPY} -m 644 doc/nc.man $(DESTDIR)${PREFIX}/man/man1/nclient.1
++ ${INSTALL} ${COPY} -m 644 doc/nedit.man $(DESTDIR)${PREFIX}/share/man/man1/nedit.1
++ ${INSTALL} ${COPY} -m 644 doc/nc.man $(DESTDIR)${PREFIX}/share/man/man1/nclient.1
+ ${INSTALL} ${COPY} -m 644 NEdit.ad $(DESTDIR)${LOCALBASE}/lib/X11/app-defaults/NEdit.ad
-
+
clean:
(cd util; $(MAKE) -f Makefile.common clean)