diff --git a/print/Makefile b/print/Makefile index 40d896a7e37b..a513209a5dbc 100644 --- a/print/Makefile +++ b/print/Makefile @@ -132,6 +132,7 @@ SUBDIR += pkfonts600 SUBDIR += pnm2ppa SUBDIR += poster + SUBDIR += preview-latex SUBDIR += pscal SUBDIR += pstotext SUBDIR += psutils-a4 diff --git a/print/preview-latex/Makefile b/print/preview-latex/Makefile new file mode 100644 index 000000000000..49668d9c29a0 --- /dev/null +++ b/print/preview-latex/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: preview-latex (for emacs21) +# Date Created: 27 Jan 2002 +# Whom: Yoichi NAKAYAMA +# +# $FreeBSD$ +# + +PORTNAME= preview-latex +PORTVERSION= 0.5.8.2 +CATEGORIES= print elisp +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +PKGNAMESUFFIX= -${EMACS_PORT_NAME} + +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 + +EMACS_PORT_NAME?= emacs21 + +HAS_CONFIGURE= yes +CONFIGURE_ARGS= --with-emacs=${EMACS_CMD} \ + --with-lispdir=${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} \ + --with-texmf=${PREFIX}/share/texmf + +DOCS= ChangeLog INSTALL PROBLEMS README README-preview RELEASE TODO + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for i in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif + +.include diff --git a/print/preview-latex/distinfo b/print/preview-latex/distinfo new file mode 100644 index 000000000000..35d3c7b061e7 --- /dev/null +++ b/print/preview-latex/distinfo @@ -0,0 +1 @@ +MD5 (preview-latex-0.5.8.2.tar.gz) = ed53cfc0ba11c16e8fd720225c1cba34 diff --git a/print/preview-latex/pkg-comment b/print/preview-latex/pkg-comment new file mode 100644 index 000000000000..1b0cdcd6295a --- /dev/null +++ b/print/preview-latex/pkg-comment @@ -0,0 +1 @@ +LaTeX previewer on Emacs diff --git a/print/preview-latex/pkg-descr b/print/preview-latex/pkg-descr new file mode 100644 index 000000000000..2767b4951863 --- /dev/null +++ b/print/preview-latex/pkg-descr @@ -0,0 +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 + +(require 'preview) + +WWW: http://preview-latex.sourceforge.net/ diff --git a/print/preview-latex/pkg-plist b/print/preview-latex/pkg-plist new file mode 100644 index 000000000000..b77451f17cc7 --- /dev/null +++ b/print/preview-latex/pkg-plist @@ -0,0 +1,17 @@ +share/texmf/tex/latex/preview/prauctex.def +share/texmf/tex/latex/preview/preview.sty +@dirrm share/texmf/tex/latex/preview +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/prv-emacs.el +%%EMACS_VERSION_SITE_LISPDIR%%/preview/prv-emacs.elc +@dirrm %%EMACS_VERSION_SITE_LISPDIR%%/preview +%%PORTDOCS%%share/doc/preview-latex/ChangeLog +%%PORTDOCS%%share/doc/preview-latex/INSTALL +%%PORTDOCS%%share/doc/preview-latex/PROBLEMS +%%PORTDOCS%%share/doc/preview-latex/README +%%PORTDOCS%%share/doc/preview-latex/README-preview +%%PORTDOCS%%share/doc/preview-latex/RELEASE +%%PORTDOCS%%share/doc/preview-latex/TODO +%%PORTDOCS%%@dirrm share/doc/preview-latex