blob: ab1285acdbef9396be07ed1180561ce3c4061835 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# $NetBSD: Makefile,v 1.49 2019/11/04 19:57:58 rillig Exp $
DISTNAME= auctex-11.92
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
PKGREVISION= 3
#PKGREVISION= 1
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_GNU:=auctex/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://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"
|