aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authoryoichi <yoichi@FreeBSD.org>2002-04-24 13:22:45 +0800
committeryoichi <yoichi@FreeBSD.org>2002-04-24 13:22:45 +0800
commit48e5ede71318ea050a7c3ef818aa50f39d81eff5 (patch)
tree90f99695953c45f4aed920f578c4067c904ca4eb /print
parentaea12c59aab10209e3997c367d39312b296dc910 (diff)
downloadfreebsd-ports-gnome-48e5ede71318ea050a7c3ef818aa50f39d81eff5.tar.gz
freebsd-ports-gnome-48e5ede71318ea050a7c3ef818aa50f39d81eff5.tar.zst
freebsd-ports-gnome-48e5ede71318ea050a7c3ef818aa50f39d81eff5.zip
Add missing info files to PLIST.
Install autoload setting file preview-latex.el and display PKGMESSAGE. Submitted by: David.Kastrup@t-online.de (David Kastrup)
Diffstat (limited to 'print')
-rw-r--r--print/preview-latex/Makefile2
-rw-r--r--print/preview-latex/pkg-descr4
-rw-r--r--print/preview-latex/pkg-message8
-rw-r--r--print/preview-latex/pkg-plist6
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