aboutsummaryrefslogtreecommitdiff
path: root/finance
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2003-02-14 19:09:21 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2003-02-14 19:09:21 +0000
commitf9eaadb4daaa82428b4cf4421a1c1513be7d3803 (patch)
treedf5bd9f09c201366a0dc9b9cea262d08ffeb68f1 /finance
parent4b246acebf4a26f5e5d4be1d6e3b0d356ab0b608 (diff)
downloadports-f9eaadb4daaa82428b4cf4421a1c1513be7d3803.tar.gz
ports-f9eaadb4daaa82428b4cf4421a1c1513be7d3803.zip
Notes
Diffstat (limited to 'finance')
-rw-r--r--finance/quantlib/Makefile23
-rw-r--r--finance/quantlib/distinfo2
-rw-r--r--finance/quantlib/pkg-comment1
-rw-r--r--finance/quantlib/pkg-plist39
4 files changed, 50 insertions, 15 deletions
diff --git a/finance/quantlib/Makefile b/finance/quantlib/Makefile
index 83853fda4edf..0775d3e490ad 100644
--- a/finance/quantlib/Makefile
+++ b/finance/quantlib/Makefile
@@ -7,30 +7,33 @@
#
PORTNAME= quantlib
-PORTVERSION= 0.3.0
+PORTVERSION= 0.3.1
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= QuantLib-${PORTVERSION}-src
MAINTAINER= ports@FreeBSD.org
+COMMENT= A comprehensive software framework for quantitative finance
WRKSRC= ${WRKDIR}/QuantLib-${PORTVERSION}
USE_REINPLACE= yes
-USE_BZIP2= yes
USE_LIBTOOL= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INSTALLS_SHLIB= yes
MAN1= DiscreteHedging.1 EuropeanOption.1 SwapValuation.1 \
quantlib-config.1
-pre-patch:
- @${REINPLACE_CMD} -e 's|-g -O3|\$$CXXFLAGS|g' ${WRKSRC}/configure
- @${FIND} ${WRKSRC} -name "Makefile.in" | \
- ${XARGS} ${REINPLACE_CMD} -e 's|-g -O.|\@CXXFLAGS\@|g'
- @${FIND} ${WRKSRC}/Examples -name "Makefile.in" | \
- ${XARGS} ${REINPLACE_CMD} -e 's|-pedantic -Wall|-O0|g'
+.include <bsd.port.pre.mk>
-.include <bsd.port.mk>
+.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>
diff --git a/finance/quantlib/distinfo b/finance/quantlib/distinfo
index 2e6572e94b0b..15ec74da4b71 100644
--- a/finance/quantlib/distinfo
+++ b/finance/quantlib/distinfo
@@ -1 +1 @@
-MD5 (QuantLib-0.3.0-src.tar.bz2) = 171d615792d1c22e7d21a364537d6ef0
+MD5 (QuantLib-0.3.1-src.tar.gz) = 2bc28bedccb8291f4610a9e1e1715611
diff --git a/finance/quantlib/pkg-comment b/finance/quantlib/pkg-comment
deleted file mode 100644
index 3392b6a80441..000000000000
--- a/finance/quantlib/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-A comprehensive software framework for quantitative finance
diff --git a/finance/quantlib/pkg-plist b/finance/quantlib/pkg-plist
index 152f23a42be1..c6bd608e336d 100644
--- a/finance/quantlib/pkg-plist
+++ b/finance/quantlib/pkg-plist
@@ -1,18 +1,23 @@
+@comment $FreeBSD$
bin/BermudanSwaption
bin/DiscreteHedging
bin/EuropeanOption
bin/SwapValuation
bin/quantlib-config
+include/ql/Calendars/budapest.hpp
include/ql/Calendars/frankfurt.hpp
include/ql/Calendars/helsinki.hpp
include/ql/Calendars/johannesburg.hpp
include/ql/Calendars/london.hpp
include/ql/Calendars/milan.hpp
include/ql/Calendars/newyork.hpp
+include/ql/Calendars/oslo.hpp
+include/ql/Calendars/stockholm.hpp
include/ql/Calendars/sydney.hpp
include/ql/Calendars/target.hpp
include/ql/Calendars/tokyo.hpp
include/ql/Calendars/toronto.hpp
+include/ql/Calendars/warsaw.hpp
include/ql/Calendars/wellington.hpp
include/ql/Calendars/zurich.hpp
include/ql/CashFlows/cashflowvectors.hpp
@@ -54,11 +59,13 @@ include/ql/Indexes/xibor.hpp
include/ql/Indexes/xibormanager.hpp
include/ql/Indexes/zarlibor.hpp
include/ql/Instruments/capfloor.hpp
-include/ql/Instruments/plainoption.hpp
+include/ql/Instruments/forwardvanillaoption.hpp
+include/ql/Instruments/quantovanillaoption.hpp
include/ql/Instruments/simpleswap.hpp
include/ql/Instruments/stock.hpp
include/ql/Instruments/swap.hpp
include/ql/Instruments/swaption.hpp
+include/ql/Instruments/vanillaoption.hpp
include/ql/Lattices/binomialtree.hpp
include/ql/Lattices/bsmlattice.hpp
include/ql/Lattices/lattice.hpp
@@ -73,6 +80,7 @@ include/ql/Math/interpolation.hpp
include/ql/Math/interpolation2D.hpp
include/ql/Math/lexicographicalview.hpp
include/ql/Math/linearinterpolation.hpp
+include/ql/Math/loglinearinterpolation.hpp
include/ql/Math/matrix.hpp
include/ql/Math/multivariateaccumulator.hpp
include/ql/Math/normaldistribution.hpp
@@ -84,6 +92,7 @@ include/ql/Math/symmetricschurdecomposition.hpp
include/ql/MonteCarlo/arithmeticapopathpricer.hpp
include/ql/MonteCarlo/arithmeticasopathpricer.hpp
include/ql/MonteCarlo/basketpathpricer.hpp
+include/ql/MonteCarlo/cliquetoptionpathpricer.hpp
include/ql/MonteCarlo/europeanpathpricer.hpp
include/ql/MonteCarlo/everestpathpricer.hpp
include/ql/MonteCarlo/geometricapopathpricer.hpp
@@ -99,6 +108,7 @@ include/ql/MonteCarlo/pagodapathpricer.hpp
include/ql/MonteCarlo/path.hpp
include/ql/MonteCarlo/pathgenerator.hpp
include/ql/MonteCarlo/pathpricer.hpp
+include/ql/MonteCarlo/performanceoptionpathpricer.hpp
include/ql/MonteCarlo/sample.hpp
include/ql/Optimization/armijo.hpp
include/ql/Optimization/conjugategradient.hpp
@@ -111,11 +121,11 @@ include/ql/Optimization/method.hpp
include/ql/Optimization/problem.hpp
include/ql/Optimization/simplex.hpp
include/ql/Optimization/steepestdescent.hpp
+include/ql/Patterns/bridge.hpp
include/ql/Patterns/observable.hpp
include/ql/Pricers/analyticalcapfloor.hpp
include/ql/Pricers/barrieroption.hpp
include/ql/Pricers/binaryoption.hpp
-include/ql/Pricers/binomialplainoption.hpp
include/ql/Pricers/blackcapfloor.hpp
include/ql/Pricers/blackswaption.hpp
include/ql/Pricers/capfloorpricer.hpp
@@ -123,7 +133,6 @@ include/ql/Pricers/cliquetoption.hpp
include/ql/Pricers/continuousgeometricapo.hpp
include/ql/Pricers/discretegeometricapo.hpp
include/ql/Pricers/discretegeometricaso.hpp
-include/ql/Pricers/europeanengine.hpp
include/ql/Pricers/europeanoption.hpp
include/ql/Pricers/fdamericanoption.hpp
include/ql/Pricers/fdbermudanoption.hpp
@@ -138,6 +147,7 @@ include/ql/Pricers/fdshoutoption.hpp
include/ql/Pricers/fdstepconditionoption.hpp
include/ql/Pricers/jamshidianswaption.hpp
include/ql/Pricers/mcbasket.hpp
+include/ql/Pricers/mccliquetoption.hpp
include/ql/Pricers/mcdiscretearithmeticapo.hpp
include/ql/Pricers/mcdiscretearithmeticaso.hpp
include/ql/Pricers/mceuropean.hpp
@@ -145,11 +155,19 @@ include/ql/Pricers/mceverest.hpp
include/ql/Pricers/mchimalaya.hpp
include/ql/Pricers/mcmaxbasket.hpp
include/ql/Pricers/mcpagoda.hpp
+include/ql/Pricers/mcperformanceoption.hpp
include/ql/Pricers/mcpricer.hpp
+include/ql/Pricers/performanceoption.hpp
include/ql/Pricers/singleassetoption.hpp
include/ql/Pricers/swaptionpricer.hpp
include/ql/Pricers/treecapfloor.hpp
include/ql/Pricers/treeswaption.hpp
+include/ql/PricingEngines/discretizedvanillaoption.hpp
+include/ql/PricingEngines/forwardengines.hpp
+include/ql/PricingEngines/genericengine.hpp
+include/ql/PricingEngines/latticeshortratemodelengine.hpp
+include/ql/PricingEngines/quantoengines.hpp
+include/ql/PricingEngines/vanillaengines.hpp
include/ql/RandomNumbers/boxmullergaussianrng.hpp
include/ql/RandomNumbers/centrallimitgaussianrng.hpp
include/ql/RandomNumbers/inversecumgaussianrng.hpp
@@ -178,16 +196,26 @@ include/ql/Solvers1D/newtonsafe.hpp
include/ql/Solvers1D/ridder.hpp
include/ql/Solvers1D/secant.hpp
include/ql/TermStructures/affinetermstructure.hpp
+include/ql/TermStructures/compoundforward.hpp
+include/ql/TermStructures/discountcurve.hpp
include/ql/TermStructures/flatforward.hpp
+include/ql/TermStructures/forwardspreadedtermstructure.hpp
+include/ql/TermStructures/impliedtermstructure.hpp
include/ql/TermStructures/piecewiseflatforward.hpp
include/ql/TermStructures/ratehelpers.hpp
+include/ql/TermStructures/zerospreadedtermstructure.hpp
include/ql/Utilities/combiningiterator.hpp
include/ql/Utilities/couplingiterator.hpp
include/ql/Utilities/filteringiterator.hpp
include/ql/Utilities/iteratorcategories.hpp
include/ql/Utilities/processingiterator.hpp
include/ql/Utilities/steppingiterator.hpp
+include/ql/Volatilities/blackconstantvol.hpp
+include/ql/Volatilities/blackvariancecurve.hpp
+include/ql/Volatilities/blackvariancesurface.hpp
include/ql/Volatilities/capflatvolvector.hpp
+include/ql/Volatilities/localconstantvol.hpp
+include/ql/Volatilities/localvolcurve.hpp
include/ql/Volatilities/swaptionvolmatrix.hpp
include/ql/argsandresults.hpp
include/ql/array.hpp
@@ -198,6 +226,7 @@ include/ql/cashflow.hpp
include/ql/config.hpp
include/ql/currency.hpp
include/ql/dataformatters.hpp
+include/ql/dataparsers.hpp
include/ql/date.hpp
include/ql/daycounter.hpp
include/ql/diffusionprocess.hpp
@@ -206,6 +235,7 @@ include/ql/exercise.hpp
include/ql/expressiontemplates.hpp
include/ql/functions/daycounters.hpp
include/ql/functions/mathf.hpp
+include/ql/functions/vols.hpp
include/ql/grid.hpp
include/ql/handle.hpp
include/ql/history.hpp
@@ -215,6 +245,7 @@ include/ql/marketelement.hpp
include/ql/null.hpp
include/ql/numericalmethod.hpp
include/ql/option.hpp
+include/ql/pricingengine.hpp
include/ql/qldefines.hpp
include/ql/quantlib.hpp
include/ql/relinkablehandle.hpp
@@ -224,6 +255,7 @@ include/ql/solver1d.hpp
include/ql/swaptionvolstructure.hpp
include/ql/termstructure.hpp
include/ql/types.hpp
+include/ql/voltermstructure.hpp
lib/libQuantLib.a
lib/libQuantLib.so
lib/libQuantLib.so.0
@@ -238,6 +270,7 @@ share/aclocal/quantlib.m4
@dirrm include/ql/ShortRateModels/CalibrationHelpers
@dirrm include/ql/ShortRateModels
@dirrm include/ql/RandomNumbers
+@dirrm include/ql/PricingEngines
@dirrm include/ql/Pricers
@dirrm include/ql/Patterns
@dirrm include/ql/Optimization