1999-12-29 07:21:37 +00:00
|
|
|
# New ports collection makefile for: auctex
|
|
|
|
# Date created: 21 November 1999
|
|
|
|
# Whom: Martin Kammerhofer
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 17:50:59 +00:00
|
|
|
PORTNAME= auctex
|
2003-01-08 08:36:15 +00:00
|
|
|
PORTVERSION= 11.13
|
1999-12-29 07:21:37 +00:00
|
|
|
CATEGORIES= print elisp
|
2003-01-08 08:36:15 +00:00
|
|
|
MASTER_SITES= http://savannah.nongnu.org/download/auctex/stable.pkg/${PORTVERSION}/
|
1999-12-29 07:21:37 +00:00
|
|
|
|
2003-03-28 00:44:10 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Integrated environment for writing LaTeX using GNU Emacs
|
1999-12-29 07:21:37 +00:00
|
|
|
|
2002-02-04 10:22:47 +00:00
|
|
|
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
|
1999-12-29 07:21:37 +00:00
|
|
|
|
2002-02-04 10:22:47 +00:00
|
|
|
EMACS_PORT_NAME?= emacs21
|
|
|
|
EMACS_NO_RUN_DEPENDS= yes
|
|
|
|
LISPDIR= ${EMACS_SITE_LISPDIR}
|
2002-04-20 13:22:45 +00:00
|
|
|
ALL_TARGET= all contrib
|
2002-04-23 12:48:52 +00:00
|
|
|
INSTALL_TARGET= install install-contrib
|
2002-02-04 10:22:47 +00:00
|
|
|
MAKE_ARGS+= lispdir=${PREFIX}/${LISPDIR}
|
|
|
|
PLIST_SUB+= LISPDIR=${LISPDIR}
|
2002-06-25 18:30:57 +00:00
|
|
|
USE_REINPLACE= yes
|
1999-12-29 07:21:37 +00:00
|
|
|
|
|
|
|
# adjust a hardcoded '/usr/local' string
|
|
|
|
post-patch:
|
|
|
|
@${ECHO_MSG} "===> Substituting hardcoded '/usr/local' paths"
|
2002-06-25 18:30:57 +00:00
|
|
|
${REINPLACE_CMD} -e 's?/usr/local?${PREFIX}?g' ${WRKSRC}/tex.el
|
1999-12-29 07:21:37 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/auctex
|
|
|
|
.for file in CHANGES INSTALLATION README
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/share/doc/auctex
|
|
|
|
.endfor
|
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} install-info >/dev/null
|
|
|
|
install-info --entry='* AUC-Tex mode: (auctex). Emacs mode for editing TeX and LaTeX files.' --section='TeX' ${PREFIX}/info/auctex ${PREFIX}/info/dir
|
|
|
|
.endif
|
2002-02-04 10:22:47 +00:00
|
|
|
@${CAT} ${PKGMESSAGE} | ${SED} 's?/usr/local?${PREFIX}?g'
|
1999-12-29 07:21:37 +00:00
|
|
|
|
2002-02-04 10:22:47 +00:00
|
|
|
.include <bsd.port.mk>
|