2001-11-10 10:00:47 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.2 2001/11/10 15:00:48 espie Exp $
|
2001-09-22 10:24:31 -04:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2001-11-10 10:00:47 -05:00
|
|
|
BUILD_DEPENDS= ::lang/ocaml \
|
|
|
|
::lang/camlp4
|
2001-09-22 10:24:31 -04:00
|
|
|
|
|
|
|
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>
|