diff --git a/en_US.ISO8859-1/books/handbook/ports/chapter.sgml b/en_US.ISO8859-1/books/handbook/ports/chapter.sgml index 0fd91624ee..d83f409d40 100644 --- a/en_US.ISO8859-1/books/handbook/ports/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/ports/chapter.sgml @@ -1,7 +1,7 @@ @@ -2686,10 +2686,12 @@ diff -u -r1.15 PLIST Add a post-install target to the - Makefile to create a dir - file if it is not there. Also, call - install-info with the installed info - files. + Makefile to call + install-info with the installed + info files. (It is no longer necessary to create the + dir file yourself; + install-info automatically creates this + file if it does not exist.) Index: Makefile @@ -2699,34 +2701,23 @@ retrieving revision 1.26 diff -u -r1.26 Makefile --- Makefile 1996/11/19 13:14:40 1.26 +++ Makefile 1997/05/20 10:25:09 1.28 -@@ -20,5 +20,11 @@ +@@ -20,5 +20,8 @@ post-install: .for file in emacs-19.34 emacsclient etags ctags b2m strip ${PREFIX}/bin/${file} .endfor -+ if [ ! -f ${PREFIX}/info/dir ]; then \ -+ ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \ -+ fi +.for info in emacs vip viper forms gnus mh-e cl sc dired-x ediff ccmode + install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir +.endfor .include <bsd.port.mk> - - Do not use anything other than - /usr/share/info/dir and the above command to - create a new info file. In fact, I would add the first three lines - of the above patch to bsd.port.mk if you (the - porter) would not have to do it in PLIST by - yourself anyway. Edit PLIST and add equivalent @exec statements and also - @unexec for pkg_delete. You - do not need to delete info/dir with - @unexec. + @unexec for + pkg_delete. Index: pkg/PLIST @@ -2736,7 +2727,7 @@ retrieving revision 1.15 diff -u -r1.15 PLIST --- PLIST 1997/03/04 08:04:00 1.15 +++ PLIST 1997/05/20 10:25:12 1.17 -@@ -16,7 +14,15 @@ +@@ -16,7 +14,14 @@ man/man1/etags.1.gz man/man1/ctags.1.gz +@unexec install-info --delete %D/info/emacs %D/info/dir @@ -2747,7 +2738,6 @@ diff -u -r1.15 PLIST @@ -87,6 +94,18 @@ info/viper-3 info/viper-4 -+@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir +@exec install-info %D/info/emacs %D/info/dir : +@exec install-info %D/info/ccmode %D/info/dir diff --git a/en_US.ISO8859-1/books/porters-handbook/book.sgml b/en_US.ISO8859-1/books/porters-handbook/book.sgml index 0fd91624ee..d83f409d40 100644 --- a/en_US.ISO8859-1/books/porters-handbook/book.sgml +++ b/en_US.ISO8859-1/books/porters-handbook/book.sgml @@ -1,7 +1,7 @@ @@ -2686,10 +2686,12 @@ diff -u -r1.15 PLIST Add a post-install target to the - Makefile to create a dir - file if it is not there. Also, call - install-info with the installed info - files. + Makefile to call + install-info with the installed + info files. (It is no longer necessary to create the + dir file yourself; + install-info automatically creates this + file if it does not exist.) Index: Makefile @@ -2699,34 +2701,23 @@ retrieving revision 1.26 diff -u -r1.26 Makefile --- Makefile 1996/11/19 13:14:40 1.26 +++ Makefile 1997/05/20 10:25:09 1.28 -@@ -20,5 +20,11 @@ +@@ -20,5 +20,8 @@ post-install: .for file in emacs-19.34 emacsclient etags ctags b2m strip ${PREFIX}/bin/${file} .endfor -+ if [ ! -f ${PREFIX}/info/dir ]; then \ -+ ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \ -+ fi +.for info in emacs vip viper forms gnus mh-e cl sc dired-x ediff ccmode + install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir +.endfor .include <bsd.port.mk> - - Do not use anything other than - /usr/share/info/dir and the above command to - create a new info file. In fact, I would add the first three lines - of the above patch to bsd.port.mk if you (the - porter) would not have to do it in PLIST by - yourself anyway. Edit PLIST and add equivalent @exec statements and also - @unexec for pkg_delete. You - do not need to delete info/dir with - @unexec. + @unexec for + pkg_delete. Index: pkg/PLIST @@ -2736,7 +2727,7 @@ retrieving revision 1.15 diff -u -r1.15 PLIST --- PLIST 1997/03/04 08:04:00 1.15 +++ PLIST 1997/05/20 10:25:12 1.17 -@@ -16,7 +14,15 @@ +@@ -16,7 +14,14 @@ man/man1/etags.1.gz man/man1/ctags.1.gz +@unexec install-info --delete %D/info/emacs %D/info/dir @@ -2747,7 +2738,6 @@ diff -u -r1.15 PLIST @@ -87,6 +94,18 @@ info/viper-3 info/viper-4 -+@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir +@exec install-info %D/info/emacs %D/info/dir : +@exec install-info %D/info/ccmode %D/info/dir diff --git a/en_US.ISO_8859-1/books/handbook/ports/chapter.sgml b/en_US.ISO_8859-1/books/handbook/ports/chapter.sgml index 0fd91624ee..d83f409d40 100644 --- a/en_US.ISO_8859-1/books/handbook/ports/chapter.sgml +++ b/en_US.ISO_8859-1/books/handbook/ports/chapter.sgml @@ -1,7 +1,7 @@ @@ -2686,10 +2686,12 @@ diff -u -r1.15 PLIST Add a post-install target to the - Makefile to create a dir - file if it is not there. Also, call - install-info with the installed info - files. + Makefile to call + install-info with the installed + info files. (It is no longer necessary to create the + dir file yourself; + install-info automatically creates this + file if it does not exist.) Index: Makefile @@ -2699,34 +2701,23 @@ retrieving revision 1.26 diff -u -r1.26 Makefile --- Makefile 1996/11/19 13:14:40 1.26 +++ Makefile 1997/05/20 10:25:09 1.28 -@@ -20,5 +20,11 @@ +@@ -20,5 +20,8 @@ post-install: .for file in emacs-19.34 emacsclient etags ctags b2m strip ${PREFIX}/bin/${file} .endfor -+ if [ ! -f ${PREFIX}/info/dir ]; then \ -+ ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \ -+ fi +.for info in emacs vip viper forms gnus mh-e cl sc dired-x ediff ccmode + install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir +.endfor .include <bsd.port.mk> - - Do not use anything other than - /usr/share/info/dir and the above command to - create a new info file. In fact, I would add the first three lines - of the above patch to bsd.port.mk if you (the - porter) would not have to do it in PLIST by - yourself anyway. Edit PLIST and add equivalent @exec statements and also - @unexec for pkg_delete. You - do not need to delete info/dir with - @unexec. + @unexec for + pkg_delete. Index: pkg/PLIST @@ -2736,7 +2727,7 @@ retrieving revision 1.15 diff -u -r1.15 PLIST --- PLIST 1997/03/04 08:04:00 1.15 +++ PLIST 1997/05/20 10:25:12 1.17 -@@ -16,7 +14,15 @@ +@@ -16,7 +14,14 @@ man/man1/etags.1.gz man/man1/ctags.1.gz +@unexec install-info --delete %D/info/emacs %D/info/dir @@ -2747,7 +2738,6 @@ diff -u -r1.15 PLIST @@ -87,6 +94,18 @@ info/viper-3 info/viper-4 -+@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir +@exec install-info %D/info/emacs %D/info/dir : +@exec install-info %D/info/ccmode %D/info/dir diff --git a/en_US.ISO_8859-1/books/porters-handbook/book.sgml b/en_US.ISO_8859-1/books/porters-handbook/book.sgml index 0fd91624ee..d83f409d40 100644 --- a/en_US.ISO_8859-1/books/porters-handbook/book.sgml +++ b/en_US.ISO_8859-1/books/porters-handbook/book.sgml @@ -1,7 +1,7 @@ @@ -2686,10 +2686,12 @@ diff -u -r1.15 PLIST Add a post-install target to the - Makefile to create a dir - file if it is not there. Also, call - install-info with the installed info - files. + Makefile to call + install-info with the installed + info files. (It is no longer necessary to create the + dir file yourself; + install-info automatically creates this + file if it does not exist.) Index: Makefile @@ -2699,34 +2701,23 @@ retrieving revision 1.26 diff -u -r1.26 Makefile --- Makefile 1996/11/19 13:14:40 1.26 +++ Makefile 1997/05/20 10:25:09 1.28 -@@ -20,5 +20,11 @@ +@@ -20,5 +20,8 @@ post-install: .for file in emacs-19.34 emacsclient etags ctags b2m strip ${PREFIX}/bin/${file} .endfor -+ if [ ! -f ${PREFIX}/info/dir ]; then \ -+ ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \ -+ fi +.for info in emacs vip viper forms gnus mh-e cl sc dired-x ediff ccmode + install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir +.endfor .include <bsd.port.mk> - - Do not use anything other than - /usr/share/info/dir and the above command to - create a new info file. In fact, I would add the first three lines - of the above patch to bsd.port.mk if you (the - porter) would not have to do it in PLIST by - yourself anyway. Edit PLIST and add equivalent @exec statements and also - @unexec for pkg_delete. You - do not need to delete info/dir with - @unexec. + @unexec for + pkg_delete. Index: pkg/PLIST @@ -2736,7 +2727,7 @@ retrieving revision 1.15 diff -u -r1.15 PLIST --- PLIST 1997/03/04 08:04:00 1.15 +++ PLIST 1997/05/20 10:25:12 1.17 -@@ -16,7 +14,15 @@ +@@ -16,7 +14,14 @@ man/man1/etags.1.gz man/man1/ctags.1.gz +@unexec install-info --delete %D/info/emacs %D/info/dir @@ -2747,7 +2738,6 @@ diff -u -r1.15 PLIST @@ -87,6 +94,18 @@ info/viper-3 info/viper-4 -+@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir +@exec install-info %D/info/emacs %D/info/dir : +@exec install-info %D/info/ccmode %D/info/dir