[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

editors/jove: man page paths fix



Hi,

The attached patch makes the paths in the jove manual pages look more
valid. For example:

       JOVE  first  reads  the  system-wide  initialization  file
       (/usr/ports/editors/jove/w-jove-4.16p0/fake-
       i386/usr/local/share/jove/jove.rc)

changes to:

       JOVE  first  reads  the  system-wide  initialization  file
       (/usr/local/share/jove/jove.rc)

-- 
Antti Nykänen | aon_(_at_)_iki_(_dot_)_fi | http://aon.iki.fi/
diff -ruN /usr/ports/editors/jove/patches/patch-aa jove/patches/patch-aa
--- /usr/ports/editors/jove/patches/patch-aa	Sun Mar 12 18:56:42 2006
+++ jove/patches/patch-aa	Mon Mar 13 08:52:39 2006
@@ -1,5 +1,5 @@
---- Makefile.orig	Tue Mar 19 05:44:33 1996
-+++ Makefile	Mon Mar 12 17:25:02 2001
+--- Makefile.orig	Tue Mar 19 06:44:33 1996
++++ Makefile	Mon Mar 13 08:51:30 2006
 @@ -27,16 +27,16 @@
  # LIBDIR and SHAREDIR.  All others must already exist.
  
@@ -97,25 +97,33 @@
  
  $(LIBDIR)::
  	test -d $(LIBDIR) || mkdir $(LIBDIR)
-@@ -375,9 +379,8 @@ $(JOVEM): doc/jove.nr
+@@ -373,11 +377,10 @@ $(TEACHJOVE): teachjove
+ 
+ $(JOVEM): doc/jove.nr
  	@sed -e 's;<TMPDIR>;$(TMPDIR);' \
- 	     -e 's;<LIBDIR>;$(LIBDIR);' \
- 	     -e 's;<SHAREDIR>;$(SHAREDIR);' \
+-	     -e 's;<LIBDIR>;$(LIBDIR);' \
+-	     -e 's;<SHAREDIR>;$(SHAREDIR);' \
 -	     -e 's;<SHELL>;$(DFLTSHELL);' doc/jove.nr > /tmp/jove.nr
 -	$(TINSTALL) /tmp/jove.nr $(JOVEM)
 -	rm /tmp/jove.nr
++	     -e 's;<LIBDIR>;${LOCALBASE}/libexec/jove;' \
++	     -e 's;<SHAREDIR>;${LOCALBASE}/share/jove;' \
 +	     -e 's;<SHELL>;$(DFLTSHELL);' doc/jove.nr > jove.$(MANEXT)
 +	$(TINSTALL) jove.$(MANEXT) $(JOVEM)
  
  # doc/jove.doc is the formatted manpage (only needed by DOS)
  # Building it should be like building $(JOVEM) except that we
-@@ -391,18 +394,16 @@ $(TEACHJOVEM): doc/teachjove.nr
+@@ -389,20 +392,18 @@ doc/jove.doc: doc/jove.nr
+ 
+ $(TEACHJOVEM): doc/teachjove.nr
  	@sed -e 's;<TMPDIR>;$(TMPDIR);' \
- 	     -e 's;<LIBDIR>;$(LIBDIR);' \
- 	     -e 's;<SHAREDIR>;$(SHAREDIR);' \
+-	     -e 's;<LIBDIR>;$(LIBDIR);' \
+-	     -e 's;<SHAREDIR>;$(SHAREDIR);' \
 -	     -e 's;<SHELL>;$(DFLTSHELL);' doc/teachjove.nr > /tmp/teachjove.nr
 -	$(TINSTALL) /tmp/teachjove.nr $(TEACHJOVEM)
 -	rm /tmp/teachjove.nr
++	     -e 's;<LIBDIR>;${LOCALBASE}/libexec/jove;' \
++	     -e 's;<SHAREDIR>;${LOCALBASE}/share/jove;' \
 +	     -e 's;<SHELL>;$(DFLTSHELL);' doc/teachjove.nr > teachjove.$(MANEXT)
 +	$(TINSTALL) teachjove.$(MANEXT) $(TEACHJOVEM)
  

Visit your host, monkey.org