aboutsummaryrefslogtreecommitdiffstats
path: root/math/coq/Makefile
blob: 4219e9197363dcd02625a42449808f14f88c829f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# New ports collection makefile for:    coq
# Date created:     2004-10-11
# Whom:         Rene Ladan <r.c.ladan@student.tue.nl>
#
# $FreeBSD$
#

PORTNAME=   coq
PORTVERSION=    8.0
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 :
PATCHFILES= patch-coq-8.0pl1-ocaml-3.08.1

MAINTAINER= r.c.ladan@student.tue.nl
COMMENT=    Theorem prover based on lambda-C

BUILD_DEPENDS=  ocamlc:${PORTSDIR}/lang/ocaml

USE_GMAKE=  yes

HAS_CONFIGURE=  yes
CONFIGURE_ARGS= --prefix ${PREFIX}
CONFIGURE_ARGS+=    --emacslib ${PREFIX}/share/emacs/site-lisp
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

post-install:
.if !defined(NOPORTDOCS)
    -@${MKDIR} ${DOCSDIR}
.for i in CHANGES COPYRIGHT CREDITS INSTALL LICENSE README
    @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>