summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1998-09-03 22:49:17 +0000
committermax <max@FreeBSD.org>1998-09-03 22:49:17 +0000
commitf77c12fefc4bb18c8d1cdd4b7ff7b43d9ec1a473 (patch)
tree73ed12cf49030555ef8938dd9c34edfe5e1d3658
parentcccea052121b507b4d275438e9b053c1dbc81fb8 (diff)
downloadFreeBSD-ports-f77c12fefc4bb18c8d1cdd4b7ff7b43d9ec1a473.zip
FreeBSD-ports-f77c12fefc4bb18c8d1cdd4b7ff7b43d9ec1a473.tar.gz
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.
-rw-r--r--japanese/elvis/Makefile3
-rw-r--r--japanese/elvis/files/patch-ab13
-rw-r--r--japanese/elvis/pkg-plist5
3 files changed, 10 insertions, 11 deletions
diff --git a/japanese/elvis/Makefile b/japanese/elvis/Makefile
index 47c92a3..13ca711 100644
--- a/japanese/elvis/Makefile
+++ b/japanese/elvis/Makefile
@@ -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
diff --git a/japanese/elvis/files/patch-ab b/japanese/elvis/files/patch-ab
index 191f3bf..9bb9ae0 100644
--- a/japanese/elvis/files/patch-ab
+++ b/japanese/elvis/files/patch-ab
@@ -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)
diff --git a/japanese/elvis/pkg-plist b/japanese/elvis/pkg-plist
index 8ededeb..8e7236b 100644
--- a/japanese/elvis/pkg-plist
+++ b/japanese/elvis/pkg-plist
@@ -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
OpenPOWER on IntegriCloud