summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorYoichi NAKAYAMA <yoichi@FreeBSD.org>2002-07-14 14:41:28 +0000
committerYoichi NAKAYAMA <yoichi@FreeBSD.org>2002-07-14 14:41:28 +0000
commit636c0fbaeda23247127ee849ef3ff8030653786f (patch)
treebc2e686a640724690048407a9530b239971f0777 /print
parent1, Restored kamera with a WITH_GPHOTO2 knob that works like the WITH_SANE knob. (diff)
Fix example setting in pkg-descr.
Run mktexlsr after installation. Submitted by: Lawrence Mayer <lawmay@ki.se>
Notes
Notes: svn path=/head/; revision=62928
Diffstat (limited to 'print')
-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