summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)