2001-08-12 14:39:44 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: quantlib
|
|
|
|
# Date created: Aug 12, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= quantlib
|
2004-04-02 05:27:02 +02:00
|
|
|
PORTVERSION= 0.3.5
|
2004-04-02 21:03:26 +02:00
|
|
|
PORTREVISION= 1
|
2004-01-22 22:12:03 +01:00
|
|
|
CATEGORIES= finance
|
2001-08-12 14:39:44 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2004-04-02 05:27:02 +02:00
|
|
|
DISTNAME= QuantLib-${PORTVERSION}
|
2001-08-12 14:39:44 +02:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-14 20:09:21 +01:00
|
|
|
COMMENT= A comprehensive software framework for quantitative finance
|
2001-08-12 14:39:44 +02:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/QuantLib-${PORTVERSION}
|
2002-03-03 08:18:22 +01:00
|
|
|
|
2004-04-02 05:27:02 +02:00
|
|
|
USE_GCC= 3.3
|
2004-04-02 21:03:26 +02:00
|
|
|
USE_REINPLACE= yes
|
2004-04-02 05:27:02 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2004-04-02 21:03:26 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}"
|
2002-05-14 04:34:20 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2002-03-03 08:18:22 +01:00
|
|
|
|
2004-04-02 21:03:26 +02:00
|
|
|
MAN1= quantlib-config.1 quantlib-test-suite.1
|
|
|
|
|
2005-03-27 03:48:04 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "ia64" || ${ARCH} == "alpha"
|
|
|
|
BROKEN= "Does not build on ia64 or alpha"
|
|
|
|
.endif
|
|
|
|
|
2004-04-02 21:03:26 +02:00
|
|
|
post-patch:
|
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|: install-dist_lispLISP|:|g ; \
|
|
|
|
s|@CPPUNIT_FOUND_TRUE@|#|g ; \
|
|
|
|
s|@CPPUNIT_FOUND_FALSE@||g'
|
2002-03-03 08:18:22 +01:00
|
|
|
|
2004-04-02 05:27:02 +02:00
|
|
|
post-install:
|
2004-04-02 21:03:26 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/quantlib.el ${PREFIX}/share/emacs/site-lisp
|
2001-08-12 14:39:44 +02:00
|
|
|
|
2005-03-27 03:48:04 +02:00
|
|
|
.include <bsd.port.post.mk>
|