3367255cb4
Submitted by Yozo Toda <yozo@imit.chiba-u.ac.jp>. The Coq Proof Assistant is designed to write formal specifications, programs and to verify that programs are correct with respect to their specification.
52 lines
1.4 KiB
Makefile
52 lines
1.4 KiB
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2001/09/22 14:24:31 naddy Exp $
|
|
|
|
COMMENT= "proof assistant based on a typed lambda calculus"
|
|
|
|
DISTNAME= coq-7.0
|
|
CATEGORIES= math
|
|
NEED_VERSION= 1.457
|
|
HOMEPAGE= http://coq.inria.fr/
|
|
|
|
MAINTAINER= Yozo Toda <yozo@imit.chiba-u.ac.jp>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ftp://ftp.inria.fr/INRIA/coq/V7.0/ \
|
|
ftp://ftp.imit.chiba-u.ac.jp/pub/pub.yozo/tmp/ftp.inria.fr/INRIA/Projects/coq/coq/V7.0/
|
|
MASTER_SITES0= ${MASTER_SITES:S@$@doc/@}
|
|
DISTFILES= ${DISTNAME}.tar.gz \
|
|
doc-html.tar.gz:0 \
|
|
all-ps-docs.tar.gz:0
|
|
DIST_SUBDIR= coq
|
|
|
|
BUILD_DEPENDS= ocamlc::lang/ocaml \
|
|
camlp4::lang/camlp4
|
|
|
|
FAKE_FLAGS= COQINSTALLPREFIX=${WRKINST}
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
CONFIGURE_STYLE= simple
|
|
## add -opt option if there is ocamlc.opt.
|
|
CONFIGURE_ARGS= -prefix ${PREFIX} \
|
|
-emacslib ${PREFIX}/share/emacs/site-lisp ## -opt
|
|
|
|
ALL_TARGET= world
|
|
|
|
COQ_DOCPSFILES= Changes.ps Library.ps Tutorial.ps \
|
|
Reference-Manual-addendum.ps Reference-Manual-base.ps
|
|
|
|
post-install:
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/coq/html
|
|
@${INSTALL_DATA} ${WRKDIR}/coq-docs-html/* ${PREFIX}/share/doc/coq/html
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/coq/ps
|
|
@for ff in ${COQ_DOCPSFILES} ; do \
|
|
${INSTALL_DATA} ${WRKDIR}/$${ff} ${PREFIX}/share/doc/coq/ps ; \
|
|
done
|
|
@strip ${PREFIX}/bin/*
|
|
|
|
.include <bsd.port.mk>
|