aboutsummaryrefslogtreecommitdiffstats
path: root/print/auctex/Makefile
blob: b9a8a1c1d4ae4dd5c8fcc4071734cc0ef55b49d7 (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
# Created by: Martin Kammerhofer
# $FreeBSD$

PORTNAME=   auctex
PORTVERSION=    11.88
PORTREVISION=   2
CATEGORIES= print elisp
MASTER_SITES=   GNU
PKGNAMESUFFIX=      -${EMACS_PORT_NAME}

MAINTAINER= hrs@FreeBSD.org
COMMENT=    Integrated environment for writing LaTeX using GNU Emacs

LICENSE=    GPLv3

NOT_FOR_ARCHS=  ia64
USE_TEX=    latex
USES=       ghostscript
USE_EMACS=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-lispdir=${PREFIX}/${LISPDIR} \
        --with-auto-dir=${PREFIX}/${LISPDIR}/auctex/auto \
        --with-texmf-dir=${PREFIX}/${TEXMFDIR}
DOCS_CONFIGURE_ON=  --docdir=${DOCSDIR}
DOCS_CONFIGURE_OFF= WITHOUT_AUCTEX_DOCSDIR=yes
PORTDOCS=   tex-ref.pdf
INFO=       auctex preview-latex
LISPDIR=    ${EMACS_VERSION_SITE_LISPDIR}
PLIST_SUB+= LISPDIR=${LISPDIR} \
        TEXMFDIR=${TEXMFDIR} \
        MKTEXLSR=${MKTEXLSR}
SUB_FILES=  pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message

OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS

.include <bsd.port.mk>