aboutsummaryrefslogtreecommitdiff
path: root/print/auctex
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2005-09-30 05:46:03 +0000
committerHiroki Sato <hrs@FreeBSD.org>2005-09-30 05:46:03 +0000
commit16f134e9c2b1598e565366c1f8fd0e8292daf85e (patch)
tree4222863a0e5daf6667b8a56a41bac2e472329f91 /print/auctex
parentafdbc095787d628f06e2e4b13573a71b41fea2fd (diff)
downloadports-16f134e9c2b1598e565366c1f8fd0e8292daf85e.tar.gz
ports-16f134e9c2b1598e565366c1f8fd0e8292daf85e.zip
Notes
Diffstat (limited to 'print/auctex')
-rw-r--r--print/auctex/Makefile15
-rw-r--r--print/auctex/pkg-plist21
2 files changed, 33 insertions, 3 deletions
diff --git a/print/auctex/Makefile b/print/auctex/Makefile
index 79b24dc4b071..3b07c3b5ab68 100644
--- a/print/auctex/Makefile
+++ b/print/auctex/Makefile
@@ -7,7 +7,7 @@
PORTNAME= auctex
PORTVERSION= 11.81
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= print elisp
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,14 +15,23 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Integrated environment for writing LaTeX using GNU Emacs
+BUILD_DEPENDS= ${MKTEXLSR}:${PORTSDIR}/print/teTeX-base
+RUN_DEPENDS= ${MKTEXLSR}:${PORTSDIR}/print/teTeX-base
+
+USE_GHOSTSCRIPT=yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-lispdir=${PREFIX}/${LISPDIR} \
--with-auto-dir=${PREFIX}/${LISPDIR}/auctex/auto
EMACS_PORT_NAME?= emacs21
LISPDIR= ${EMACS_VERSION_SITE_LISPDIR}
-PLIST_SUB+= LISPDIR=${LISPDIR}
-INFO= auctex
+PLIST_SUB+= LISPDIR=${LISPDIR} \
+ TEXMFDIR=${TEXMFDIR} \
+ MKTEXLSR=${MKTEXLSR}
+INFO= auctex preview-latex
+
+TEXMFDIR= share/texmf
+MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
NOT_FOR_ARCHS= ia64
diff --git a/print/auctex/pkg-plist b/print/auctex/pkg-plist
index d25752c75ae7..f06146044f38 100644
--- a/print/auctex/pkg-plist
+++ b/print/auctex/pkg-plist
@@ -236,7 +236,28 @@
%%LISPDIR%%/auctex/images/prvwrk20.xpm
%%LISPDIR%%/auctex/images/prvwrk24.xbm
%%LISPDIR%%/auctex/images/prvwrk24.xpm
+%%LISPDIR%%/preview/preview.el
+%%LISPDIR%%/preview/preview.elc
+%%LISPDIR%%/preview/prv-emacs.el
+%%LISPDIR%%/preview/prv-emacs.elc
+%%LISPDIR%%/preview-latex.el
+%%LISPDIR%%/auctex.el
+@dirrm %%LISPDIR%%/preview
@dirrm %%LISPDIR%%/auctex/style
@dirrm %%LISPDIR%%/auctex/auto
@dirrm %%LISPDIR%%/auctex/images
@dirrm %%LISPDIR%%/auctex
+%%TEXMFDIR%%/tex/latex/preview/prauctex.cfg
+%%TEXMFDIR%%/tex/latex/preview/prauctex.def
+%%TEXMFDIR%%/tex/latex/preview/prcounters.def
+%%TEXMFDIR%%/tex/latex/preview/preview.sty
+%%TEXMFDIR%%/tex/latex/preview/prfootnotes.def
+%%TEXMFDIR%%/tex/latex/preview/prlyx.def
+%%TEXMFDIR%%/tex/latex/preview/prshowbox.def
+%%TEXMFDIR%%/tex/latex/preview/prshowlabels.def
+%%TEXMFDIR%%/tex/latex/preview/prtightpage.def
+%%TEXMFDIR%%/tex/latex/preview/prtracingall.def
+%%TEXMFDIR%%/doc/latex/styles/preview.dvi
+@dirrm %%TEXMFDIR%%/doc/latex/styles
+@exec %%MKTEXLSR%%
+@unexec %%MKTEXLSR%%