freebsd-ports/print/auctex/Makefile
2017-01-11 09:13:34 +00:00

34 lines
853 B
Makefile

# Created by: Martin Kammerhofer
# $FreeBSD$
PORTNAME= auctex
PORTVERSION= 11.90
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
USES= ghostscript gmake
USE_EMACS= yes
USE_TEX= latex texhash
TEXHASHDIRS= ${TEXMFDIR}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-lispdir=${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} \
--with-auto-dir=${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/auctex/auto \
--with-texmf-dir=${PREFIX}/${TEXMFDIR}
PORTDOCS= tex-ref.pdf
INFO= auctex preview-latex
PLIST_SUB= TEXMFDIR=${TEXMFDIR}
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
OPTIONS_DEFINE= DOCS
DOCS_CONFIGURE_ON= --docdir=${DOCSDIR}
DOCS_CONFIGURE_OFF= WITHOUT_AUCTEX_DOCSDIR=yes
.include <bsd.port.mk>