Fix syntax error
[git/cygwin-packages/emacs-auctex.git] / emacs-auctex.cygport
CommitLineData
161b9a6f
KB
1ORIG_PN="auctex"
2
6a5f2c58 3NAME="emacs-auctex"
f084072b
KB
4VERSION=11.89
5RELEASE=1
3df3e886
KB
6
7PKG_NAMES="${PN} preview-latex"
6a5f2c58
KB
8
9HOMEPAGE="http://www.gnu.org/software/auctex/"
3df3e886 10SRC_URI="mirror://gnu/auctex/${ORIG_PN}-${VERSION}.tar.gz postinstall.sh"
b83f6d04
KB
11# GIT_URI="git://git.savannah.gnu.org/auctex.git"
12# inherit git
6a5f2c58
KB
13
14MAKEOPTS+=" -j1 "
15
16CATEGORY="Editors"
17
3df3e886
KB
18emacs_auctex_REQUIRES="emacs preview-latex"
19
20emacs_auctex_SUMMARY="TeX macros for Emacs"
6a5f2c58 21
3df3e886 22preview_latex_REQUIRES="texlive-collection-latex texlive-collection-latexrecommended"
6a5f2c58 23
3df3e886
KB
24preview_latex_SUMMARY="Extract bits of a LaTeX source for output"
25
26emacs_auctex_DESCRIPTION="AUCTeX is an extensible package for writing and formatting TeX
6a5f2c58
KB
27files in GNU Emacs and XEmacs. It supports many different TeX macro
28packages, including AMS-TeX, LaTeX, Texinfo, ConTeXt, and DocTeX (dtx
3df3e886
KB
29files). AUCTeX includes preview-latex, which makes LaTeX a tightly
30integrated component of your editing workflow by including selected
6a5f2c58
KB
31source chunks (such as single formulas or graphics) directly as images
32in the source buffer."
33
3df3e886
KB
34preview_latex_DESCRIPTION="This is a self-contained subpackage of emacs-auctex that allows
35appropriately selected parts of a LaTeX document to be formatted and
36displayed within the Emacs editor. It also has uses that do not
37require Emacs."
38
39emacs_auctex_CONTENTS="usr/share/doc usr/share/emacs usr/share/info/auctex* var/lib/auctex"
40
41preview_latex_CONTENTS="usr/share/info/preview-latex* usr/share/texmf-site etc/postinstall"
42
fe021116
KB
43DEPEND="emacs"
44
6a5f2c58 45src_compile() {
b83f6d04
KB
46 # cd ${S}
47 # ./autogen.sh
6a5f2c58
KB
48 lndirs
49 cd ${B}
b83f6d04
KB
50 SITELISP=/usr/share/emacs/site-lisp
51 cygconf --localstatedir=/var/lib \
52 --with-auctexstartfile=${SITELISP}/auctex.el \
53 --with-previewstartfile=${SITELISP}/preview-latex.el
6a5f2c58
KB
54 cygmake
55}
56
57src_install() {
58 cd ${B}
59 cyginstall
60 # It's probably OK to let cygport byte-compile auctex.el; but
61 # there's no need, and I'd rather not take a chance.
62 cat >> ${D}/usr/share/emacs/site-lisp/auctex.el <<-_EOF
63 ;; Local Variables:
64 ;; no-byte-compile: t
65 ;; End:
66 _EOF
3df3e886
KB
67 exeinto /etc/postinstall
68 newexe ${S}/postinstall.sh preview-latex.sh
6a5f2c58 69}
b83f6d04
KB
70
71ARCH=noarch
This page took 0.15868 seconds and 5 git commands to generate.