freebsd-ports/print/auctex/Makefile
Ashish SHUKLA 7fc5bd70f3 GNU Emacs updates
editors/emacs:
 - Update to 24.3
 - Update CANNA patchset[1]
 - Unbreak ARM support by using the patch from emacs-devel port
 - Add missing INSTALLS_ICONS[2]
 - Remove a patch which is already integrated upstream
 - Fix Makefile header

editors/emacs-devel:
 - Update to bzr revision 112178
 - Fix Makefile header
 - Add missing INSTALLS_ICONS[2]

editors/emacs23:
 - Remove ABI versions from LIB_DEPENDS
 - Fix Makefile header
 - Add missing INSTALLS_ICONS[2]

Mk/bsd.emacs.mk:
 - Update major version for editors/emacs port

*:
 - Bump PORTREVISION to chase Emacs updates

PR:		ports/177428[2]
Submitted by:	Yuji TAKANO[1] (via private email), bdrewery[2]
2013-03-30 05:13:30 +00:00

48 lines
1 KiB
Makefile

# Created by: Martin Kammerhofer
# $FreeBSD$
PORTNAME= auctex
PORTVERSION= 11.87
PORTREVISION= 1
CATEGORIES= print elisp
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Integrated environment for writing LaTeX using GNU Emacs
LICENSE= GPLv3
BUILD_DEPENDS= ${MKTEXLSR}:${PORTSDIR}/print/teTeX-base
RUN_DEPENDS= ${MKTEXLSR}:${PORTSDIR}/print/teTeX-base
USE_GHOSTSCRIPT=yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-lispdir=${PREFIX}/${LISPDIR} \
--with-auto-dir=${PREFIX}/${LISPDIR}/auctex/auto \
--with-texmf-dir=${PREFIX}/${TEXMFDIR}
.if defined(NOPORTDOCS)
MAKE_ENV= WITHOUT_AUCTEX_DOCSDIR=yes
.else
PORTDOCS= tex-ref.pdf
.endif
USE_EMACS= yes
LISPDIR= ${EMACS_VERSION_SITE_LISPDIR}
PLIST_SUB+= LISPDIR=${LISPDIR} \
TEXMFDIR=${TEXMFDIR} \
MKTEXLSR=${MKTEXLSR}
INFO= auctex preview-latex
TEXMFDIR= share/texmf
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
NOT_FOR_ARCHS= ia64
post-install:
${MKTEXLSR} ${PREFIX}/${TEXMFDIR}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>