svn commit: r356395 - in head/print/auctex: . files

Hiroki Sato hrs at FreeBSD.org
Tue Jun 3 19:32:34 UTC 2014


Author: hrs
Date: Tue Jun  3 19:32:33 2014
New Revision: 356395
URL: http://svnweb.freebsd.org/changeset/ports/356395
QAT: https://qat.redports.org/buildarchive/r356395/

Log:
  - STAGEDIR support.
  - Simplify PORT_OPTIONS handling.
  - Fix pkg-plist and remove extra mktexlsr(1).
  - Fix pkg-message.

Added:
  head/print/auctex/files/pkg-message.in
     - copied, changed from r355109, head/print/auctex/pkg-message
Deleted:
  head/print/auctex/pkg-message
Modified:
  head/print/auctex/Makefile
  head/print/auctex/pkg-plist

Modified: head/print/auctex/Makefile
==============================================================================
--- head/print/auctex/Makefile	Tue Jun  3 19:31:11 2014	(r356394)
+++ head/print/auctex/Makefile	Tue Jun  3 19:32:33 2014	(r356395)
@@ -3,7 +3,7 @@
 
 PORTNAME=	auctex
 PORTVERSION=	11.87
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	print elisp
 MASTER_SITES=	${MASTER_SITE_GNU}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -14,34 +14,26 @@ COMMENT=	Integrated environment for writ
 
 LICENSE=	GPLv3
 
+NOT_FOR_ARCHS=	ia64
 USE_TEX=	latex
 USE_GHOSTSCRIPT=yes
+USE_EMACS=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-lispdir=${PREFIX}/${LISPDIR} \
 		--with-auto-dir=${PREFIX}/${LISPDIR}/auctex/auto \
 		--with-texmf-dir=${PREFIX}/${TEXMFDIR}
-.if defined(NOPORTDOCS)
-MAKE_ENV=	WITHOUT_AUCTEX_DOCSDIR=yes
-.else
+DOCS_CONFIGURE_ON=	--docdir=${DOCSDIR}
+DOCS_CONFIGURE_OFF=	WITHOUT_AUCTEX_DOCSDIR=yes
 PORTDOCS=	tex-ref.pdf
-.endif
-
-USE_EMACS=	yes
+INFO=		auctex preview-latex
 LISPDIR=	${EMACS_VERSION_SITE_LISPDIR}
-
 PLIST_SUB+=	LISPDIR=${LISPDIR} \
 		TEXMFDIR=${TEXMFDIR} \
 		MKTEXLSR=${MKTEXLSR}
-INFO=		auctex preview-latex
-
-TEXMFDIR=	share/texmf
-MKTEXLSR=	${LOCALBASE}/bin/mktexlsr
-
-NOT_FOR_ARCHS=	ia64
+SUB_FILES=	pkg-message
+PKGMESSAGE=	${WRKDIR}/pkg-message
 
-NO_STAGE=	yes
-post-install:
-	${MKTEXLSR} ${PREFIX}/${TEXMFDIR}
-	@${CAT} ${PKGMESSAGE}
+OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFAULT=DOCS
 
 .include <bsd.port.mk>

Copied and modified: head/print/auctex/files/pkg-message.in (from r355109, head/print/auctex/pkg-message)
==============================================================================
--- head/print/auctex/pkg-message	Sun May 25 04:09:13 2014	(r355109, copy source)
+++ head/print/auctex/files/pkg-message.in	Tue Jun  3 19:32:33 2014	(r356395)
@@ -1,10 +1,9 @@
-
 Customizing
 ===========
-   Next, you should edit the file
-`${PREFIX}/share/emacs/site-lisp/tex-site.el' to fit your local site.
+   You should edit the file
+`%%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 `${PREFIX}/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

Modified: head/print/auctex/pkg-plist
==============================================================================
--- head/print/auctex/pkg-plist	Tue Jun  3 19:31:11 2014	(r356394)
+++ head/print/auctex/pkg-plist	Tue Jun  3 19:32:33 2014	(r356395)
@@ -321,7 +321,7 @@
 %%TEXMFDIR%%/tex/latex/preview/prshowlabels.def
 %%TEXMFDIR%%/tex/latex/preview/prtightpage.def
 %%TEXMFDIR%%/tex/latex/preview/prtracingall.def
+ at dirrmtry %%TEXMFDIR%%/tex/latex/preview
 %%TEXMFDIR%%/doc/latex/styles/preview.dvi
- at dirrm %%TEXMFDIR%%/doc/latex/styles
- at exec %%MKTEXLSR%% %D/%%TEXMFDIR%%
- at unexec %%MKTEXLSR%% %D/%%TEXMFDIR%%
+ at dirrmtry %%TEXMFDIR%%/doc/latex/styles
+ at dirrmtry %%TEXMFDIR%%/doc/latex


More information about the svn-ports-head mailing list