Fix syntax error
[git/cygwin-packages/emacs-auctex.git] / emacs-auctex.cygport
1 ORIG_PN="auctex"
2
3 NAME="emacs-auctex"
4 VERSION=11.89
5 RELEASE=1
6
7 PKG_NAMES="${PN} preview-latex"
8
9 HOMEPAGE="http://www.gnu.org/software/auctex/"
10 SRC_URI="mirror://gnu/auctex/${ORIG_PN}-${VERSION}.tar.gz postinstall.sh"
11 # GIT_URI="git://git.savannah.gnu.org/auctex.git"
12 # inherit git
13
14 MAKEOPTS+=" -j1 "
15
16 CATEGORY="Editors"
17
18 emacs_auctex_REQUIRES="emacs preview-latex"
19
20 emacs_auctex_SUMMARY="TeX macros for Emacs"
21
22 preview_latex_REQUIRES="texlive-collection-latex texlive-collection-latexrecommended"
23
24 preview_latex_SUMMARY="Extract bits of a LaTeX source for output"
25
26 emacs_auctex_DESCRIPTION="AUCTeX is an extensible package for writing and formatting TeX
27 files in GNU Emacs and XEmacs. It supports many different TeX macro
28 packages, including AMS-TeX, LaTeX, Texinfo, ConTeXt, and DocTeX (dtx
29 files). AUCTeX includes preview-latex, which makes LaTeX a tightly
30 integrated component of your editing workflow by including selected
31 source chunks (such as single formulas or graphics) directly as images
32 in the source buffer."
33
34 preview_latex_DESCRIPTION="This is a self-contained subpackage of emacs-auctex that allows
35 appropriately selected parts of a LaTeX document to be formatted and
36 displayed within the Emacs editor. It also has uses that do not
37 require Emacs."
38
39 emacs_auctex_CONTENTS="usr/share/doc usr/share/emacs usr/share/info/auctex* var/lib/auctex"
40
41 preview_latex_CONTENTS="usr/share/info/preview-latex* usr/share/texmf-site etc/postinstall"
42
43 DEPEND="emacs"
44
45 src_compile() {
46 # cd ${S}
47 # ./autogen.sh
48 lndirs
49 cd ${B}
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
54 cygmake
55 }
56
57 src_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
67 exeinto /etc/postinstall
68 newexe ${S}/postinstall.sh preview-latex.sh
69 }
70
71 ARCH=noarch
This page took 0.035361 seconds and 5 git commands to generate.