diff -ruN auctex.dist/Makefile auctex/Makefile --- auctex.dist/Makefile Sat Jun 19 20:20:03 2004 +++ auctex/Makefile Thu Jun 24 02:37:22 2004 @@ -7,6 +7,7 @@ PORTNAME= auctex PORTVERSION= 11.14 +PORTREVISION= 1 CATEGORIES= print elisp MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION} @@ -15,8 +16,7 @@ COMMENT= Integrated environment for writing LaTeX using GNU Emacs EMACS_PORT_NAME?= emacs21 -EMACS_NO_RUN_DEPENDS= yes -LISPDIR= ${EMACS_SITE_LISPDIR} +LISPDIR= ${EMACS_VERSION_SITE_LISPDIR} ALL_TARGET= all contrib INSTALL_TARGET= install install-contrib install-info MAKE_ARGS+= lispdir=${PREFIX}/${LISPDIR} @@ -25,6 +25,7 @@ INFO= auctex post-patch: + ${REINPLACE_CMD} -e 's?%%LISPDIR%%?${LISPDIR}?g' ${WRKSRC}/Makefile ${REINPLACE_CMD} -e 's?%%PREFIX%%?${PREFIX}?g' ${WRKSRC}/tex.el post-install: diff -ruN auctex.dist/files/patch-aa auctex/files/patch-aa --- auctex.dist/files/patch-aa Tue Apr 23 21:48:52 2002 +++ auctex/files/patch-aa Thu Jun 24 02:22:11 2004 @@ -1,6 +1,6 @@ ---- Makefile.orig Thu Jan 24 18:55:33 2002 -+++ Makefile Mon Apr 8 04:08:24 2002 -@@ -10,7 +10,7 @@ +--- Makefile.orig Sun Dec 15 11:15:42 2002 ++++ Makefile Thu Jun 24 02:16:22 2004 +@@ -10,19 +10,19 @@ ##---------------------------------------------------------------------- # Where local software is found @@ -9,7 +9,12 @@ # Where info files go. infodir = $(prefix)/info -@@ -22,7 +22,7 @@ + + # Where local lisp files go. +-lispdir = $(prefix)/share/emacs/site-lisp ++lispdir = $(prefix)/%%LISPDIR%% + + # Where the AUC TeX emacs lisp files go. aucdir=$(lispdir)/auctex # Name of your emacs binary @@ -35,7 +40,7 @@ ##---------------------------------------------------------------------- ## BELOW THIS LINE ON YOUR OWN RISK! -@@ -120,7 +123,7 @@ +@@ -121,7 +124,7 @@ # $(ELC) hilit-LaTeX.el # Doesn't compile without X install-lisp: some @@ -44,7 +49,7 @@ if [ -f $(lispdir)/tex-site.el ]; \ then \ echo "Leaving old tex-site.el alone."; \ -@@ -128,17 +131,17 @@ +@@ -129,17 +132,17 @@ sed -e 's#@AUCDIR#$(aucdir)/#' tex-site.el \ > $(lispdir)/tex-site.el ; \ fi @@ -65,8 +70,8 @@ else true; fi ; \ touch $(aucdir)/auto/.nosearch ; \ else \ -@@ -198,9 +201,9 @@ - -(cd style; auc add `echo $(STYLESRC) | sed -e s@style/@@g` ) +@@ -192,9 +195,9 @@ + < tex.el.orig > tex.el cvs commit -m 'Release_$(TAG)' cvs tag release_`echo $(TAG) | sed -e 's/[.]/_/g'` - mkdir auctex-$(TAG)