mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
1b95eebd8a
PR: ports/157329 Submitted by: dikshie <dikshie _AT_ sfc.wide.ad.jp>
48 lines
1.2 KiB
Makefile
48 lines
1.2 KiB
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: quantlib
|
|
# Date created: Aug 12, 2001
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= quantlib
|
|
PORTVERSION= 1.1
|
|
CATEGORIES= finance
|
|
MASTER_SITES= SF/${PORTNAME}/QuantLib/${PORTVERSION}
|
|
DISTNAME= QuantLib-${PORTVERSION}
|
|
|
|
MAINTAINER= dikshie@sfc.wide.ad.jp
|
|
COMMENT= A comprehensive software framework for quantitative finance
|
|
|
|
LIB_DEPENDS= boost_thread.4:${PORTSDIR}/devel/boost-libs
|
|
|
|
WRKSRC= ${WRKDIR}/QuantLib-${PORTVERSION}
|
|
|
|
USE_AUTOTOOLS= libtool
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include
|
|
LDFLAGS= ${PTHREAD_LIBS} -L${LOCALBASE}/lib
|
|
MAKE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
USE_LDCONFIG= yes
|
|
|
|
MAN1= quantlib-config.1 quantlib-test-suite.1
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "ia64" || ${ARCH} == "alpha"
|
|
BROKEN= Does not build on ia64 or alpha
|
|
.endif
|
|
|
|
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'
|
|
@${REINPLACE_CMD} -e 's|-release $$(PACKAGE_VERSION)||' ${WRKSRC}/ql/Makefile.in
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/quantlib.el ${PREFIX}/share/emacs/site-lisp
|
|
|
|
.include <bsd.port.post.mk>
|