Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jan 2014 09:31:40 +0000 (UTC)
From:      Johan van Selst <johans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339411 - head/math/coq
Message-ID:  <201401110931.s0B9VeKT076884@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: johans
Date: Sat Jan 11 09:31:40 2014
New Revision: 339411
URL: http://svnweb.freebsd.org/changeset/ports/339411

Log:
  - Update coq to 8.4.3
  - Enable stage support
  - Simplify options handling

Modified:
  head/math/coq/Makefile
  head/math/coq/distinfo
  head/math/coq/pkg-plist

Modified: head/math/coq/Makefile
==============================================================================
--- head/math/coq/Makefile	Sat Jan 11 09:22:35 2014	(r339410)
+++ head/math/coq/Makefile	Sat Jan 11 09:31:40 2014	(r339411)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	coq
-PORTVERSION=	8.4.2
+PORTVERSION=	8.4.3
 PORTEPOCH=	1
 CATEGORIES=	math
 MASTER_SITES=	http://coq.inria.fr/distrib/V${COQVERSION}/files/ \
@@ -16,44 +16,29 @@ BUILD_DEPENDS=	camlp5:${PORTSDIR}/devel/
 		ocamlfind:${PORTSDIR}/devel/ocaml-findlib
 
 COQVERSION=	${PORTVERSION:R}pl${PORTVERSION:E}
+USES=		gmake
 USE_OCAML=	yes
-USE_GMAKE=	yes
 ALL_TARGET=	world
 
 HAS_CONFIGURE=	yes
-CONFIGURE_ARGS=	--prefix ${PREFIX}
-CONFIGURE_ARGS+=--mandir ${PREFIX}/man
-CONFIGURE_ARGS+=--emacslib ${PREFIX}/share/emacs/site-lisp
-CONFIGURE_ARGS+=--opt
-
-OPTIONS_DEFINE=	IDE
-OPTIONS_DEFAULT=IDE
-IDE_DESC=	Include desktop environment (coqide)
-
-MAN1=	coq-tex.1 coq_makefile.1 coqc.1 coqchk.1 coqdep.1 coqdoc.1 \
-	coqmktop.1 coqtop.1 coqtop.byte.1 coqtop.opt.1 coqwc.1 gallina.1
-
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
-USE_TEX=	latex:build dvipsk:build
-BUILD_DEPENDS+=	hevea:${PORTSDIR}/textproc/hevea \
-		${LOCALBASE}/share/texmf/tex/latex/ucs/utf8x.def:${PORTSDIR}/print/latex-ucs
-PORTDOCS=	*
-.else
-CONFIGURE_ARGS+=--with-doc none
-.endif
-
-.if ${PORT_OPTIONS:MIDE}
-BUILD_DEPENDS+=	lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2
-RUN_DEPENDS+=	${BUILD_DEPENDS}
-PLIST_SUB+=	IDE=""
-MAN1+=		coqide.1
-.else
-PLIST_SUB+=	IDE="@comment "
-CONFIGURE_ARGS+=--coqide no
-.endif
+CONFIGURE_ARGS=	--prefix ${PREFIX} \
+		--mandir ${PREFIX}/man \
+		--emacslib ${PREFIX}/share/emacs/site-lisp \
+		--opt
+MAKE_ENV=	COQINSTALLPREFIX=${DESTDIR}
+
+OPTIONS_DEFINE=		DOCS IDE
+OPTIONS_DEFAULT=	DOCS IDE
+OPTIONS_SUB=		yes
+IDE_DESC=		Include desktop environment (coqide)
+IDE_BUILD_DEPENDS=	lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2
+IDE_RUN_DEPENDS=	${IDE_BUILD_DEPENDS
+IDE_CONFIGURE_OFF=	--coqide no
+DOCS_USE=		TEX=latex:build,dvipsk:build
+DOCS_BUILD_DEPENDS=	hevea:${PORTSDIR}/textproc/hevea \
+	${LOCALBASE}/share/texmf/tex/latex/ucs/utf8x.def:${PORTSDIR}/print/latex-ucs
+DOCS_CONFIGURE_OFF=	--with-doc none
+PORTDOCS=		*
 
 .include <bsd.port.pre.mk>
 
@@ -67,6 +52,8 @@ post-patch:
 		-e '/^MAKE=/d' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's:/bin/bash:/bin/sh:' \
 		${WRKSRC}/Makefile* ${WRKSRC}/install.sh
+	@${REINPLACE_CMD} -e '/^#COQINSTALLPREFIX/{s/^#//;s|$$|$${DESTDIR}|;}' \
+		${WRKSRC}/Makefile.build
 	@${REINPLACE_CMD} -e '/show_latex_mes/s/)$$/; true)/' ${WRKSRC}/Makefile.doc
 
 .include <bsd.port.post.mk>

Modified: head/math/coq/distinfo
==============================================================================
--- head/math/coq/distinfo	Sat Jan 11 09:22:35 2014	(r339410)
+++ head/math/coq/distinfo	Sat Jan 11 09:31:40 2014	(r339411)
@@ -1,2 +1,2 @@
-SHA256 (coq-8.4pl2.tar.gz) = fb719a38f613b01861e3b251e745a5c8ef395a26ce7029668e85ac75fcbca2d8
-SIZE (coq-8.4pl2.tar.gz) = 4145112
+SHA256 (coq-8.4pl3.tar.gz) = 97583d637f981c5554007f4e99ce6420ebc737186b1d021bd71766fd891cfb38
+SIZE (coq-8.4pl3.tar.gz) = 4064579

Modified: head/math/coq/pkg-plist
==============================================================================
--- head/math/coq/pkg-plist	Sat Jan 11 09:22:35 2014	(r339410)
+++ head/math/coq/pkg-plist	Sat Jan 11 09:31:40 2014	(r339411)
@@ -823,7 +823,7 @@ lib/coq/proofs/proofview.cmi
 lib/coq/proofs/redexpr.cmi
 lib/coq/proofs/refiner.cmi
 lib/coq/proofs/tacexpr.cmi
-lib/coq/proofs/tac%%PERL_ARCH%%.cmi
+lib/coq/proofs/tacmach.cmi
 lib/coq/proofs/tactic_debug.cmi
 lib/coq/proofs/proofs.cmxa
 lib/coq/proofs/proofs.a
@@ -950,6 +950,19 @@ lib/coq/libcoqrun.a
 %%IDE%%lib/coq/ide/command_windows.cmi
 %%IDE%%lib/coq/ide/coqide_ui.cmi
 %%IDE%%lib/coq/ide/coqide.cmi
+man/man1/coq-tex.1.gz
+man/man1/coq_makefile.1.gz
+man/man1/coqc.1.gz
+man/man1/coqchk.1.gz
+man/man1/coqdep.1.gz
+man/man1/coqdoc.1.gz
+man/man1/coqide.1.gz
+man/man1/coqmktop.1.gz
+man/man1/coqtop.1.gz
+man/man1/coqtop.byte.1.gz
+man/man1/coqtop.opt.1.gz
+man/man1/coqwc.1.gz
+man/man1/gallina.1.gz
 share/emacs/site-lisp/coq-db.el
 share/emacs/site-lisp/coq-font-lock.el
 share/emacs/site-lisp/coq-syntax.el
@@ -1041,3 +1054,4 @@ share/emacs/site-lisp/coqdoc.sty
 @dirrm lib/coq/tools
 @dirrm lib/coq
 @dirrm etc/xdg/coq
+@dirrmtry etc/xdg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401110931.s0B9VeKT076884>