Add appveyor.sh and appveyor.yml
[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
6a5f2c58 43src_compile() {
b83f6d04
KB
44 # cd ${S}
45 # ./autogen.sh
6a5f2c58
KB
46 lndirs
47 cd ${B}
b83f6d04
KB
48 SITELISP=/usr/share/emacs/site-lisp
49 cygconf --localstatedir=/var/lib \
50 --with-auctexstartfile=${SITELISP}/auctex.el \
51 --with-previewstartfile=${SITELISP}/preview-latex.el
6a5f2c58
KB
52 cygmake
53}
54
55src_install() {
56 cd ${B}
57 cyginstall
58 # It's probably OK to let cygport byte-compile auctex.el; but
59 # there's no need, and I'd rather not take a chance.
60 cat >> ${D}/usr/share/emacs/site-lisp/auctex.el <<-_EOF
61 ;; Local Variables:
62 ;; no-byte-compile: t
63 ;; End:
64 _EOF
3df3e886
KB
65 exeinto /etc/postinstall
66 newexe ${S}/postinstall.sh preview-latex.sh
6a5f2c58 67}
b83f6d04
KB
68
69ARCH=noarch
This page took 0.076442 seconds and 5 git commands to generate.