blob: 1f577906d23d24fb447d53a9818146ce87b93f93 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# New ports collection makefile for: auctex
# Date created: 21 November 1999
# Whom: Martin Kammerhofer
#
# $FreeBSD$
#
PORTNAME= auctex
PORTVERSION= 11.86
PORTREVISION= 5
CATEGORIES= print elisp
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Integrated environment for writing LaTeX using GNU Emacs
BUILD_DEPENDS= ${MKTEXLSR}:${PORTSDIR}/print/teTeX-base
RUN_DEPENDS= ${MKTEXLSR}:${PORTSDIR}/print/teTeX-base
USE_GHOSTSCRIPT=yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-lispdir=${PREFIX}/${LISPDIR} \
--with-auto-dir=${PREFIX}/${LISPDIR}/auctex/auto \
--with-texmf-dir=${PREFIX}/${TEXMFDIR}
.if defined(NOPORTDOCS)
MAKE_ENV= WITHOUT_AUCTEX_DOCSDIR=yes
.else
PORTDOCS= tex-ref.pdf
.endif
USE_EMACS= yes
LISPDIR= ${EMACS_VERSION_SITE_LISPDIR}
PLIST_SUB+= LISPDIR=${LISPDIR} \
TEXMFDIR=${TEXMFDIR} \
MKTEXLSR=${MKTEXLSR}
INFO= auctex preview-latex
TEXMFDIR= share/texmf
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
NOT_FOR_ARCHS= ia64
post-install:
${MKTEXLSR} ${PREFIX}/${TEXMFDIR}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|