Lines 6-17
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= auctex |
8 |
PORTNAME= auctex |
9 |
PORTVERSION= 11.13 |
9 |
PORTVERSION= 11.14 |
10 |
CATEGORIES= print elisp |
10 |
CATEGORIES= print elisp |
11 |
MASTER_SITES= ${MASTER_SITE_SAVANNAH} \ |
11 |
MASTER_SITES= ${MASTER_SITE_GNU} |
12 |
http://wuarchive.wustl.edu/mirrors/gnu/auctex/ \ |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION} |
13 |
http://mirror.telentente.com/pub/gnu/auctex/ |
|
|
14 |
MASTER_SITE_SUBDIR= ${PORTNAME}/stable.pkg/${PORTVERSION} |
15 |
|
13 |
|
16 |
MAINTAINER= ports@FreeBSD.org |
14 |
MAINTAINER= ports@FreeBSD.org |
17 |
COMMENT= Integrated environment for writing LaTeX using GNU Emacs |
15 |
COMMENT= Integrated environment for writing LaTeX using GNU Emacs |
Lines 22-46
Link Here
|
22 |
EMACS_NO_RUN_DEPENDS= yes |
20 |
EMACS_NO_RUN_DEPENDS= yes |
23 |
LISPDIR= ${EMACS_SITE_LISPDIR} |
21 |
LISPDIR= ${EMACS_SITE_LISPDIR} |
24 |
ALL_TARGET= all contrib |
22 |
ALL_TARGET= all contrib |
25 |
INSTALL_TARGET= install install-contrib |
23 |
INSTALL_TARGET= install install-contrib install-info |
26 |
MAKE_ARGS+= lispdir=${PREFIX}/${LISPDIR} |
24 |
MAKE_ARGS+= lispdir=${PREFIX}/${LISPDIR} |
27 |
PLIST_SUB+= LISPDIR=${LISPDIR} |
25 |
PLIST_SUB+= LISPDIR=${LISPDIR} |
28 |
USE_REINPLACE= yes |
26 |
USE_REINPLACE= yes |
|
|
27 |
INFO= auctex |
29 |
|
28 |
|
30 |
# adjust a hardcoded '/usr/local' string |
|
|
31 |
post-patch: |
29 |
post-patch: |
32 |
@${ECHO_MSG} "===> Substituting hardcoded '/usr/local' paths" |
30 |
${REINPLACE_CMD} -e 's?%%PREFIX%%?${PREFIX}?g' ${WRKSRC}/tex.el |
33 |
${REINPLACE_CMD} -e 's?/usr/local?${PREFIX}?g' ${WRKSRC}/tex.el |
|
|
34 |
|
31 |
|
35 |
post-install: |
32 |
post-install: |
36 |
.if !defined(NOPORTDOCS) |
33 |
.if !defined(NOPORTDOCS) |
37 |
${MKDIR} ${PREFIX}/share/doc/auctex |
34 |
${MKDIR} ${DOCSDIR} |
38 |
.for file in CHANGES INSTALLATION README |
35 |
.for file in CHANGES INSTALLATION README |
39 |
${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/share/doc/auctex |
36 |
${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR} |
40 |
.endfor |
37 |
.endfor |
41 |
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} install-info >/dev/null |
|
|
42 |
install-info --entry='* AUC-Tex mode: (auctex). Emacs mode for editing TeX and LaTeX files.' --section='TeX' ${PREFIX}/info/auctex ${PREFIX}/info/dir |
43 |
.endif |
38 |
.endif |
44 |
@${CAT} ${PKGMESSAGE} | ${SED} 's?/usr/local?${PREFIX}?g' |
39 |
@${CAT} ${PKGMESSAGE} |
45 |
|
40 |
|
46 |
.include <bsd.port.mk> |
41 |
.include <bsd.port.mk> |