2008-04-27 12:46:16 +02:00
|
|
|
# $NetBSD: Makefile,v 1.21 2008/04/27 10:46:16 tonio Exp $
|
2003-03-22 21:21:16 +01:00
|
|
|
#
|
|
|
|
|
2008-01-12 12:48:39 +01:00
|
|
|
DISTNAME= coq-8.1pl3
|
2008-04-27 12:46:16 +02:00
|
|
|
PKGREVISION= 1
|
2003-03-22 21:21:16 +01:00
|
|
|
CATEGORIES= lang math
|
2008-01-12 12:48:39 +01:00
|
|
|
MASTER_SITES= ftp://ftp.inria.fr/INRIA/coq/V8.1pl3/
|
2003-03-22 21:21:16 +01:00
|
|
|
|
|
|
|
MAINTAINER= richards+netbsd@CS.Princeton.EDU
|
|
|
|
HOMEPAGE= http://coq.inria.fr/
|
|
|
|
COMMENT= Theorem prover which extracts programs from proofs
|
|
|
|
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2005-02-05 12:19:02 +01:00
|
|
|
HAS_CONFIGURE= YES
|
2003-03-22 21:21:16 +01:00
|
|
|
CONFIGURE_ARGS+= -prefix ${PREFIX}
|
|
|
|
CONFIGURE_ARGS+= -emacslib ${PREFIX}/share/emacs/site-lisp
|
|
|
|
CONFIGURE_ARGS+= -reals all
|
2005-02-05 12:19:02 +01:00
|
|
|
BUILD_TARGET= world
|
|
|
|
|
2007-01-17 12:14:46 +01:00
|
|
|
BUILDLINK_API_DEPENDS.ocaml+= ocaml>=3.09
|
2003-03-22 21:21:16 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2005-02-05 12:19:02 +01:00
|
|
|
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
|
2007-02-25 16:03:52 +01:00
|
|
|
(${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64")
|
2003-03-22 21:21:16 +01:00
|
|
|
PLIST_SRC= ${PKGDIR}/PLIST.opt ${PKGDIR}/PLIST
|
|
|
|
.endif
|
|
|
|
|
2005-02-05 12:19:02 +01:00
|
|
|
.if ${OPSYS} == "Darwin"
|
2007-01-17 12:14:46 +01:00
|
|
|
INSTALL_UNSTRIPPED= yes
|
2005-02-05 12:19:02 +01:00
|
|
|
# See PR# 28772 as the above should work but it appears to be ignored
|
|
|
|
# so we set it explicitly below not to stip installed binaries.
|
|
|
|
_STRIPFLAG_CC=
|
|
|
|
_STRIPFLAG_INSTALL=
|
|
|
|
.endif
|
|
|
|
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST_VARS= coqide
|
2007-01-17 12:14:46 +01:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.coq
|
|
|
|
PKG_SUPPORTED_OPTIONS= coqide
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mcoqide)
|
2007-09-21 15:03:25 +02:00
|
|
|
.include "../../x11/lablgtk/buildlink3.mk"
|
2007-01-17 12:14:46 +01:00
|
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST.coqide= yes
|
2007-01-17 12:14:46 +01:00
|
|
|
.endif
|
|
|
|
|
2005-02-05 12:19:02 +01:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2004-04-28 07:06:28 +02:00
|
|
|
.include "../../lang/ocaml/buildlink3.mk"
|
2007-12-01 14:05:36 +01:00
|
|
|
.include "../../lang/camlp5/buildlink3.mk"
|
2003-03-22 21:21:16 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|