2013-03-08 11:32:11 +00:00
|
|
|
# Created by: Li-Wen Hsu <lwhsu@lwhsu.org>
|
2007-03-25 04:04:30 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= cvc3
|
2012-02-04 14:37:52 +00:00
|
|
|
PORTVERSION= 2.4.1
|
2007-03-25 04:04:30 +00:00
|
|
|
CATEGORIES= math
|
2012-02-04 14:37:52 +00:00
|
|
|
MASTER_SITES= http://www.cs.nyu.edu/acsys/cvc3/download/${PORTVERSION}/
|
2007-03-25 04:04:30 +00:00
|
|
|
|
2007-04-04 08:49:31 +00:00
|
|
|
MAINTAINER= lwhsu@FreeBSD.org
|
2007-03-25 04:04:30 +00:00
|
|
|
COMMENT= An automatic theorem prover for the SMT problem
|
|
|
|
|
2010-04-19 10:43:42 +00:00
|
|
|
LIB_DEPENDS= gmp:${PORTSDIR}/math/gmp
|
2007-03-25 04:04:30 +00:00
|
|
|
|
|
|
|
CONFIGURE_ARGS= --enable-dynamic \
|
|
|
|
--with-arith=gmp \
|
|
|
|
--with-build=optimized \
|
|
|
|
--with-extra-includes=${LOCALBASE}/include \
|
|
|
|
--with-extra-libs=${LOCALBASE}/lib
|
|
|
|
CXXFLAGS+= -fPIC
|
|
|
|
GNU_CONFIGURE= yes
|
2013-09-16 16:32:07 +00:00
|
|
|
USES= bison gmake perl5
|
2013-11-13 15:55:09 +00:00
|
|
|
USE_GCC= any
|
2007-03-25 04:04:30 +00:00
|
|
|
USE_LDCONFIG= yes
|
2012-02-04 14:37:52 +00:00
|
|
|
|
2013-09-20 20:55:04 +00:00
|
|
|
NO_STAGE= yes
|
2012-02-04 14:37:52 +00:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's,/bin/bash,/bin/sh,' ${WRKSRC}/Makefile.std
|
|
|
|
${REINPLACE_CMD} -e 's,.*$$(LDCONFIG).*,,' ${WRKSRC}/src/Makefile
|
|
|
|
${REINPLACE_CMD} -e 's,$$(libdir)/pkgconfig,${PREFIX}/libdata/pkgconfig,' ${WRKSRC}/src/Makefile
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_PROGRAM} `readlink ${WRKSRC}/bin/cvc3` ${PREFIX}/bin
|
|
|
|
|
2013-09-16 16:32:07 +00:00
|
|
|
.include <bsd.port.mk>
|