mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
85931d8302
- Add PKGNAMESUFFIX based on EMACS_PORT_NAME. Pointed out by: Jan Henrik Sylvester
46 lines
1.0 KiB
Makefile
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= 2
|
|
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
|
|
|
|
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
|
|
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>
|