Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Nov 1999 00:00:22 +0100 (CET)
From:      mkamm@gmx.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/15031: new port editors/auctex
Message-ID:  <199911212300.AAA05548@localhost.kfunigraz.ac.at>

next in thread | raw e-mail | index | archive | help

>Number:         15031
>Category:       ports
>Synopsis:       new port editors/auctex
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 21 15:10:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Martin Kammerhofer
>Release:        FreeBSD 3.3-STABLE i386
>Organization:
Graz University
>Environment:
>Description:
>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	ports/editors/auctex
#	ports/editors/auctex/Makefile
#	ports/editors/auctex/pkg
#	ports/editors/auctex/pkg/COMMENT
#	ports/editors/auctex/pkg/DESCR
#	ports/editors/auctex/pkg/PLIST
#	ports/editors/auctex/pkg/MESSAGE
#	ports/editors/auctex/files
#	ports/editors/auctex/files/md5
#	ports/editors/auctex/patches
#	ports/editors/auctex/patches/patch-aa
#	ports/editors/auctex/patches/patch-ab
#
echo c - ports/editors/auctex
mkdir -p ports/editors/auctex > /dev/null 2>&1
echo x - ports/editors/auctex/Makefile
sed 's/^X//' >ports/editors/auctex/Makefile << 'END-of-ports/editors/auctex/Makefile'
X# New ports collection makefile for:	auctex
X# Version required:			9.9p
X# Date created:				21 November 1999
X# Whom:					Martin Kammerhofer
X#
X# $FreeBSD$
X#
X
XDISTNAME=		auctex-9.9p
XCATEGORIES=		editors elisp
XMASTER_SITES=		${MASTER_SITE_TEX_CTAN}
XMASTER_SITE_SUBDIR=	support/auctex
X
XMAINTAINER=		mkamm@gmx.net
X
X# EMACS_NAME must be 'emacs' or 'xemacs' - it is used for byte compiling
X#    emacs lisp files (*.el => *.elc)
X# EMACS_PORT is only used for dependency registration, the installed bits
X#    are always the same (regardless of what [x]emacs version is used)
X.if !defined(EMACS_NAME)
X.if exists(${LOCALBASE}/bin/xemacs)
XEMACS_NAME = xemacs
XEMACS_PORT = xemacs21
X.else
XEMACS_NAME = emacs
XEMACS_PORT = emacs20
X.endif
X.endif
XMAKE_ENV += EMACS='${EMACS_NAME}'
X
XBUILD_DEPENDS =	${EMACS_NAME}:${PORTSDIR}/editors/${EMACS_PORT}
XRUN_DEPENDS =	${EMACS_NAME}:${PORTSDIR}/editors/${EMACS_PORT} \
X		latex:${PORTSDIR}/print/teTeX
X
X.include <bsd.port.pre.mk>
X
X.if ${PREFIX} != /usr/local
X# adjust a hardcoded '/usr/local' string
Xpost-patch:
X	@${ECHO_MSG} "===>  Substituting hardcoded '/usr/local' paths"
X	${PERL} -wpi -e 's¦/usr/local¦${PREFIX}¦g' ${WRKSRC}/tex.el
X.endif
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${PREFIX}/share/doc/auctex
X.for file in CHANGES INSTALLATION README
X	${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/share/doc/auctex
X.endfor
X	cd ${WRKSRC} &&  ${SETENV} ${MAKE_ENV} ${MAKE} install-info >/dev/null
X	install-info --entry='* AUC-Tex mode: (auctex).	Emacs mode for editing TeX and LaTeX files.' --section='TeX' ${PREFIX}/info/auctex ${PREFIX}/info/dir
X.endif
X	@${CAT} ${PKGDIR}/MESSAGE | ${SED} 's¦/usr/local¦${PREFIX}¦g'
X
X.include <bsd.port.post.mk>
END-of-ports/editors/auctex/Makefile
echo c - ports/editors/auctex/pkg
mkdir -p ports/editors/auctex/pkg > /dev/null 2>&1
echo x - ports/editors/auctex/pkg/COMMENT
sed 's/^X//' >ports/editors/auctex/pkg/COMMENT << 'END-of-ports/editors/auctex/pkg/COMMENT'
XIntegrated environment for writing LaTeX using GNU Emacs
END-of-ports/editors/auctex/pkg/COMMENT
echo x - ports/editors/auctex/pkg/DESCR
sed 's/^X//' >ports/editors/auctex/pkg/DESCR << 'END-of-ports/editors/auctex/pkg/DESCR'
X   AUC TeX is a comprehensive customizable integrated environment for
Xwriting input files for LaTeX using GNU Emacs.
X
X   AUC TeX lets you run TeX/LaTeX and other LaTeX-related tools, such
Xas a output filters or post processor from inside Emacs.  Especially
X`running LaTeX' is interesting, as AUC TeX lets you browse through the
Xerrors TeX reported, while it moves the cursor directly to the reported
Xerror, and displays some documentation for that particular error.  This
Xwill even work when the document is spread over several files.
X
X   AUC TeX automatically indents your `LaTeX-source', not only as you
Xwrite it -- you can also let it indent and format an entire document.
XIt has a special outline feature, which can greatly help you `getting an
Xoverview' of a document.
X
X   Apart from these special features, AUC TeX provides a large range of
Xhandy Emacs macros, which in several different ways can help you write
Xyour LaTeX documents fast and painlessly.
X
X   All features of AUC TeX are documented using the GNU Emacs online
Xdocumentation system.  That is, documentation for any command is just
Xa key click away!  AUC TeX is written entirely in Emacs-Lisp, and hence
Xyou can easily add new features for your own needs.
END-of-ports/editors/auctex/pkg/DESCR
echo x - ports/editors/auctex/pkg/PLIST
sed 's/^X//' >ports/editors/auctex/pkg/PLIST << 'END-of-ports/editors/auctex/pkg/PLIST'
X@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
Xinfo/auctex
Xinfo/auctex-1
Xinfo/auctex-2
Xinfo/auctex-3
X@exec install-info --entry='* AUC-Tex mode: (auctex).	Emacs mode for editing TeX and LaTeX files.' --section='TeX' %D/info/auctex %D/info/dir
Xshare/doc/auctex/CHANGES
Xshare/doc/auctex/INSTALLATION
Xshare/doc/auctex/README
X@dirrm share/doc/auctex
Xshare/emacs/site-lisp/tex-site.el
Xshare/emacs/site-lisp/auctex/auc-old.el
Xshare/emacs/site-lisp/auctex/auc-old.elc
Xshare/emacs/site-lisp/auctex/latex.el
Xshare/emacs/site-lisp/auctex/latex.elc
Xshare/emacs/site-lisp/auctex/multi-prompt.el
Xshare/emacs/site-lisp/auctex/multi-prompt.elc
Xshare/emacs/site-lisp/auctex/tex-buf.el
Xshare/emacs/site-lisp/auctex/tex-buf.elc
Xshare/emacs/site-lisp/auctex/tex-info.el
Xshare/emacs/site-lisp/auctex/tex-info.elc
Xshare/emacs/site-lisp/auctex/tex.el
Xshare/emacs/site-lisp/auctex/tex.elc
Xshare/emacs/site-lisp/auctex/texmathp.el
Xshare/emacs/site-lisp/auctex/texmathp.elc
Xshare/emacs/site-lisp/auctex/style/amsart.el
Xshare/emacs/site-lisp/auctex/style/amsart.elc
Xshare/emacs/site-lisp/auctex/style/amsbook.el
Xshare/emacs/site-lisp/auctex/style/amsbook.elc
Xshare/emacs/site-lisp/auctex/style/amsbsy.el
Xshare/emacs/site-lisp/auctex/style/amsbsy.elc
Xshare/emacs/site-lisp/auctex/style/amsmath.el
Xshare/emacs/site-lisp/auctex/style/amsmath.elc
Xshare/emacs/site-lisp/auctex/style/amsopn.el
Xshare/emacs/site-lisp/auctex/style/amsopn.elc
Xshare/emacs/site-lisp/auctex/style/amstex.el
Xshare/emacs/site-lisp/auctex/style/amstex.elc
Xshare/emacs/site-lisp/auctex/style/amstext.el
Xshare/emacs/site-lisp/auctex/style/amstext.elc
Xshare/emacs/site-lisp/auctex/style/amsthm.el
Xshare/emacs/site-lisp/auctex/style/amsthm.elc
Xshare/emacs/site-lisp/auctex/style/article.el
Xshare/emacs/site-lisp/auctex/style/article.elc
Xshare/emacs/site-lisp/auctex/style/book.el
Xshare/emacs/site-lisp/auctex/style/book.elc
Xshare/emacs/site-lisp/auctex/style/czech.el
Xshare/emacs/site-lisp/auctex/style/czech.elc
Xshare/emacs/site-lisp/auctex/style/danish.el
Xshare/emacs/site-lisp/auctex/style/danish.elc
Xshare/emacs/site-lisp/auctex/style/dinbrief.el
Xshare/emacs/site-lisp/auctex/style/dinbrief.elc
Xshare/emacs/site-lisp/auctex/style/dk.el
Xshare/emacs/site-lisp/auctex/style/dk.elc
Xshare/emacs/site-lisp/auctex/style/dutch.el
Xshare/emacs/site-lisp/auctex/style/dutch.elc
Xshare/emacs/site-lisp/auctex/style/epsf.el
Xshare/emacs/site-lisp/auctex/style/epsf.elc
Xshare/emacs/site-lisp/auctex/style/foils.el
Xshare/emacs/site-lisp/auctex/style/foils.elc
Xshare/emacs/site-lisp/auctex/style/german.el
Xshare/emacs/site-lisp/auctex/style/german.elc
Xshare/emacs/site-lisp/auctex/style/harvard.el
Xshare/emacs/site-lisp/auctex/style/harvard.elc
Xshare/emacs/site-lisp/auctex/style/j-article.el
Xshare/emacs/site-lisp/auctex/style/j-article.elc
Xshare/emacs/site-lisp/auctex/style/j-book.el
Xshare/emacs/site-lisp/auctex/style/j-book.elc
Xshare/emacs/site-lisp/auctex/style/j-report.el
Xshare/emacs/site-lisp/auctex/style/j-report.elc
Xshare/emacs/site-lisp/auctex/style/jarticle.el
Xshare/emacs/site-lisp/auctex/style/jarticle.elc
Xshare/emacs/site-lisp/auctex/style/jbook.el
Xshare/emacs/site-lisp/auctex/style/jbook.elc
Xshare/emacs/site-lisp/auctex/style/jreport.el
Xshare/emacs/site-lisp/auctex/style/jreport.elc
Xshare/emacs/site-lisp/auctex/style/latexinfo.el
Xshare/emacs/site-lisp/auctex/style/latexinfo.elc
Xshare/emacs/site-lisp/auctex/style/letter.el
Xshare/emacs/site-lisp/auctex/style/letter.elc
Xshare/emacs/site-lisp/auctex/style/natbib.el
Xshare/emacs/site-lisp/auctex/style/natbib.elc
Xshare/emacs/site-lisp/auctex/style/plfonts.el
Xshare/emacs/site-lisp/auctex/style/plfonts.elc
Xshare/emacs/site-lisp/auctex/style/plhb.el
Xshare/emacs/site-lisp/auctex/style/plhb.elc
Xshare/emacs/site-lisp/auctex/style/psfig.el
Xshare/emacs/site-lisp/auctex/style/psfig.elc
Xshare/emacs/site-lisp/auctex/style/report.el
Xshare/emacs/site-lisp/auctex/style/report.elc
Xshare/emacs/site-lisp/auctex/style/slides.el
Xshare/emacs/site-lisp/auctex/style/slides.elc
Xshare/emacs/site-lisp/auctex/style/slovak.el
Xshare/emacs/site-lisp/auctex/style/slovak.elc
Xshare/emacs/site-lisp/auctex/style/swedish.el
Xshare/emacs/site-lisp/auctex/style/swedish.elc
Xshare/emacs/site-lisp/auctex/style/virtex.el
Xshare/emacs/site-lisp/auctex/style/virtex.elc
X@dirrm share/emacs/site-lisp/auctex/style
X@dirrm share/emacs/site-lisp/auctex
END-of-ports/editors/auctex/pkg/PLIST
echo x - ports/editors/auctex/pkg/MESSAGE
sed 's/^X//' >ports/editors/auctex/pkg/MESSAGE << 'END-of-ports/editors/auctex/pkg/MESSAGE'
X
XCustomizing
X===========
X   Next, you should edit the file
X`/usr/local/share/emacs/site-lisp/tex-site.el' to fit your local site.
XYou do this by looking at the customization section in the beginning
Xof `/usr/local/share/emacs/site-lisp/auctex/tex.el' and copy the
Xdefinitions that are wrong for your site to `tex-site.el'.  Do *not*
Xedit `tex.el' directly, or you will have to do all the work over again
Xwhen you upgrade AUC TeX.  AUC TeX will not overwrite your old
X`tex-site.el' file next time you install, so you will be able to keep
Xall your customizations.
X
X   You probably want to copy and edit `TeX-printer-list' to contain the
Xprinters available at your site.
X
XEnabling AUC TeX
X================
X   You can now tell your users to enable AUC TeX by adding
X
X     (require 'tex-site)
X
Xto their `~/.emacs' file.
END-of-ports/editors/auctex/pkg/MESSAGE
echo c - ports/editors/auctex/files
mkdir -p ports/editors/auctex/files > /dev/null 2>&1
echo x - ports/editors/auctex/files/md5
sed 's/^X//' >ports/editors/auctex/files/md5 << 'END-of-ports/editors/auctex/files/md5'
XMD5 (auctex-9.9p.tar.gz) = d20c048f8f90c9281dbef4d51b707e09
END-of-ports/editors/auctex/files/md5
echo c - ports/editors/auctex/patches
mkdir -p ports/editors/auctex/patches > /dev/null 2>&1
echo x - ports/editors/auctex/patches/patch-aa
sed 's/^X//' >ports/editors/auctex/patches/patch-aa << 'END-of-ports/editors/auctex/patches/patch-aa'
X--- Makefile.orig	Thu Feb 11 11:19:48 1999
X+++ Makefile	Sun Nov 21 16:41:46 1999
X@@ -10,7 +10,7 @@
X ##----------------------------------------------------------------------
X 
X # Where local software is found
X-prefix=/usr/local
X+prefix = ${PREFIX}
X 
X # Where info files go.
X infodir = $(prefix)/info
X@@ -22,7 +22,7 @@
X aucdir=$(lispdir)/auctex
X 
X # Name of your emacs binary
X-EMACS=emacs
X+EMACS ?= emacs
X 
X ##----------------------------------------------------------------------
X ## YOU MAY NEED TO EDIT THESE
X@@ -48,10 +48,13 @@
X AUTOC= $(ELC)
X 
X # How to move the byte compiled files to their destination.  
X-MV = mv
X+MV = ${BSD_INSTALL_DATA}
X 
X-# How to copy the lisp files to their distination.
X-CP = cp -p
X+# How to copy the lisp files to their destination.
X+CP = ${BSD_INSTALL_DATA}
X+
X+# How to create destination directories.
X+MKDIR = mkdir -p -m 755
X 
X ##----------------------------------------------------------------------
X ##  BELOW THIS LINE ON YOUR OWN RISK!
X@@ -115,7 +118,7 @@
X # 	$(ELC) hilit-LaTeX.el         # Doesn't compile without X
X 
X install-lisp:	some
X-	if [ ! -d $(lispdir) ]; then mkdir $(lispdir); else true; fi ;
X+	if [ ! -d $(lispdir) ]; then $(MKDIR) $(lispdir); else true; fi ;
X 	if [ -f $(lispdir)/tex-site.el ]; \
X 	then \
X 	    echo "Leaving old tex-site.el alone."; \
X@@ -123,10 +126,10 @@
X 	    sed -e 's#@AUCDIR#$(aucdir)/#' tex-site.el \
X 	    > $(lispdir)/tex-site.el ; \
X         fi
X-	if [ ! -d $(aucdir) ]; then mkdir $(aucdir); else true; fi ; 
X+	if [ ! -d $(aucdir) ]; then $(MKDIR) $(aucdir); else true; fi ; 
X 	if [ `/bin/pwd` != `(cd $(aucdir) && /bin/pwd)` ] ; \
X 	then \
X-	    if [ ! -d $(aucdir)/style ]; then mkdir $(aucdir)/style; \
X+	    if [ ! -d $(aucdir)/style ]; then $(MKDIR) $(aucdir)/style; \
X 	                                 else true; fi ; \
X 	    $(MV) $(AUCELC) $(aucdir) ; \
X 	    $(MV) style/*.elc $(aucdir)/style ; \
X@@ -189,9 +192,9 @@
X 	-(cd style; cvs add `echo $(STYLESRC) | sed -e s@style/@@g` )
X 	cvs commit -m "Release $(TAG)"
X 	cvs tag release_`echo $(TAG) | sed -e 's/[.]/_/g'`
X-	mkdir auctex-$(TAG) 
X-	mkdir auctex-$(TAG)/style
X-	mkdir auctex-$(TAG)/doc 
X+	$(MKDIR) auctex-$(TAG) 
X+	$(MKDIR) auctex-$(TAG)/style
X+	$(MKDIR) auctex-$(TAG)/doc 
X 	cp $(AUCSRC) $(EXTRAFILES) auctex-$(TAG)
X 	cp $(STYLESRC) auctex-$(TAG)/style
X 	cp $(DOCFILES)  auctex-$(TAG)/doc
END-of-ports/editors/auctex/patches/patch-aa
echo x - ports/editors/auctex/patches/patch-ab
sed 's/^X//' >ports/editors/auctex/patches/patch-ab << 'END-of-ports/editors/auctex/patches/patch-ab'
X--- tex.el~	Thu Feb 11 11:19:47 1999
X+++ tex.el	Sun Nov 21 14:08:05 1999
X@@ -75,7 +75,7 @@
X 
X ;; Change this to point to the place where the TeX macros are stored
X ;; at yourt site.
X-(defcustom TeX-macro-global '("/usr/local/lib/texmf/tex/")
X+(defcustom TeX-macro-global '("/usr/local/share/texmf/tex/")
X   "Directories containing the sites TeX macro files and style files.
X The directory names *must* end with a slash."
X   :group 'TeX-file
X@@ -253,7 +253,8 @@
X 
X (defcustom TeX-printer-list
X   '(("Local" "dvips -f %s | lpr" "lpq")
X-    ("lw") ("ps"))
X+;    ("lp") ("ps")
X+    )
X   "List of available printers.
X 
X The first element of each entry is the printer name.
X@@ -284,7 +285,7 @@
X (defcustom TeX-printer-default (or (getenv "PRINTER")
X 				   (and TeX-printer-list
X 					(car (car TeX-printer-list)))
X-				   "lw")
X+				   "lp")
X   "*Default printer to use with TeX-command."
X   :group 'TeX-command
X   :type 'string)
END-of-ports/editors/auctex/patches/patch-ab
exit

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911212300.AAA05548>