diff options
-rw-r--r-- | print/preview-latex/Makefile | 2 | ||||
-rw-r--r-- | print/preview-latex/pkg-descr | 4 | ||||
-rw-r--r-- | print/preview-latex/pkg-message | 8 | ||||
-rw-r--r-- | print/preview-latex/pkg-plist | 6 |
4 files changed, 18 insertions, 2 deletions
diff --git a/print/preview-latex/Makefile b/print/preview-latex/Makefile index 1ab24497ea88..0c877a4d9de2 100644 --- a/print/preview-latex/Makefile +++ b/print/preview-latex/Makefile @@ -30,11 +30,13 @@ CONFIGURE_ARGS+= --disable-8bit-test DOCS= ChangeLog INSTALL PROBLEMS README latex/README-preview RELEASE TODO post-install: + ${INSTALL_DATA} ${WRKSRC}/preview-latex.el ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/preview/ .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} .for i in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} .endfor .endif + @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/print/preview-latex/pkg-descr b/print/preview-latex/pkg-descr index 2767b4951863..f40789627562 100644 --- a/print/preview-latex/pkg-descr +++ b/print/preview-latex/pkg-descr @@ -1,8 +1,8 @@ preview-latex is a system for displaying inline images of selected parts of a file in Emacs source buffers. -Put the expression below into your ~/.emacs +To use preview-latex, put the expression below into your ~/.emacs -(require 'preview) +(require 'preview-latex) WWW: http://preview-latex.sourceforge.net/ diff --git a/print/preview-latex/pkg-message b/print/preview-latex/pkg-message new file mode 100644 index 000000000000..969ae509523c --- /dev/null +++ b/print/preview-latex/pkg-message @@ -0,0 +1,8 @@ +********************************************************* +* Before using preview-laetex, you should add following * +* to your own .emacs file. It adds autoload setting to * +* LaTeX-mode-hook. * +* * +* (require 'preview-latex) * +* * +********************************************************* diff --git a/print/preview-latex/pkg-plist b/print/preview-latex/pkg-plist index 59846b2e3f0c..d2ced6954ace 100644 --- a/print/preview-latex/pkg-plist +++ b/print/preview-latex/pkg-plist @@ -9,6 +9,7 @@ share/texmf/tex/latex/preview/prtracingall.def share/texmf/doc/latex/styles/preview.dvi %%EMACS_VERSION_SITE_LISPDIR%%/preview/preview.el %%EMACS_VERSION_SITE_LISPDIR%%/preview/preview.elc +%%EMACS_VERSION_SITE_LISPDIR%%/preview/preview-latex.el %%EMACS_VERSION_SITE_LISPDIR%%/preview/prv-emacs.el %%EMACS_VERSION_SITE_LISPDIR%%/preview/prv-emacs.elc %%EMACS_VERSION_SITE_LISPDIR%%/preview/preverr.xbm @@ -18,6 +19,11 @@ share/texmf/doc/latex/styles/preview.dvi %%EMACS_VERSION_SITE_LISPDIR%%/preview/prevwork.xbm %%EMACS_VERSION_SITE_LISPDIR%%/preview/prevwork.xpm @dirrm %%EMACS_VERSION_SITE_LISPDIR%%/preview +@unexec install-info --delete %D/info/preview-latex.info %D/info/dir +info/preview-latex.info +info/preview-latex.info-1 +info/preview-latex.info-2 +@exec install-info %D/info/preview-latex.info %D/info/dir %%PORTDOCS%%share/doc/preview-latex/ChangeLog %%PORTDOCS%%share/doc/preview-latex/INSTALL %%PORTDOCS%%share/doc/preview-latex/PROBLEMS |