Skip to content

Commit

Permalink
editors/nedit: Moved man to share/man
Browse files Browse the repository at this point in the history
  • Loading branch information
5u623l20 committed Jan 30, 2024
1 parent cb6b292 commit ee96af0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions 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/
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions editors/nedit/files/patch-Makefile
Expand Up @@ -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:
Expand All @@ -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)

0 comments on commit ee96af0

Please sign in to comment.