aboutsummaryrefslogtreecommitdiffstats
path: root/print/preview-latex
diff options
context:
space:
mode:
authoryoichi <yoichi@FreeBSD.org>2002-07-14 22:41:28 +0800
committeryoichi <yoichi@FreeBSD.org>2002-07-14 22:41:28 +0800
commitb3a00a34b0e353b483201232e3ab52629daaaf00 (patch)
treecccbf6185e53903f4bfecfff8900f8e528138a42 /print/preview-latex
parentd10b6a3b1efbba0cf1535439311356156705eca5 (diff)
downloadfreebsd-ports-gnome-b3a00a34b0e353b483201232e3ab52629daaaf00.tar.gz
freebsd-ports-gnome-b3a00a34b0e353b483201232e3ab52629daaaf00.tar.zst
freebsd-ports-gnome-b3a00a34b0e353b483201232e3ab52629daaaf00.zip
Fix example setting in pkg-descr.
Run mktexlsr after installation. Submitted by: Lawrence Mayer <lawmay@ki.se>
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