source: trunk/dports/editors/auctex/Portfile

Last change on this file was 146583, checked in by khindenburg@…, 21 months ago

hevea, bibtex2html, lbdb, camlimages, auctex, tom, bigloo: set nomaintainer #50525

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 146583 2016-03-12 20:12:07Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                auctex
7version             11.88
8categories          editors print
9maintainers         nomaintainer
10license             GPL-3+
11description         A major emacs mode for editing TeX files.
12long_description    AUCTeX is an extensible package for writing\
13                    and formatting TeX files in GNU Emacs and XEmacs.\
14                    It supports many different TeX macro packages,\
15                    including AMS-TeX, LaTeX, Texinfo, ConTeXt, and docTeX.
16
17platforms           darwin
18supported_archs     noarch
19homepage            http://www.gnu.org/software/auctex/
20master_sites        gnu
21
22checksums           rmd160  6e4e326b774ae6d7a5b2dc0091100925a8782280 \
23                    sha256  716867d5fbcc5c67cca781d7c1984e6a3a6d5da056ec3b4f35170805bf4dc83f
24
25# We want emacs from MacPorts since this will install stuff in emacs'
26# site-lisp and we want it to go into ${prefix}'s site-lisp.
27depends_lib         port:emacs
28depends_run         bin:tex:texlive
29
30configure.args      --with-lispdir=${prefix}/share/emacs/site-lisp \
31                    --with-auto-dir=${prefix}/share/emacs/site-lisp/auctex/auto
32
33pre-destroot {
34    xinstall -d ${destroot}${prefix}/share/emacs/site-lisp/site-start.d
35}
36
37variant emacs_app description "If your Emacs is emacs-app" {
38    depends_lib-append     port:emacs-app
39    depends_lib-delete     port:emacs
40    configure.args-append  --with-emacs=${applications_dir}/Emacs.app/Contents/MacOS/Emacs
41}
42
43variant mactex description "If your TeX distribution is MacTeX" {
44    # Note: This also needs /usr/texbin in binpath in macports.conf
45    configure.args-append  --with-texmf-dir=/usr/local/texlive/texmf-local
46}
47
48notes "To use this, put the following into your ~/.emacs:\n\
49    (require 'tex-site)"
Note: See TracBrowser for help on using the repository browser.