Date: Sun, 27 Jan 2002 10:41:44 +0900 From: Yoichi NAKAYAMA <yoichi@FreeBSD.org> To: mkamm@gmx.net Cc: ports@FreeBSD.org Subject: about auctex port for FreeBSD Message-ID: <wyhep8vacn.wl@eken5.eken.phys.nagoya-u.ac.jp>
next in thread | raw e-mail | index | archive | help
--Multipart_Sun_Jan_27_10:41:44_2002-1 Content-Type: text/plain; charset=US-ASCII Dear auctex port's maintainer I now committed ports/print/preview-latex which is previewer for LaTeX on Emacs 21 and it depends on auctex. So I hope your auctex port depends on Emacs 21 by default so that preview-latex port posesses correct dependence through following line. (preview-latex)-(auctex)-(emacs) # Currently: # (preview-latex)-(emacs21) # (auctex)-(emacs20) I also noticed that .if exists(${LOCALBASE}/bin/xemacs) is not effective since it is appear before including bsd.port.pre.mk. At the first sight I thought it should be appear after bsd.port.pre.mk but now I think xemacs support on print/auctex can be abolished since 1. auctex is already included in ports/editors/xemacs-packages. 2. print/auctex installs lisp files to the directory which XEmacs doesn't initially includes in load-path even when it depends on xemacs. My proposal is as follows: 1 Abolish xemacs support in print/auctex. 2.0 Use bsd.emacs.mk. 2.1 Depend on emacs21 by default. 2.2 Install to emacs' version specific directory 2.3 Add suffix for packages. 2.4 Add stub port for emacs20 as print/auctex-emacs20. (simply set EMACS_PORT_NAME=emacs20 in its Makefile) 3 Remove 2-byte chars from Makefile. No.2 in above is to arrange auctec port like other emacs lisp ports e.g. speedbar,ecb,tramp, etc. Would you give me some comment or approval for my proposal, please? Regards, -- Yoichi Nakayama --Multipart_Sun_Jan_27_10:41:44_2002-1 Content-Type: application/octet-stream; type=patch Content-Disposition: attachment; filename="auctex.patch" Content-Transfer-Encoding: 7bit Index: Makefile =================================================================== RCS file: /home/ncvs/ports/print/auctex/Makefile,v retrieving revision 1.5 diff -u -r1.5 Makefile --- Makefile 6 Jun 2001 18:19:02 -0000 1.5 +++ Makefile 27 Jan 2002 01:22:27 -0000 @@ -10,37 +10,19 @@ CATEGORIES= print elisp MASTER_SITES= ${MASTER_SITE_TEX_CTAN} MASTER_SITE_SUBDIR= support/auctex +PKGNAMESUFFIX= -${EMACS_PORT_NAME} MAINTAINER= mkamm@gmx.net -# NOTE: AUC TeX 10 requires Emacs version to be >= 20 -# 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}' +RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX -BUILD_DEPENDS = ${EMACS_NAME}:${PORTSDIR}/editors/${EMACS_PORT} -RUN_DEPENDS = ${EMACS_NAME}:${PORTSDIR}/editors/${EMACS_PORT} \ - latex:${PORTSDIR}/print/teTeX +EMACS_PORT_NAME?= emacs21 +MAKE_ARGS+= lispdir=${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} -.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 + ${PERL} -wpi -e 's?/usr/local?${PREFIX}?g' ${WRKSRC}/tex.el post-install: .if !defined(NOPORTDOCS) @@ -51,6 +33,6 @@ 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} ${PKGMESSAGE} | ${SED} 's¦/usr/local¦${PREFIX}¦g' + @${CAT} ${PKGMESSAGE} | ${SED} 's?/usr/local?${PREFIX}?g' -.include <bsd.port.post.mk> +.include <bsd.port.mk> Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/print/auctex/pkg-plist,v retrieving revision 1.2 diff -u -r1.2 pkg-plist --- pkg-plist 6 Jun 2001 18:19:02 -0000 1.2 +++ pkg-plist 27 Jan 2002 01:22:27 -0000 @@ -8,115 +8,115 @@ 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/auto/.nosearch -@dirrm share/emacs/site-lisp/auctex/auto -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/style/.nosearch -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/fancyref.el -share/emacs/site-lisp/auctex/style/fancyref.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/graphics.el -share/emacs/site-lisp/auctex/style/graphics.elc -share/emacs/site-lisp/auctex/style/graphicx.el -share/emacs/site-lisp/auctex/style/graphicx.elc -share/emacs/site-lisp/auctex/style/harvard.el -share/emacs/site-lisp/auctex/style/harvard.elc -share/emacs/site-lisp/auctex/style/index.el -share/emacs/site-lisp/auctex/style/index.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/makeidx.el -share/emacs/site-lisp/auctex/style/makeidx.elc -share/emacs/site-lisp/auctex/style/mdwlist.el -share/emacs/site-lisp/auctex/style/mdwlist.elc -share/emacs/site-lisp/auctex/style/multind.el -share/emacs/site-lisp/auctex/style/multind.elc -share/emacs/site-lisp/auctex/style/natbib.el -share/emacs/site-lisp/auctex/style/natbib.elc -share/emacs/site-lisp/auctex/style/ngerman.el -share/emacs/site-lisp/auctex/style/ngerman.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/varioref.el -share/emacs/site-lisp/auctex/style/varioref.elc -share/emacs/site-lisp/auctex/style/virtex.el -share/emacs/site-lisp/auctex/style/virtex.elc -@dirrm share/emacs/site-lisp/auctex/style -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-mik.el -share/emacs/site-lisp/auctex/tex-mik.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 -@dirrm share/emacs/site-lisp/auctex +%%EMACS_VERSION_SITE_LISPDIR%%/tex-site.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/auc-old.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/auc-old.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/auto/.nosearch +@dirrm %%EMACS_VERSION_SITE_LISPDIR%%/auctex/auto +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/latex.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/latex.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/multi-prompt.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/multi-prompt.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/.nosearch +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amsart.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amsart.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amsbook.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amsbook.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amsbsy.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amsbsy.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amsmath.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amsmath.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amsopn.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amsopn.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amstex.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amstex.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amstext.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amstext.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amsthm.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amsthm.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/article.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/article.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/book.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/book.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/czech.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/czech.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/danish.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/danish.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/dinbrief.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/dinbrief.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/dk.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/dk.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/dutch.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/dutch.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/epsf.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/epsf.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/fancyref.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/fancyref.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/foils.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/foils.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/german.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/german.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/graphics.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/graphics.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/graphicx.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/graphicx.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/harvard.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/harvard.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/index.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/index.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/j-article.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/j-article.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/j-book.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/j-book.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/j-report.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/j-report.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/jarticle.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/jarticle.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/jbook.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/jbook.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/jreport.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/jreport.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/latexinfo.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/latexinfo.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/letter.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/letter.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/makeidx.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/makeidx.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/mdwlist.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/mdwlist.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/multind.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/multind.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/natbib.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/natbib.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/ngerman.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/ngerman.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/plfonts.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/plfonts.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/plhb.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/plhb.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/psfig.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/psfig.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/report.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/report.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/slides.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/slides.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/slovak.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/slovak.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/swedish.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/swedish.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/varioref.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/varioref.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/virtex.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/virtex.elc +@dirrm %%EMACS_VERSION_SITE_LISPDIR%%/auctex/style +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/tex-buf.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/tex-buf.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/tex-info.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/tex-info.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/tex-mik.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/tex-mik.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/tex.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/tex.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/texmathp.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/texmathp.elc +@dirrm %%EMACS_VERSION_SITE_LISPDIR%%/auctex --Multipart_Sun_Jan_27_10:41:44_2002-1-- 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?wyhep8vacn.wl>