1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

Man page fix.

This involves a bit of reorganizing:
  Instead of using instman.sh that comes with the distribution,
    use /usr/bin/install to install the man page (by patching the
    dist makefile), otherwise, man pages get compressed according
    to elvis's own rule.
This commit is contained in:
Masafumi Max NAKANE 1998-09-03 22:49:17 +00:00
parent 4fad38c472
commit ed1cebf877
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13001
3 changed files with 10 additions and 11 deletions

View File

@ -3,7 +3,7 @@
# Date created: 5 October 1995
# Whom: Yoshiro MIHIRA <sanpei@yy.cs.keio.ac.jp>
#
# $Id: Makefile,v 1.8 1997/09/14 23:58:18 max Exp $
# $Id: Makefile,v 1.9 1997/09/15 00:04:00 max Exp $
#
DISTNAME= elvis-1.8
@ -22,7 +22,6 @@ LIB_DEPENDS= canna\\.1\\.:${PORTSDIR}/japanese/Canna
NO_WRKSUBDIR= yes
PATCH_DIST_STRIP= -p1
MAN1= elvis.1 ctags.1 ref.1 elvrec.1 elvprsv.1
MANCOMPRESSED= yes
STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/ja-elvis.sh

View File

@ -1,5 +1,5 @@
--- Makefile.mix.orig Tue Oct 22 00:10:44 1996
+++ Makefile.mix Tue Oct 22 00:23:07 1996
--- Makefile.mix.orig Thu Sep 3 06:46:47 1998
+++ Makefile.mix Fri Sep 4 07:28:19 1998
@@ -120,28 +120,29 @@
#---- These settings are recommended for BSD 4.3 UNIX and SunOS ----
@ -69,7 +69,7 @@
(cd $(BIN); chmod 755 $(PROGS))
(cd $(BIN); chown bin $(PROGS))
(cd $(BIN); chown root elvprsv$(COM) elvrec$(COM))
@@ -685,12 +687,9 @@
@@ -685,14 +687,13 @@
-$(LN) $(BIN)/elvis $(BIN)/ex
-$(LN) $(BIN)/elvis $(BIN)/view
-$(LN) $(BIN)/elvis $(BIN)/input
@ -81,5 +81,10 @@
- echo "::: YOU STILL NEED TO EDIT THE /ETC/RC FILE, OR WHATEVER,"; \
- echo "::: TO HAVE TEMP FILES BE PRESERVED AFTER A SYSTEM CRASH."; \
fi
sh instman.sh $(PROGS)
- sh instman.sh $(PROGS)
+ for f in ${PROGS}; do \
+ install -o bin -g bin -c -m 644 doc/$$f.man ${PREFIX}/man/man1/$$f.1; \
+ done
inst.dos: $(DUMMY)
for %a in ($(PROGS1)) do copy %a $(BIN)

View File

@ -7,11 +7,6 @@ bin/vi
bin/ex
bin/view
bin/input
man/man1/elvis.1.gz
man/man1/ctags.1.gz
man/man1/ref.1.gz
man/man1/elvrec.1.gz
man/man1/elvprsv.1.gz
etc/rc.d/ja-elvis.sh
share/doc/ja-elvis/README.j18
@dirrm share/doc/ja-elvis