pkgsrc/print/auctex/Makefile
wiz ccdc98778b auctex: remove xemacs from supported emacsen
From the release notes of 12.1 - xemacs support has been removed.
2022-08-22 09:11:41 +00:00

57 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.65 2022/08/22 09:11:41 wiz Exp $
DISTNAME= auctex-13.1
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
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]*:Nxemacs*}
BUILD_DEPENDS+= tex-texlive-scripts-extra-[0-9]*:../../print/tex-texlive-scripts-extra
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"