aboutsummaryrefslogtreecommitdiff
path: root/print/preview-latex
diff options
context:
space:
mode:
Diffstat (limited to 'print/preview-latex')
-rw-r--r--print/preview-latex/Makefile5
-rw-r--r--print/preview-latex/pkg-descr4
-rw-r--r--print/preview-latex/pkg-plist2
3 files changed, 9 insertions, 2 deletions
diff --git a/print/preview-latex/Makefile b/print/preview-latex/Makefile
index 0c877a4d9de2..4a1996bb1ee6 100644
--- a/print/preview-latex/Makefile
+++ b/print/preview-latex/Makefile
@@ -7,6 +7,7 @@
PORTNAME= preview-latex
PORTVERSION= 0.7.2b
+PORTREVISION= 1
CATEGORIES= print elisp
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,7 +18,8 @@ MAINTAINER= yoichi@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/${EMACS_SITE_LISPDIR}/auctex/latex.el:${PORTSDIR}/print/auctex \
gs:${PORTSDIR}/print/ghostscript-gnu
RUN_DEPENDS= ${LOCALBASE}/${EMACS_SITE_LISPDIR}/auctex/latex.el:${PORTSDIR}/print/auctex \
- gs:${PORTSDIR}/print/ghostscript-gnu
+ gs:${PORTSDIR}/print/ghostscript-gnu \
+ mktexlsr:${PORTSDIR}/print/teTeX
EMACS_PORT_NAME?= emacs21
@@ -30,6 +32,7 @@ CONFIGURE_ARGS+= --disable-8bit-test
DOCS= ChangeLog INSTALL PROBLEMS README latex/README-preview RELEASE TODO
post-install:
+ mktexlsr
${INSTALL_DATA} ${WRKSRC}/preview-latex.el ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/preview/
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
diff --git a/print/preview-latex/pkg-descr b/print/preview-latex/pkg-descr
index f40789627562..1922b766c8d4 100644
--- a/print/preview-latex/pkg-descr
+++ b/print/preview-latex/pkg-descr
@@ -3,6 +3,8 @@ parts of a file in Emacs source buffers.
To use preview-latex, put the expression below into your ~/.emacs
-(require 'preview-latex)
+(require 'tex-site)
+(load "preview-latex")
+
WWW: http://preview-latex.sourceforge.net/
diff --git a/print/preview-latex/pkg-plist b/print/preview-latex/pkg-plist
index d2ced6954ace..f0bb3d7314e9 100644
--- a/print/preview-latex/pkg-plist
+++ b/print/preview-latex/pkg-plist
@@ -6,6 +6,8 @@ share/texmf/tex/latex/preview/prshowlabels.def
share/texmf/tex/latex/preview/prtightpage.def
share/texmf/tex/latex/preview/prtracingall.def
@dirrm share/texmf/tex/latex/preview
+@exec mktexlsr
+@unexec mktexlsr
share/texmf/doc/latex/styles/preview.dvi
%%EMACS_VERSION_SITE_LISPDIR%%/preview/preview.el
%%EMACS_VERSION_SITE_LISPDIR%%/preview/preview.elc