View | Details | Raw Unified | Return to bug 67043
Collapse All | Expand All

(-)auctex/Makefile (-14 / +9 lines)
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>
(-)auctex/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (auctex-11.13.tar.gz) = 6abe89698b9f03bfbd8745794c06d4b6
1
MD5 (auctex-11.14.tar.gz) = 8b0dd6adedfd3c84f94e30b07011f0c9
2
SIZE (auctex-11.13.tar.gz) = 294261
2
SIZE (auctex-11.14.tar.gz) = 296045
(-)auctex/files/patch-ab (-1 / +1 lines)
Lines 5-11 Link Here
5
 ;; Change this to point to the place where the TeX macros are stored
5
 ;; Change this to point to the place where the TeX macros are stored
6
 ;; at yourt site.
6
 ;; at yourt site.
7
-(defcustom TeX-macro-global '("/usr/local/lib/texmf/tex/")
7
-(defcustom TeX-macro-global '("/usr/local/lib/texmf/tex/")
8
+(defcustom TeX-macro-global '("/usr/local/share/texmf/tex/")
8
+(defcustom TeX-macro-global '("%%PREFIX%%/share/texmf/tex/")
9
   "Directories containing the sites TeX macro files and style files.
9
   "Directories containing the sites TeX macro files and style files.
10
 The directory names *must* end with a slash."
10
 The directory names *must* end with a slash."
11
   :group 'TeX-file
11
   :group 'TeX-file
(-)auctex/files/patch-ac (+46 lines)
Line 0 Link Here
1
--- doc/Makefile.dist	Sun Dec 15 11:15:43 2002
2
+++ doc/Makefile	Sat May 22 22:32:39 2004
3
@@ -1,10 +1,9 @@
4
-
5
-infodir=/usr/local/info
6
+MKDIR=mkdir -p -m 0755
7
 TEX=tex
8
 
9
-all: auc-tex.dvi tex-ref.dvi math-ref.dvi auctex
10
+all: auc-tex.dvi tex-ref.dvi math-ref.dvi auctex.info
11
 
12
-dist: auctex INSTALLATION README CHANGES auc-tex_toc.html auc-tex.ps
13
+dist: auctex.info INSTALLATION README CHANGES auc-tex_toc.html auc-tex.ps
14
 
15
 auc-tex_toc.html: auc-tex.texi
16
 	texi2html -split_node auc-tex.texi
17
@@ -38,8 +37,8 @@
18
 auc-tex.ps: auc-tex.dvi
19
 	dvips auc-tex.dvi -o auc-tex.ps
20
 
21
-auctex: auc-tex.texi install.texi intro.texi changes.texi
22
-	-makeinfo auc-tex.texi
23
+auctex.info: auc-tex.texi install.texi intro.texi changes.texi
24
+	-makeinfo --no-split auc-tex.texi
25
 	@echo "**********************************************************"
26
 	@echo "** If this gave trouble, maybe you need to install"
27
 	@echo "** a newer version of texinfo?"
28
@@ -57,14 +56,10 @@
29
 HISTORY: history.texi
30
 	-makeinfo --no-headers history.texi --output HISTORY
31
 
32
-install: auctex
33
-	-mkdir -p $(infodir)
34
-	cp auctex auctex-* $(infodir)
35
-	@echo "**********************************************************"
36
-	@echo "** The \`auctex' info files are now installed."
37
-	@echo "** Edit \`$(infodir)/dir'"
38
-	@echo "** to add an entry for file \`auctex'"
39
-	@echo "**********************************************************"
40
+install: auctex.info
41
+	$(MKDIR) $(infodir)
42
+	$(BSD_INSTALL_DATA) auctex.info $(infodir)
43
+	install-info $(infodir)/auctex.info $(infodir)/dir
44
 
45
 clean: allways
46
 	rm -f *.dvi *.ps *.aux *.cp *.fn *.info *.ky *.log *~ \#*\# *.tp *.vr *.pg *.toc *.tp *.bak *.cps *.kys *.tps *.fns *.vrs *.pgs auctex auctex-? *.html INSTALLATION README CHANGES
(-)auctex/files/patch-ad (+11 lines)
Line 0 Link Here
1
--- doc/auc-tex.texi.dist	Sun Dec 15 11:15:43 2002
2
+++ doc/auc-tex.texi	Sat May 22 22:13:03 2004
3
@@ -1,6 +1,7 @@
4
 \input texinfo
5
-@setfilename auctex
6
+@setfilename auctex.info
7
 @settitle AUC TeX
8
+@dircategory TeX
9
 @direntry
10
 * AUCTeX: (auctex).      A much enhanced LaTeX mode for GNU Emacs.
11
 @end direntry
(-)auctex/pkg-message (-2 / +2 lines)
Lines 2-10 Link Here
2
Customizing
2
Customizing
3
===========
3
===========
4
   Next, you should edit the file
4
   Next, you should edit the file
5
`/usr/local/share/emacs/site-lisp/tex-site.el' to fit your local site.
5
`${PREFIX}/share/emacs/site-lisp/tex-site.el' to fit your local site.
6
You do this by looking at the customization section in the beginning
6
You do this by looking at the customization section in the beginning
7
of `/usr/local/share/emacs/site-lisp/auctex/tex.el' and copy the
7
of `${PREFIX}/share/emacs/site-lisp/auctex/tex.el' and copy the
8
definitions that are wrong for your site to `tex-site.el'.  Do *not*
8
definitions that are wrong for your site to `tex-site.el'.  Do *not*
9
edit `tex.el' directly, or you will have to do all the work over again
9
edit `tex.el' directly, or you will have to do all the work over again
10
when you upgrade AUC TeX.  AUC TeX will not overwrite your old
10
when you upgrade AUC TeX.  AUC TeX will not overwrite your old
(-)auctex/pkg-plist (-10 / +4 lines)
Lines 1-13 Link Here
1
@unexec install-info --delete --entry='* AUC-Tex mode: (auctex).	Emacs mode for editing TeX and LaTeX files.' --section='TeX' %D/info/auctex %D/info/dir
1
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
2
info/auctex
2
%%PORTDOCS%%%%DOCSDIR%%/INSTALLATION
3
info/auctex-1
3
%%PORTDOCS%%%%DOCSDIR%%/README
4
info/auctex-2
4
%%PORTDOCS%%@dirrm %%DOCSDIR%%
5
info/auctex-3
6
@exec install-info --entry='* AUC-Tex mode: (auctex).	Emacs mode for editing TeX and LaTeX files.' --section='TeX' %D/info/auctex %D/info/dir
7
share/doc/auctex/CHANGES
8
share/doc/auctex/INSTALLATION
9
share/doc/auctex/README
10
@dirrm share/doc/auctex
11
%%LISPDIR%%/tex-site.el
5
%%LISPDIR%%/tex-site.el
12
%%LISPDIR%%/auctex/auc-old.el
6
%%LISPDIR%%/auctex/auc-old.el
13
%%LISPDIR%%/auctex/auc-old.elc
7
%%LISPDIR%%/auctex/auc-old.elc

Return to bug 67043