1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/misc/quantlib/Makefile
Ying-Chieh Liao 20ab38a4a8 upgrade to 0.3.0
PR:		38047
Submitted by:	Ports Fury
2002-05-14 02:34:20 +00:00

36 lines
854 B
Makefile

# ex:ts=8
# New ports collection makefile for: quantlib
# Date created: Aug 12, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= quantlib
PORTVERSION= 0.3.0
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= QuantLib-${PORTVERSION}-src
MAINTAINER= ports@FreeBSD.org
WRKSRC= ${WRKDIR}/QuantLib-${PORTVERSION}
USE_BZIP2= yes
USE_LIBTOOL= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
INSTALLS_SHLIB= yes
MAN1= DiscreteHedging.1 EuropeanOption.1 SwapValuation.1 \
quantlib-config.1
pre-patch:
@${PERL} -pi -e 's|-g -O3|\$$CXXFLAGS|g' ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name "Makefile.in" | \
${XARGS} ${PERL} -pi -e 's|-g -O.|\@CXXFLAGS\@|g'
@${FIND} ${WRKSRC}/Examples -name "Makefile.in" | \
${XARGS} ${PERL} -pi -e 's|-pedantic -Wall|-O0|g'
.include <bsd.port.mk>