aboutsummaryrefslogtreecommitdiff
path: root/editors/nedit
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-30 15:38:11 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-30 20:25:12 +0000
commitee96af02f402a99bd610ab261881575e44fbe691 (patch)
tree8c2cc163104e5e3d6487543412f3a288aadf9d0d /editors/nedit
parentcb6b292935cc04dd20d4a6f65e1c4840410a086d (diff)
downloadports-ee96af02f402a99bd610ab261881575e44fbe691.tar.gz
ports-ee96af02f402a99bd610ab261881575e44fbe691.zip
editors/nedit: Moved man to share/man
Diffstat (limited to 'editors/nedit')
-rw-r--r--editors/nedit/Makefile5
-rw-r--r--editors/nedit/files/patch-Makefile8
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)