aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-11-09 05:57:29 +0800
committerpav <pav@FreeBSD.org>2004-11-09 05:57:29 +0800
commit8316b190d700d0b81b6f9f8ca5d2f103286f7f53 (patch)
treefd65e3a1138334faa4390d070ee0f37a06ab20e0 /math
parentd207b1567161048a0674c4124127561407d5f987 (diff)
downloadfreebsd-ports-gnome-8316b190d700d0b81b6f9f8ca5d2f103286f7f53.tar.gz
freebsd-ports-gnome-8316b190d700d0b81b6f9f8ca5d2f103286f7f53.tar.zst
freebsd-ports-gnome-8316b190d700d0b81b6f9f8ca5d2f103286f7f53.zip
- Add optional CoqIde support (depends on lablgtk2)
- Correct PORTVERSION to match actual source version - Cosmetics PR: ports/73634 Submitted by: Rene Ladan <r.c.ladan@student.tue.nl> (maintainer)
Diffstat (limited to 'math')
-rw-r--r--math/coq/Makefile23
-rw-r--r--math/coq/pkg-descr2
-rw-r--r--math/coq/pkg-plist102
3 files changed, 69 insertions, 58 deletions
diff --git a/math/coq/Makefile b/math/coq/Makefile
index 4219e9197363..268a82c490a3 100644
--- a/math/coq/Makefile
+++ b/math/coq/Makefile
@@ -6,13 +6,13 @@
#
PORTNAME= coq
-PORTVERSION= 8.0
+PORTVERSION= 8.0p1
CATEGORIES= math
MASTER_SITES= ftp://ftp.inria.fr/INRIA/coq/V8.0pl1/
DISTNAME= coq-8.0pl1
PATCH_SITES= ${MASTER_SITES}
-#Ports has Ocaml 3.08.1 :
+#only for Ocaml 3.08.1 :
PATCHFILES= patch-coq-8.0pl1-ocaml-3.08.1
MAINTAINER= r.c.ladan@student.tue.nl
@@ -29,11 +29,20 @@ CONFIGURE_ARGS+= --reals all
CONFIGURE_ARGS+= --opt
ALL_TARGET= world
-#no lablgl2 in ports yet
-MAN1= coq-interface.1 coq-tex.1 coq_makefile.1 coqc.1 coqdep.1 \
- coqdoc.1 coqmktop.1 coqtop.1 coqtop.byte.1 coqtop.opt.1 \
- coqwc.1 parser.1 gallina.1
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/bin/lablgtk2)
+BUILD_DEPENDS+= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2
+RUN_DEPENDS+= ${BUILD_DEPENDS}
+PLIST_SUB+= IDE=""
+.else
+PLIST_SUB+= IDE="@comment "
+.endif
+
+MAN1= coq-interface.1 coq-tex.1 coq_makefile.1 coqc.1 coqdep.1 coqdoc.1 \
+ coqmktop.1 coqtop.1 coqtop.byte.1 coqtop.opt.1 coqwc.1 gallina.1 \
+ parser.1
post-install:
.if !defined(NOPORTDOCS)
@@ -43,4 +52,4 @@ post-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/math/coq/pkg-descr b/math/coq/pkg-descr
index affc11f587fe..a883d5b445d8 100644
--- a/math/coq/pkg-descr
+++ b/math/coq/pkg-descr
@@ -17,7 +17,7 @@ theories.
Coq is distributed under the GNU Lesser General Public Licence
Version 2.1 (LGPL).
-CoqIde is not yet available in this port.
+CoqIde is installed if the x11-toolkits/ocaml-lablgtk2 port is installed.
Author: Rene Ladan <r.c.ladan@student.tue.nl>
WWW: http://coq.inria.fr/
diff --git a/math/coq/pkg-plist b/math/coq/pkg-plist
index 759bf9ca6b78..23e1dbfe84ad 100644
--- a/math/coq/pkg-plist
+++ b/math/coq/pkg-plist
@@ -1,4 +1,3 @@
-@comment $FreeBSD$
bin/coq-interface
bin/coq-interface.opt
bin/coq-tex
@@ -6,6 +5,9 @@ bin/coq_makefile
bin/coqc
bin/coqdep
bin/coqdoc
+%%IDE%%bin/coqide
+%%IDE%%bin/coqide.byte
+%%IDE%%bin/coqide.opt
bin/coqmktop
bin/coqtop
bin/coqtop.byte
@@ -15,15 +17,20 @@ bin/gallina
bin/parser
bin/parser.opt
lib/coq/contrib/cc/CCSolve.vo
+@dirrm lib/coq/contrib/cc
lib/coq/contrib/field/Field.vo
lib/coq/contrib/field/Field_Compl.vo
lib/coq/contrib/field/Field_Tactic.vo
lib/coq/contrib/field/Field_Theory.vo
+@dirrm lib/coq/contrib/field
lib/coq/contrib/fourier/Fourier.vo
lib/coq/contrib/fourier/Fourier_util.vo
+@dirrm lib/coq/contrib/fourier
lib/coq/contrib/interface/vernacrc
+@dirrm lib/coq/contrib/interface
lib/coq/contrib/omega/Omega.vo
lib/coq/contrib/omega/OmegaLemmas.vo
+@dirrm lib/coq/contrib/omega
lib/coq/contrib/ring/ArithRing.vo
lib/coq/contrib/ring/NArithRing.vo
lib/coq/contrib/ring/Quote.vo
@@ -35,17 +42,24 @@ lib/coq/contrib/ring/Setoid_ring.vo
lib/coq/contrib/ring/Setoid_ring_normalize.vo
lib/coq/contrib/ring/Setoid_ring_theory.vo
lib/coq/contrib/ring/ZArithRing.vo
+@dirrm lib/coq/contrib/ring
lib/coq/contrib/romega/ROmega.vo
lib/coq/contrib/romega/ReflOmegaCore.vo
+@dirrm lib/coq/contrib/romega
+@dirrm lib/coq/contrib
lib/coq/contrib7/cc/CCSolve.vo
+@dirrm lib/coq/contrib7/cc
lib/coq/contrib7/field/Field.vo
lib/coq/contrib7/field/Field_Compl.vo
lib/coq/contrib7/field/Field_Tactic.vo
lib/coq/contrib7/field/Field_Theory.vo
+@dirrm lib/coq/contrib7/field
lib/coq/contrib7/fourier/Fourier.vo
lib/coq/contrib7/fourier/Fourier_util.vo
+@dirrm lib/coq/contrib7/fourier
lib/coq/contrib7/omega/Omega.vo
lib/coq/contrib7/omega/OmegaLemmas.vo
+@dirrm lib/coq/contrib7/omega
lib/coq/contrib7/ring/ArithRing.vo
lib/coq/contrib7/ring/NArithRing.vo
lib/coq/contrib7/ring/Quote.vo
@@ -57,16 +71,22 @@ lib/coq/contrib7/ring/Setoid_ring.vo
lib/coq/contrib7/ring/Setoid_ring_normalize.vo
lib/coq/contrib7/ring/Setoid_ring_theory.vo
lib/coq/contrib7/ring/ZArithRing.vo
+@dirrm lib/coq/contrib7/ring
lib/coq/contrib7/romega/ROmega.vo
lib/coq/contrib7/romega/ReflOmegaCore.vo
+@dirrm lib/coq/contrib7/romega
+@dirrm lib/coq/contrib7
lib/coq/ide/.coqide-gtk2rc
lib/coq/ide/FAQ
lib/coq/ide/coq.png
lib/coq/ide/utf8.v
lib/coq/ide/utf8.vo
+@dirrm lib/coq/ide
lib/coq/states/initial.coq
+@dirrm lib/coq/states
lib/coq/states7/barestate.coq
lib/coq/states7/initial.coq
+@dirrm lib/coq/states7
lib/coq/theories/Arith/Arith.vo
lib/coq/theories/Arith/Between.vo
lib/coq/theories/Arith/Bool_nat.vo
@@ -87,6 +107,7 @@ lib/coq/theories/Arith/Mult.vo
lib/coq/theories/Arith/Peano_dec.vo
lib/coq/theories/Arith/Plus.vo
lib/coq/theories/Arith/Wf_nat.vo
+@dirrm lib/coq/theories/Arith
lib/coq/theories/Bool/Bool.vo
lib/coq/theories/Bool/BoolEq.vo
lib/coq/theories/Bool/Bvector.vo
@@ -94,6 +115,7 @@ lib/coq/theories/Bool/DecBool.vo
lib/coq/theories/Bool/IfProp.vo
lib/coq/theories/Bool/Sumbool.vo
lib/coq/theories/Bool/Zerob.vo
+@dirrm lib/coq/theories/Bool
lib/coq/theories/Init/Datatypes.vo
lib/coq/theories/Init/Logic.vo
lib/coq/theories/Init/Logic_Type.vo
@@ -102,6 +124,7 @@ lib/coq/theories/Init/Peano.vo
lib/coq/theories/Init/Prelude.vo
lib/coq/theories/Init/Specif.vo
lib/coq/theories/Init/Wf.vo
+@dirrm lib/coq/theories/Init
lib/coq/theories/IntMap/Adalloc.vo
lib/coq/theories/IntMap/Addec.vo
lib/coq/theories/IntMap/Addr.vo
@@ -118,11 +141,13 @@ lib/coq/theories/IntMap/Mapfold.vo
lib/coq/theories/IntMap/Mapiter.vo
lib/coq/theories/IntMap/Maplists.vo
lib/coq/theories/IntMap/Mapsubset.vo
+@dirrm lib/coq/theories/IntMap
lib/coq/theories/Lists/List.vo
lib/coq/theories/Lists/ListSet.vo
lib/coq/theories/Lists/MonoList.vo
lib/coq/theories/Lists/Streams.vo
lib/coq/theories/Lists/TheoryList.vo
+@dirrm lib/coq/theories/Lists
lib/coq/theories/Logic/Berardi.vo
lib/coq/theories/Logic/ChoiceFacts.vo
lib/coq/theories/Logic/Classical.vo
@@ -141,10 +166,12 @@ lib/coq/theories/Logic/Hurkens.vo
lib/coq/theories/Logic/JMeq.vo
lib/coq/theories/Logic/ProofIrrelevance.vo
lib/coq/theories/Logic/RelationalChoice.vo
+@dirrm lib/coq/theories/Logic
lib/coq/theories/NArith/BinNat.vo
lib/coq/theories/NArith/BinPos.vo
lib/coq/theories/NArith/NArith.vo
lib/coq/theories/NArith/Pnat.vo
+@dirrm lib/coq/theories/NArith
lib/coq/theories/Reals/Alembert.vo
lib/coq/theories/Reals/AltSeries.vo
lib/coq/theories/Reals/ArithProp.vo
@@ -198,13 +225,16 @@ lib/coq/theories/Reals/SeqSeries.vo
lib/coq/theories/Reals/SplitAbsolu.vo
lib/coq/theories/Reals/SplitRmult.vo
lib/coq/theories/Reals/Sqrt_reg.vo
+@dirrm lib/coq/theories/Reals
lib/coq/theories/Relations/Newman.vo
lib/coq/theories/Relations/Operators_Properties.vo
lib/coq/theories/Relations/Relation_Definitions.vo
lib/coq/theories/Relations/Relation_Operators.vo
lib/coq/theories/Relations/Relations.vo
lib/coq/theories/Relations/Rstar.vo
+@dirrm lib/coq/theories/Relations
lib/coq/theories/Setoids/Setoid.vo
+@dirrm lib/coq/theories/Setoids
lib/coq/theories/Sets/Classical_sets.vo
lib/coq/theories/Sets/Constructive_sets.vo
lib/coq/theories/Sets/Cpo.vo
@@ -227,9 +257,11 @@ lib/coq/theories/Sets/Relations_2_facts.vo
lib/coq/theories/Sets/Relations_3.vo
lib/coq/theories/Sets/Relations_3_facts.vo
lib/coq/theories/Sets/Uniset.vo
+@dirrm lib/coq/theories/Sets
lib/coq/theories/Sorting/Heap.vo
lib/coq/theories/Sorting/Permutation.vo
lib/coq/theories/Sorting/Sorting.vo
+@dirrm lib/coq/theories/Sorting
lib/coq/theories/Wellfounded/Disjoint_Union.vo
lib/coq/theories/Wellfounded/Inclusion.vo
lib/coq/theories/Wellfounded/Inverse_Image.vo
@@ -239,6 +271,7 @@ lib/coq/theories/Wellfounded/Transitive_Closure.vo
lib/coq/theories/Wellfounded/Union.vo
lib/coq/theories/Wellfounded/Well_Ordering.vo
lib/coq/theories/Wellfounded/Wellfounded.vo
+@dirrm lib/coq/theories/Wellfounded
lib/coq/theories/ZArith/BinInt.vo
lib/coq/theories/ZArith/Wf_Z.vo
lib/coq/theories/ZArith/ZArith.vo
@@ -262,6 +295,8 @@ lib/coq/theories/ZArith/Zpower.vo
lib/coq/theories/ZArith/Zsqrt.vo
lib/coq/theories/ZArith/Zwf.vo
lib/coq/theories/ZArith/auxiliary.vo
+@dirrm lib/coq/theories/ZArith
+@dirrm lib/coq/theories
lib/coq/theories7/Arith/Arith.vo
lib/coq/theories7/Arith/Between.vo
lib/coq/theories7/Arith/Bool_nat.vo
@@ -282,6 +317,7 @@ lib/coq/theories7/Arith/Mult.vo
lib/coq/theories7/Arith/Peano_dec.vo
lib/coq/theories7/Arith/Plus.vo
lib/coq/theories7/Arith/Wf_nat.vo
+@dirrm lib/coq/theories7/Arith
lib/coq/theories7/Bool/Bool.vo
lib/coq/theories7/Bool/BoolEq.vo
lib/coq/theories7/Bool/Bvector.vo
@@ -289,6 +325,7 @@ lib/coq/theories7/Bool/DecBool.vo
lib/coq/theories7/Bool/IfProp.vo
lib/coq/theories7/Bool/Sumbool.vo
lib/coq/theories7/Bool/Zerob.vo
+@dirrm lib/coq/theories7/Bool
lib/coq/theories7/Init/Datatypes.vo
lib/coq/theories7/Init/Logic.vo
lib/coq/theories7/Init/Logic_Type.vo
@@ -297,6 +334,7 @@ lib/coq/theories7/Init/Peano.vo
lib/coq/theories7/Init/Prelude.vo
lib/coq/theories7/Init/Specif.vo
lib/coq/theories7/Init/Wf.vo
+@dirrm lib/coq/theories7/Init
lib/coq/theories7/IntMap/Adalloc.vo
lib/coq/theories7/IntMap/Addec.vo
lib/coq/theories7/IntMap/Addr.vo
@@ -313,6 +351,7 @@ lib/coq/theories7/IntMap/Mapfold.vo
lib/coq/theories7/IntMap/Mapiter.vo
lib/coq/theories7/IntMap/Maplists.vo
lib/coq/theories7/IntMap/Mapsubset.vo
+@dirrm lib/coq/theories7/IntMap
lib/coq/theories7/Lists/List.vo
lib/coq/theories7/Lists/ListSet.vo
lib/coq/theories7/Lists/MonoList.vo
@@ -320,6 +359,7 @@ lib/coq/theories7/Lists/PolyList.vo
lib/coq/theories7/Lists/PolyListSyntax.vo
lib/coq/theories7/Lists/Streams.vo
lib/coq/theories7/Lists/TheoryList.vo
+@dirrm lib/coq/theories7/Lists
lib/coq/theories7/Logic/Berardi.vo
lib/coq/theories7/Logic/ChoiceFacts.vo
lib/coq/theories7/Logic/Classical.vo
@@ -338,10 +378,12 @@ lib/coq/theories7/Logic/Hurkens.vo
lib/coq/theories7/Logic/JMeq.vo
lib/coq/theories7/Logic/ProofIrrelevance.vo
lib/coq/theories7/Logic/RelationalChoice.vo
+@dirrm lib/coq/theories7/Logic
lib/coq/theories7/NArith/BinNat.vo
lib/coq/theories7/NArith/BinPos.vo
lib/coq/theories7/NArith/NArith.vo
lib/coq/theories7/NArith/Pnat.vo
+@dirrm lib/coq/theories7/NArith
lib/coq/theories7/Reals/Alembert.vo
lib/coq/theories7/Reals/AltSeries.vo
lib/coq/theories7/Reals/ArithProp.vo
@@ -396,13 +438,16 @@ lib/coq/theories7/Reals/SeqSeries.vo
lib/coq/theories7/Reals/SplitAbsolu.vo
lib/coq/theories7/Reals/SplitRmult.vo
lib/coq/theories7/Reals/Sqrt_reg.vo
+@dirrm lib/coq/theories7/Reals
lib/coq/theories7/Relations/Newman.vo
lib/coq/theories7/Relations/Operators_Properties.vo
lib/coq/theories7/Relations/Relation_Definitions.vo
lib/coq/theories7/Relations/Relation_Operators.vo
lib/coq/theories7/Relations/Relations.vo
lib/coq/theories7/Relations/Rstar.vo
+@dirrm lib/coq/theories7/Relations
lib/coq/theories7/Setoids/Setoid.vo
+@dirrm lib/coq/theories7/Setoids
lib/coq/theories7/Sets/Classical_sets.vo
lib/coq/theories7/Sets/Constructive_sets.vo
lib/coq/theories7/Sets/Cpo.vo
@@ -425,9 +470,11 @@ lib/coq/theories7/Sets/Relations_2_facts.vo
lib/coq/theories7/Sets/Relations_3.vo
lib/coq/theories7/Sets/Relations_3_facts.vo
lib/coq/theories7/Sets/Uniset.vo
+@dirrm lib/coq/theories7/Sets
lib/coq/theories7/Sorting/Heap.vo
lib/coq/theories7/Sorting/Permutation.vo
lib/coq/theories7/Sorting/Sorting.vo
+@dirrm lib/coq/theories7/Sorting
lib/coq/theories7/Wellfounded/Disjoint_Union.vo
lib/coq/theories7/Wellfounded/Inclusion.vo
lib/coq/theories7/Wellfounded/Inverse_Image.vo
@@ -437,6 +484,7 @@ lib/coq/theories7/Wellfounded/Transitive_Closure.vo
lib/coq/theories7/Wellfounded/Union.vo
lib/coq/theories7/Wellfounded/Well_Ordering.vo
lib/coq/theories7/Wellfounded/Wellfounded.vo
+@dirrm lib/coq/theories7/Wellfounded
lib/coq/theories7/ZArith/BinInt.vo
lib/coq/theories7/ZArith/Wf_Z.vo
lib/coq/theories7/ZArith/ZArith.vo
@@ -463,6 +511,9 @@ lib/coq/theories7/ZArith/Zwf.vo
lib/coq/theories7/ZArith/auxiliary.vo
lib/coq/theories7/ZArith/fast_integer.vo
lib/coq/theories7/ZArith/zarith_aux.vo
+@dirrm lib/coq/theories7/ZArith
+@dirrm lib/coq/theories7
+@dirrm lib/coq
share/emacs/site-lisp/coq-inferior.el
share/emacs/site-lisp/coq.el
share/texmf/tex/latex/misc/coqdoc.sty
@@ -473,52 +524,3 @@ share/texmf/tex/latex/misc/coqdoc.sty
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm lib/coq/contrib/cc
-@dirrm lib/coq/contrib/field
-@dirrm lib/coq/contrib/fourier
-@dirrm lib/coq/contrib/interface
-@dirrm lib/coq/contrib/omega
-@dirrm lib/coq/contrib/ring
-@dirrm lib/coq/contrib/romega
-@dirrm lib/coq/contrib
-@dirrm lib/coq/contrib7/cc
-@dirrm lib/coq/contrib7/field
-@dirrm lib/coq/contrib7/fourier
-@dirrm lib/coq/contrib7/omega
-@dirrm lib/coq/contrib7/ring
-@dirrm lib/coq/contrib7/romega
-@dirrm lib/coq/contrib7
-@dirrm lib/coq/ide
-@dirrm lib/coq/states
-@dirrm lib/coq/states7
-@dirrm lib/coq/theories/Arith
-@dirrm lib/coq/theories/Bool
-@dirrm lib/coq/theories/Init
-@dirrm lib/coq/theories/IntMap
-@dirrm lib/coq/theories/Lists
-@dirrm lib/coq/theories/Logic
-@dirrm lib/coq/theories/NArith
-@dirrm lib/coq/theories/Reals
-@dirrm lib/coq/theories/Relations
-@dirrm lib/coq/theories/Setoids
-@dirrm lib/coq/theories/Sets
-@dirrm lib/coq/theories/Sorting
-@dirrm lib/coq/theories/Wellfounded
-@dirrm lib/coq/theories/ZArith
-@dirrm lib/coq/theories
-@dirrm lib/coq/theories7/Arith
-@dirrm lib/coq/theories7/Bool
-@dirrm lib/coq/theories7/Init
-@dirrm lib/coq/theories7/IntMap
-@dirrm lib/coq/theories7/Lists
-@dirrm lib/coq/theories7/Logic
-@dirrm lib/coq/theories7/NArith
-@dirrm lib/coq/theories7/Reals
-@dirrm lib/coq/theories7/Relations
-@dirrm lib/coq/theories7/Setoids
-@dirrm lib/coq/theories7/Sets
-@dirrm lib/coq/theories7/Sorting
-@dirrm lib/coq/theories7/Wellfounded
-@dirrm lib/coq/theories7/ZArith
-@dirrm lib/coq/theories7
-@dirrm lib/coq