mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
48 lines
989 B
Makefile
48 lines
989 B
Makefile
# Created by: Martin Kammerhofer
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= auctex
|
|
PORTVERSION= 11.87
|
|
PORTREVISION= 1
|
|
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
|
|
|
|
LICENSE= GPLv3
|
|
|
|
USE_TEX= latex
|
|
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
|
|
|
|
NO_STAGE= yes
|
|
post-install:
|
|
${MKTEXLSR} ${PREFIX}/${TEXMFDIR}
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|