1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/print/auctex/Makefile
Rong-En Fan f935a609c5 - Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
2007-07-23 09:36:51 +00:00

46 lines
1.0 KiB
Makefile

# New ports collection makefile for: auctex
# Date created: 21 November 1999
# Whom: Martin Kammerhofer
#
# $FreeBSD$
#
PORTNAME= auctex
PORTVERSION= 11.84
PORTREVISION= 1
CATEGORIES= print elisp
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Integrated environment for writing LaTeX using GNU Emacs
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}
USE_EMACS= yes
EMACS_PORT_NAME?= emacs21
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>