diff options
author | Steve Price <steve@FreeBSD.org> | 1999-12-29 07:21:37 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1999-12-29 07:21:37 +0000 |
commit | 85bb545d793534dc11b79f6c1612cb7eddb07251 (patch) | |
tree | 24bfc62faa88cfdb44ad45581df67bad76672520 /print/auctex | |
parent | 28ca7dd503716c7aa9e2bfc23974a904151f253d (diff) | |
download | ports-85bb545d793534dc11b79f6c1612cb7eddb07251.tar.gz ports-85bb545d793534dc11b79f6c1612cb7eddb07251.zip |
Notes
Diffstat (limited to 'print/auctex')
-rw-r--r-- | print/auctex/Makefile | 55 | ||||
-rw-r--r-- | print/auctex/distinfo | 1 | ||||
-rw-r--r-- | print/auctex/files/patch-aa | 72 | ||||
-rw-r--r-- | print/auctex/files/patch-ab | 30 | ||||
-rw-r--r-- | print/auctex/pkg-comment | 1 | ||||
-rw-r--r-- | print/auctex/pkg-descr | 23 | ||||
-rw-r--r-- | print/auctex/pkg-message | 23 | ||||
-rw-r--r-- | print/auctex/pkg-plist | 99 |
8 files changed, 304 insertions, 0 deletions
diff --git a/print/auctex/Makefile b/print/auctex/Makefile new file mode 100644 index 000000000000..b80515c2f377 --- /dev/null +++ b/print/auctex/Makefile @@ -0,0 +1,55 @@ +# New ports collection makefile for: auctex +# Version required: 9.9p +# Date created: 21 November 1999 +# Whom: Martin Kammerhofer +# +# $FreeBSD$ +# + +DISTNAME= auctex-9.9p +CATEGORIES= print elisp +MASTER_SITES= ${MASTER_SITE_TEX_CTAN} +MASTER_SITE_SUBDIR= support/auctex + +MAINTAINER= mkamm@gmx.net + +# EMACS_NAME must be 'emacs' or 'xemacs' - it is used for byte compiling +# emacs lisp files (*.el => *.elc) +# EMACS_PORT is only used for dependency registration, the installed bits +# are always the same (regardless of what [x]emacs version is used) +.if !defined(EMACS_NAME) +.if exists(${LOCALBASE}/bin/xemacs) +EMACS_NAME = xemacs +EMACS_PORT = xemacs21 +.else +EMACS_NAME = emacs +EMACS_PORT = emacs20 +.endif +.endif +MAKE_ENV += EMACS='${EMACS_NAME}' + +BUILD_DEPENDS = ${EMACS_NAME}:${PORTSDIR}/editors/${EMACS_PORT} +RUN_DEPENDS = ${EMACS_NAME}:${PORTSDIR}/editors/${EMACS_PORT} \ + latex:${PORTSDIR}/print/teTeX + +.include <bsd.port.pre.mk> + +.if ${PREFIX} != /usr/local +# adjust a hardcoded '/usr/local' string +post-patch: + @${ECHO_MSG} "===> Substituting hardcoded '/usr/local' paths" + ${PERL} -wpi -e 's¦/usr/local¦${PREFIX}¦g' ${WRKSRC}/tex.el +.endif + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/auctex +.for file in CHANGES INSTALLATION README + ${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/share/doc/auctex +.endfor + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} install-info >/dev/null + install-info --entry='* AUC-Tex mode: (auctex). Emacs mode for editing TeX and LaTeX files.' --section='TeX' ${PREFIX}/info/auctex ${PREFIX}/info/dir +.endif + @${CAT} ${PKGDIR}/MESSAGE | ${SED} 's¦/usr/local¦${PREFIX}¦g' + +.include <bsd.port.post.mk> diff --git a/print/auctex/distinfo b/print/auctex/distinfo new file mode 100644 index 000000000000..0ed66bb71a9b --- /dev/null +++ b/print/auctex/distinfo @@ -0,0 +1 @@ +MD5 (auctex-9.9p.tar.gz) = d20c048f8f90c9281dbef4d51b707e09 diff --git a/print/auctex/files/patch-aa b/print/auctex/files/patch-aa new file mode 100644 index 000000000000..644c7f98ec2e --- /dev/null +++ b/print/auctex/files/patch-aa @@ -0,0 +1,72 @@ +--- Makefile.orig Thu Feb 11 11:19:48 1999 ++++ Makefile Sun Nov 21 16:41:46 1999 +@@ -10,7 +10,7 @@ + ##---------------------------------------------------------------------- + + # Where local software is found +-prefix=/usr/local ++prefix = ${PREFIX} + + # Where info files go. + infodir = $(prefix)/info +@@ -22,7 +22,7 @@ + aucdir=$(lispdir)/auctex + + # Name of your emacs binary +-EMACS=emacs ++EMACS ?= emacs + + ##---------------------------------------------------------------------- + ## YOU MAY NEED TO EDIT THESE +@@ -48,10 +48,13 @@ + AUTOC= $(ELC) + + # How to move the byte compiled files to their destination. +-MV = mv ++MV = ${BSD_INSTALL_DATA} + +-# How to copy the lisp files to their distination. +-CP = cp -p ++# How to copy the lisp files to their destination. ++CP = ${BSD_INSTALL_DATA} ++ ++# How to create destination directories. ++MKDIR = mkdir -p -m 755 + + ##---------------------------------------------------------------------- + ## BELOW THIS LINE ON YOUR OWN RISK! +@@ -115,7 +118,7 @@ + # $(ELC) hilit-LaTeX.el # Doesn't compile without X + + install-lisp: some +- if [ ! -d $(lispdir) ]; then mkdir $(lispdir); else true; fi ; ++ if [ ! -d $(lispdir) ]; then $(MKDIR) $(lispdir); else true; fi ; + if [ -f $(lispdir)/tex-site.el ]; \ + then \ + echo "Leaving old tex-site.el alone."; \ +@@ -123,10 +126,10 @@ + sed -e 's#@AUCDIR#$(aucdir)/#' tex-site.el \ + > $(lispdir)/tex-site.el ; \ + fi +- if [ ! -d $(aucdir) ]; then mkdir $(aucdir); else true; fi ; ++ if [ ! -d $(aucdir) ]; then $(MKDIR) $(aucdir); else true; fi ; + if [ `/bin/pwd` != `(cd $(aucdir) && /bin/pwd)` ] ; \ + then \ +- if [ ! -d $(aucdir)/style ]; then mkdir $(aucdir)/style; \ ++ if [ ! -d $(aucdir)/style ]; then $(MKDIR) $(aucdir)/style; \ + else true; fi ; \ + $(MV) $(AUCELC) $(aucdir) ; \ + $(MV) style/*.elc $(aucdir)/style ; \ +@@ -189,9 +192,9 @@ + -(cd style; cvs add `echo $(STYLESRC) | sed -e s@style/@@g` ) + cvs commit -m "Release $(TAG)" + cvs tag release_`echo $(TAG) | sed -e 's/[.]/_/g'` +- mkdir auctex-$(TAG) +- mkdir auctex-$(TAG)/style +- mkdir auctex-$(TAG)/doc ++ $(MKDIR) auctex-$(TAG) ++ $(MKDIR) auctex-$(TAG)/style ++ $(MKDIR) auctex-$(TAG)/doc + cp $(AUCSRC) $(EXTRAFILES) auctex-$(TAG) + cp $(STYLESRC) auctex-$(TAG)/style + cp $(DOCFILES) auctex-$(TAG)/doc diff --git a/print/auctex/files/patch-ab b/print/auctex/files/patch-ab new file mode 100644 index 000000000000..134354744d27 --- /dev/null +++ b/print/auctex/files/patch-ab @@ -0,0 +1,30 @@ +--- tex.el~ Thu Feb 11 11:19:47 1999 ++++ tex.el Sun Nov 21 14:08:05 1999 +@@ -75,7 +75,7 @@ + + ;; Change this to point to the place where the TeX macros are stored + ;; at yourt site. +-(defcustom TeX-macro-global '("/usr/local/lib/texmf/tex/") ++(defcustom TeX-macro-global '("/usr/local/share/texmf/tex/") + "Directories containing the sites TeX macro files and style files. + The directory names *must* end with a slash." + :group 'TeX-file +@@ -253,7 +253,8 @@ + + (defcustom TeX-printer-list + '(("Local" "dvips -f %s | lpr" "lpq") +- ("lw") ("ps")) ++; ("lp") ("ps") ++ ) + "List of available printers. + + The first element of each entry is the printer name. +@@ -284,7 +285,7 @@ + (defcustom TeX-printer-default (or (getenv "PRINTER") + (and TeX-printer-list + (car (car TeX-printer-list))) +- "lw") ++ "lp") + "*Default printer to use with TeX-command." + :group 'TeX-command + :type 'string) diff --git a/print/auctex/pkg-comment b/print/auctex/pkg-comment new file mode 100644 index 000000000000..ef57cd5a8346 --- /dev/null +++ b/print/auctex/pkg-comment @@ -0,0 +1 @@ +Integrated environment for writing LaTeX using GNU Emacs diff --git a/print/auctex/pkg-descr b/print/auctex/pkg-descr new file mode 100644 index 000000000000..87dd7beddf9d --- /dev/null +++ b/print/auctex/pkg-descr @@ -0,0 +1,23 @@ + AUC TeX is a comprehensive customizable integrated environment for +writing input files for LaTeX using GNU Emacs. + + AUC TeX lets you run TeX/LaTeX and other LaTeX-related tools, such +as a output filters or post processor from inside Emacs. Especially +`running LaTeX' is interesting, as AUC TeX lets you browse through the +errors TeX reported, while it moves the cursor directly to the reported +error, and displays some documentation for that particular error. This +will even work when the document is spread over several files. + + AUC TeX automatically indents your `LaTeX-source', not only as you +write it -- you can also let it indent and format an entire document. +It has a special outline feature, which can greatly help you `getting an +overview' of a document. + + Apart from these special features, AUC TeX provides a large range of +handy Emacs macros, which in several different ways can help you write +your LaTeX documents fast and painlessly. + + All features of AUC TeX are documented using the GNU Emacs online +documentation system. That is, documentation for any command is just +a key click away! AUC TeX is written entirely in Emacs-Lisp, and hence +you can easily add new features for your own needs. diff --git a/print/auctex/pkg-message b/print/auctex/pkg-message new file mode 100644 index 000000000000..a32befd5c5ad --- /dev/null +++ b/print/auctex/pkg-message @@ -0,0 +1,23 @@ + +Customizing +=========== + Next, you should edit the file +`/usr/local/share/emacs/site-lisp/tex-site.el' to fit your local site. +You do this by looking at the customization section in the beginning +of `/usr/local/share/emacs/site-lisp/auctex/tex.el' and copy the +definitions that are wrong for your site to `tex-site.el'. Do *not* +edit `tex.el' directly, or you will have to do all the work over again +when you upgrade AUC TeX. AUC TeX will not overwrite your old +`tex-site.el' file next time you install, so you will be able to keep +all your customizations. + + You probably want to copy and edit `TeX-printer-list' to contain the +printers available at your site. + +Enabling AUC TeX +================ + You can now tell your users to enable AUC TeX by adding + + (require 'tex-site) + +to their `~/.emacs' file. diff --git a/print/auctex/pkg-plist b/print/auctex/pkg-plist new file mode 100644 index 000000000000..325d2c952ea2 --- /dev/null +++ b/print/auctex/pkg-plist @@ -0,0 +1,99 @@ +@unexec install-info --delete --entry='* AUC-Tex mode: (auctex). Emacs mode for editing TeX and LaTeX files.' --section='TeX' %D/info/auctex %D/info/dir +info/auctex +info/auctex-1 +info/auctex-2 +info/auctex-3 +@exec install-info --entry='* AUC-Tex mode: (auctex). Emacs mode for editing TeX and LaTeX files.' --section='TeX' %D/info/auctex %D/info/dir +share/doc/auctex/CHANGES +share/doc/auctex/INSTALLATION +share/doc/auctex/README +@dirrm share/doc/auctex +share/emacs/site-lisp/tex-site.el +share/emacs/site-lisp/auctex/auc-old.el +share/emacs/site-lisp/auctex/auc-old.elc +share/emacs/site-lisp/auctex/latex.el +share/emacs/site-lisp/auctex/latex.elc +share/emacs/site-lisp/auctex/multi-prompt.el +share/emacs/site-lisp/auctex/multi-prompt.elc +share/emacs/site-lisp/auctex/tex-buf.el +share/emacs/site-lisp/auctex/tex-buf.elc +share/emacs/site-lisp/auctex/tex-info.el +share/emacs/site-lisp/auctex/tex-info.elc +share/emacs/site-lisp/auctex/tex.el +share/emacs/site-lisp/auctex/tex.elc +share/emacs/site-lisp/auctex/texmathp.el +share/emacs/site-lisp/auctex/texmathp.elc +share/emacs/site-lisp/auctex/style/amsart.el +share/emacs/site-lisp/auctex/style/amsart.elc +share/emacs/site-lisp/auctex/style/amsbook.el +share/emacs/site-lisp/auctex/style/amsbook.elc +share/emacs/site-lisp/auctex/style/amsbsy.el +share/emacs/site-lisp/auctex/style/amsbsy.elc +share/emacs/site-lisp/auctex/style/amsmath.el +share/emacs/site-lisp/auctex/style/amsmath.elc +share/emacs/site-lisp/auctex/style/amsopn.el +share/emacs/site-lisp/auctex/style/amsopn.elc +share/emacs/site-lisp/auctex/style/amstex.el +share/emacs/site-lisp/auctex/style/amstex.elc +share/emacs/site-lisp/auctex/style/amstext.el +share/emacs/site-lisp/auctex/style/amstext.elc +share/emacs/site-lisp/auctex/style/amsthm.el +share/emacs/site-lisp/auctex/style/amsthm.elc +share/emacs/site-lisp/auctex/style/article.el +share/emacs/site-lisp/auctex/style/article.elc +share/emacs/site-lisp/auctex/style/book.el +share/emacs/site-lisp/auctex/style/book.elc +share/emacs/site-lisp/auctex/style/czech.el +share/emacs/site-lisp/auctex/style/czech.elc +share/emacs/site-lisp/auctex/style/danish.el +share/emacs/site-lisp/auctex/style/danish.elc +share/emacs/site-lisp/auctex/style/dinbrief.el +share/emacs/site-lisp/auctex/style/dinbrief.elc +share/emacs/site-lisp/auctex/style/dk.el +share/emacs/site-lisp/auctex/style/dk.elc +share/emacs/site-lisp/auctex/style/dutch.el +share/emacs/site-lisp/auctex/style/dutch.elc +share/emacs/site-lisp/auctex/style/epsf.el +share/emacs/site-lisp/auctex/style/epsf.elc +share/emacs/site-lisp/auctex/style/foils.el +share/emacs/site-lisp/auctex/style/foils.elc +share/emacs/site-lisp/auctex/style/german.el +share/emacs/site-lisp/auctex/style/german.elc +share/emacs/site-lisp/auctex/style/harvard.el +share/emacs/site-lisp/auctex/style/harvard.elc +share/emacs/site-lisp/auctex/style/j-article.el +share/emacs/site-lisp/auctex/style/j-article.elc +share/emacs/site-lisp/auctex/style/j-book.el +share/emacs/site-lisp/auctex/style/j-book.elc +share/emacs/site-lisp/auctex/style/j-report.el +share/emacs/site-lisp/auctex/style/j-report.elc +share/emacs/site-lisp/auctex/style/jarticle.el +share/emacs/site-lisp/auctex/style/jarticle.elc +share/emacs/site-lisp/auctex/style/jbook.el +share/emacs/site-lisp/auctex/style/jbook.elc +share/emacs/site-lisp/auctex/style/jreport.el +share/emacs/site-lisp/auctex/style/jreport.elc +share/emacs/site-lisp/auctex/style/latexinfo.el +share/emacs/site-lisp/auctex/style/latexinfo.elc +share/emacs/site-lisp/auctex/style/letter.el +share/emacs/site-lisp/auctex/style/letter.elc +share/emacs/site-lisp/auctex/style/natbib.el +share/emacs/site-lisp/auctex/style/natbib.elc +share/emacs/site-lisp/auctex/style/plfonts.el +share/emacs/site-lisp/auctex/style/plfonts.elc +share/emacs/site-lisp/auctex/style/plhb.el +share/emacs/site-lisp/auctex/style/plhb.elc +share/emacs/site-lisp/auctex/style/psfig.el +share/emacs/site-lisp/auctex/style/psfig.elc +share/emacs/site-lisp/auctex/style/report.el +share/emacs/site-lisp/auctex/style/report.elc +share/emacs/site-lisp/auctex/style/slides.el +share/emacs/site-lisp/auctex/style/slides.elc +share/emacs/site-lisp/auctex/style/slovak.el +share/emacs/site-lisp/auctex/style/slovak.elc +share/emacs/site-lisp/auctex/style/swedish.el +share/emacs/site-lisp/auctex/style/swedish.elc +share/emacs/site-lisp/auctex/style/virtex.el +share/emacs/site-lisp/auctex/style/virtex.elc +@dirrm share/emacs/site-lisp/auctex/style +@dirrm share/emacs/site-lisp/auctex |