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