freebsd-ports/print/auctex/Makefile
Joseph Mingrone bea2b0b802 editors/emacs: Update to version 27.1
Please refer to the 20200811 UPDATING entry when upgrading
dependent (*-emacs26-*) ports.

Port changes:

- depend on math/gmp
- match upstream by turning CAIRO, HARFBUZZ, and JSON options and on and
  turning MAGICK off by default
- remove OPENMP check for graphics/ImageMagick as the openmp is now
  included in base
- update EMACS_VER in Mk/Uses/emacs.mk
- bump USES=emacs ports or remove BROKEN for net-im/jabber.el and
  deskutils/howm, which now build

Submitted by:	HIROSE Yuuji <yuuji@gentei.org> (canna patch)
Reviewed by:	ashish
Differential Revision:	https://reviews.freebsd.org/D23966
2020-08-12 18:30:06 +00:00

37 lines
938 B
Makefile

# Created by: Martin Kammerhofer
# $FreeBSD$
PORTNAME= auctex
PORTVERSION= 12.2
PORTREVISION= 1
CATEGORIES= print elisp
MASTER_SITES= GNU
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Integrated environment for writing LaTeX using GNU Emacs
LICENSE= GPLv3
.if ${FLAVOR:U} == devel_full || ${FLAVOR:U} == devel_nox
BROKEN= tex.el:0:0: error: wrong-type-argument: (stringp nil)
.endif
USES= emacs ghostscript gmake
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
OPTIONS_DEFINE= DOCS
DOCS_CONFIGURE_ON= --docdir=${DOCSDIR}
DOCS_CONFIGURE_OFF= WITHOUT_AUCTEX_DOCSDIR=yes
.include <bsd.port.mk>