ports/67043: [PATCH] print/auctex: New version 11.14, and so on

KIMURA Yasuhiro yasu at utahime.org
Sat May 22 14:41:13 UTC 2004


>Number:         67043
>Category:       ports
>Synopsis:       [PATCH] print/auctex: New version 11.14, and so on
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 22 07:40:15 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     KIMURA Yasuhiro
>Release:        FreeBSD 4.9-RELEASE-p8 i386
>Organization:
>Environment:
System: FreeBSD eastasia.home.utahime.org 4.9-RELEASE-p8 FreeBSD 4.9-RELEASE-p8 #0: Wed May 19 18:48:57 JST 2004 root at eastasia.home.utahime.org:/usr/obj/usr1/cvsup/releng_4_9/src/sys/EASTASIA i386


	
>Description:
	* Update to new upstream version 11.14.
	* Reflect the change of MASTER_SITES.
	* Fix some of portlint warnings.
>How-To-Repeat:
	
>Fix:

	

--- auctex.patch begins here ---
diff -ruN auctex.dist/Makefile auctex/Makefile
--- auctex.dist/Makefile	Sat Oct  4 05:48:40 2003
+++ auctex/Makefile	Sat May 22 23:22:03 2004
@@ -6,12 +6,10 @@
 #
 
 PORTNAME=		auctex
-PORTVERSION=		11.13
+PORTVERSION=		11.14
 CATEGORIES=		print elisp
-MASTER_SITES=		${MASTER_SITE_SAVANNAH} \
-			http://wuarchive.wustl.edu/mirrors/gnu/auctex/ \
-			http://mirror.telentente.com/pub/gnu/auctex/
-MASTER_SITE_SUBDIR=	${PORTNAME}/stable.pkg/${PORTVERSION}
+MASTER_SITES=		${MASTER_SITE_GNU}
+MASTER_SITE_SUBDIR=	${PORTNAME}/${PORTVERSION}
 
 MAINTAINER=		ports at FreeBSD.org
 COMMENT=	Integrated environment for writing LaTeX using GNU Emacs
@@ -22,25 +20,22 @@
 EMACS_NO_RUN_DEPENDS=	yes
 LISPDIR=	${EMACS_SITE_LISPDIR}
 ALL_TARGET=	all contrib
-INSTALL_TARGET=	install install-contrib
+INSTALL_TARGET=	install install-contrib install-info
 MAKE_ARGS+=	lispdir=${PREFIX}/${LISPDIR}
 PLIST_SUB+=	LISPDIR=${LISPDIR}
 USE_REINPLACE=	yes
+INFO=		auctex
 
-# adjust a hardcoded '/usr/local' string
 post-patch:
-	@${ECHO_MSG} "===>  Substituting hardcoded '/usr/local' paths"
-	${REINPLACE_CMD} -e 's?/usr/local?${PREFIX}?g' ${WRKSRC}/tex.el
+	${REINPLACE_CMD} -e 's?%%PREFIX%%?${PREFIX}?g' ${WRKSRC}/tex.el
 
 post-install:
 .if !defined(NOPORTDOCS)
-	${MKDIR} ${PREFIX}/share/doc/auctex
+	${MKDIR} ${DOCSDIR}
 .for file in CHANGES INSTALLATION README
-	${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/share/doc/auctex
+	${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
 .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
-	@${CAT} ${PKGMESSAGE} | ${SED} 's?/usr/local?${PREFIX}?g'
+	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
diff -ruN auctex.dist/distinfo auctex/distinfo
--- auctex.dist/distinfo	Fri Jan 30 09:12:09 2004
+++ auctex/distinfo	Sun May 16 21:40:09 2004
@@ -1,2 +1,2 @@
-MD5 (auctex-11.13.tar.gz) = 6abe89698b9f03bfbd8745794c06d4b6
-SIZE (auctex-11.13.tar.gz) = 294261
+MD5 (auctex-11.14.tar.gz) = 8b0dd6adedfd3c84f94e30b07011f0c9
+SIZE (auctex-11.14.tar.gz) = 296045
diff -ruN auctex.dist/files/patch-ab auctex/files/patch-ab
--- auctex.dist/files/patch-ab	Wed Dec 29 16:21:35 1999
+++ auctex/files/patch-ab	Sat May 22 23:19:39 2004
@@ -5,7 +5,7 @@
  ;; Change this to point to the place where the TeX macros are stored
  ;; at yourt site.
 -(defcustom TeX-macro-global '("/usr/local/lib/texmf/tex/")
-+(defcustom TeX-macro-global '("/usr/local/share/texmf/tex/")
++(defcustom TeX-macro-global '("%%PREFIX%%/share/texmf/tex/")
    "Directories containing the sites TeX macro files and style files.
  The directory names *must* end with a slash."
    :group 'TeX-file
diff -ruN auctex.dist/files/patch-ac auctex/files/patch-ac
--- auctex.dist/files/patch-ac	Thu Jan  1 09:00:00 1970
+++ auctex/files/patch-ac	Sat May 22 22:33:30 2004
@@ -0,0 +1,46 @@
+--- doc/Makefile.dist	Sun Dec 15 11:15:43 2002
++++ doc/Makefile	Sat May 22 22:32:39 2004
+@@ -1,10 +1,9 @@
+-
+-infodir=/usr/local/info
++MKDIR=mkdir -p -m 0755
+ TEX=tex
+ 
+-all: auc-tex.dvi tex-ref.dvi math-ref.dvi auctex
++all: auc-tex.dvi tex-ref.dvi math-ref.dvi auctex.info
+ 
+-dist: auctex INSTALLATION README CHANGES auc-tex_toc.html auc-tex.ps
++dist: auctex.info INSTALLATION README CHANGES auc-tex_toc.html auc-tex.ps
+ 
+ auc-tex_toc.html: auc-tex.texi
+ 	texi2html -split_node auc-tex.texi
+@@ -38,8 +37,8 @@
+ auc-tex.ps: auc-tex.dvi
+ 	dvips auc-tex.dvi -o auc-tex.ps
+ 
+-auctex: auc-tex.texi install.texi intro.texi changes.texi
+-	-makeinfo auc-tex.texi
++auctex.info: auc-tex.texi install.texi intro.texi changes.texi
++	-makeinfo --no-split auc-tex.texi
+ 	@echo "**********************************************************"
+ 	@echo "** If this gave trouble, maybe you need to install"
+ 	@echo "** a newer version of texinfo?"
+@@ -57,14 +56,10 @@
+ HISTORY: history.texi
+ 	-makeinfo --no-headers history.texi --output HISTORY
+ 
+-install: auctex
+-	-mkdir -p $(infodir)
+-	cp auctex auctex-* $(infodir)
+-	@echo "**********************************************************"
+-	@echo "** The \`auctex' info files are now installed."
+-	@echo "** Edit \`$(infodir)/dir'"
+-	@echo "** to add an entry for file \`auctex'"
+-	@echo "**********************************************************"
++install: auctex.info
++	$(MKDIR) $(infodir)
++	$(BSD_INSTALL_DATA) auctex.info $(infodir)
++	install-info $(infodir)/auctex.info $(infodir)/dir
+ 
+ clean: allways
+ 	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
diff -ruN auctex.dist/files/patch-ad auctex/files/patch-ad
--- auctex.dist/files/patch-ad	Thu Jan  1 09:00:00 1970
+++ auctex/files/patch-ad	Sat May 22 22:34:01 2004
@@ -0,0 +1,11 @@
+--- doc/auc-tex.texi.dist	Sun Dec 15 11:15:43 2002
++++ doc/auc-tex.texi	Sat May 22 22:13:03 2004
+@@ -1,6 +1,7 @@
+ \input texinfo
+- at setfilename auctex
++ at setfilename auctex.info
+ @settitle AUC TeX
++ at dircategory TeX
+ @direntry
+ * AUCTeX: (auctex).      A much enhanced LaTeX mode for GNU Emacs.
+ @end direntry
diff -ruN auctex.dist/pkg-message auctex/pkg-message
--- auctex.dist/pkg-message	Wed Dec 29 16:21:37 1999
+++ auctex/pkg-message	Sat May 22 23:04:06 2004
@@ -2,9 +2,9 @@
 Customizing
 ===========
    Next, you should edit the file
-`/usr/local/share/emacs/site-lisp/tex-site.el' to fit your local site.
+`${PREFIX}/share/emacs/site-lisp/tex-site.el' to fit your local site.
 You do this by looking at the customization section in the beginning
-of `/usr/local/share/emacs/site-lisp/auctex/tex.el' and copy the
+of `${PREFIX}/share/emacs/site-lisp/auctex/tex.el' and copy the
 definitions that are wrong for your site to `tex-site.el'.  Do *not*
 edit `tex.el' directly, or you will have to do all the work over again
 when you upgrade AUC TeX.  AUC TeX will not overwrite your old
diff -ruN auctex.dist/pkg-plist auctex/pkg-plist
--- auctex.dist/pkg-plist	Wed Jan  8 17:36:15 2003
+++ auctex/pkg-plist	Sat May 22 22:29:40 2004
@@ -1,13 +1,7 @@
- at 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
-info/auctex
-info/auctex-1
-info/auctex-2
-info/auctex-3
- at exec install-info --entry='* AUC-Tex mode: (auctex).	Emacs mode for editing TeX and LaTeX files.' --section='TeX' %D/info/auctex %D/info/dir
-share/doc/auctex/CHANGES
-share/doc/auctex/INSTALLATION
-share/doc/auctex/README
- at dirrm share/doc/auctex
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/INSTALLATION
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
 %%LISPDIR%%/tex-site.el
 %%LISPDIR%%/auctex/auc-old.el
 %%LISPDIR%%/auctex/auc-old.elc
--- auctex.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list