# $NetBSD: Makefile,v 1.52 2020/03/10 22:10:50 wiz Exp $ DISTNAME= auctex-11.92 PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME} PKGREVISION= 5 #PKGREVISION= 1 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_GNU:=auctex/} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://www.gnu.org/software/auctex/ COMMENT= Enhanced LaTeX mode for Emacs LICENSE= gnu-gpl-v3 # Emacsen pre-22 lack graphics support EMACS_VERSIONS_ACCEPTED= ${_EMACS_VERSIONS_ALL:Nemacs2[01]*} DEPENDS+= texlive-collection-latex>=2014:../../meta-pkgs/texlive-collection-latex .include "../../mk/bsd.prefs.mk" USE_TOOLS+= gmake makeinfo perl GNU_CONFIGURE= YES CONFIGURE_ENV= GS=${PREFIX}/bin/gs CONFIGURE_ARGS+= ${CONFIGURE_ARGS.${EMACS_FLAVOR}} CONFIGURE_ARGS+= --enable-preview CONFIGURE_ARGS+= --localstatedir=${VARBASE} CONFIGURE_ARGS.emacs= --with-lispdir=${EMACS_LISPPREFIX} # We are not building an XEmacs package! CONFIGURE_ARGS.xemacs= --without-packagedir CONFIGURE_ARGS.xemacs+= --with-lispdir=${EMACS_LISPPREFIX} MAKEFLAGS+= EMACS=${EMACS_BIN:Q} BUILD_DEFS+= VARBASE EMACS_MODULES= base MESSAGE_SUBST+= LISPDIR=${EMACS_LISPPREFIX:Q} INFO_FILES= YES TEXMFDIR= share/texmf-local INSTALLATION_DIRS= share/doc/auctex INSTALLATION_DIRS+= ${EMACS_INFOPREFIX} INSTALLATION_DIRS+= ${EMACS_LISPPREFIX} INSTALLATION_DIRS+= ${EMACS_LISPPREFIX}/auctex INSTALLATION_DIRS+= ${TEXMFDIR}/tex/latex/preview MAKE_DIRS_PERMS+= ${VARBASE}/auctex ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 1777 .include "../../print/ghostscript/buildlink3.mk" .include "../../editors/emacs/modules.mk" .include "../../mk/bsd.pkg.mk"