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
|
2003-02-14 20:09:21 +01:00
|
|
|
PORTVERSION= 0.3.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}
|
|
|
|
DISTNAME= QuantLib-${PORTVERSION}-src
|
|
|
|
|
|
|
|
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
|
|
|
|
2002-06-22 19:23:30 +02:00
|
|
|
USE_REINPLACE= yes
|
2002-05-14 04:34:20 +02:00
|
|
|
USE_LIBTOOL= yes
|
2003-02-14 20:09:21 +01:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2002-05-14 04:34:20 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2002-03-03 08:18:22 +01:00
|
|
|
|
|
|
|
MAN1= DiscreteHedging.1 EuropeanOption.1 SwapValuation.1 \
|
|
|
|
quantlib-config.1
|
|
|
|
|
2003-02-14 20:09:21 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
2001-08-12 14:39:44 +02:00
|
|
|
|
2003-02-14 20:09:21 +01:00
|
|
|
.if ${OSVERSION} < 500035
|
|
|
|
CFLAGS+= -O0
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|(prefix)/aclocal|(datadir)/aclocal|g'
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|