summaryrefslogtreecommitdiff
path: root/misc/quantlib/Makefile
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-03-03 07:18:22 +0000
committerPatrick Li <pat@FreeBSD.org>2002-03-03 07:18:22 +0000
commitde8fec46e509dbac1bfc427b21e8feec5440587c (patch)
tree0f4f33d825de847660b88ba969d37eafd5222827 /misc/quantlib/Makefile
parentUpdate to 0.17.b4 (diff)
Update to 0.2.1
PR: 35497 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=55456
Diffstat (limited to 'misc/quantlib/Makefile')
-rw-r--r--misc/quantlib/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/misc/quantlib/Makefile b/misc/quantlib/Makefile
index 5ed56184e36e..26ef0ef06a5c 100644
--- a/misc/quantlib/Makefile
+++ b/misc/quantlib/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= quantlib
-PORTVERSION= 0.1.9
+PORTVERSION= 0.2.1
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -16,6 +16,17 @@ DISTNAME= QuantLib-${PORTVERSION}-src
MAINTAINER= ports@FreeBSD.org
WRKSRC= ${WRKDIR}/QuantLib-${PORTVERSION}
+
+USE_BZIP2= yes
GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
+
+MAN1= DiscreteHedging.1 EuropeanOption.1 SwapValuation.1 \
+ quantlib-config.1
+
+post-patch:
+ @${PERL} -pi -e 's|-g -Wall -O2|\$$CXXFLAGS|g' ${WRKSRC}/configure
+ @find ${WRKSRC}/Examples -name "Makefile.in" | xargs ${PERL} -pi -e \
+ 's|-g -O2 -Wall|\@CXXFLAGS\@ -O0|g'
.include <bsd.port.mk>