pkgsrc/finance/QuantLib/Makefile

29 lines
819 B
Makefile

# $NetBSD: Makefile,v 1.6 2020/01/12 20:20:14 ryoon Exp $
DISTNAME= QuantLib-1.12.1
PKGREVISION= 5
CATEGORIES= finance
MASTER_SITES= ${MASTER_SITE_GITHUB:=lballabio/}
GITHUB_TAG= ${PKGBASE}-v${PKGVERSION_NOREV}
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://quantlib.org/
COMMENT= C++ library for quantitative finance
LICENSE= modified-bsd
USE_CMAKE= yes
USE_LANGUAGES= c c++
GCC_REQD+= 4.8
TOOLS_DEPENDS.cmake= cmake>=3.0:../../devel/cmake
SUBST_CLASSES+= sover
SUBST_STAGE.sover= pre-configure
SUBST_MESSAGE.sover= Set the shared library version.
SUBST_FILES.sover= CMakeLists.txt
SUBST_SED.sover= -e 's,@PKGVERSION@,${PKGVERSION_NOREV},g'
.include "../../devel/boost-headers/buildlink3.mk"
BUILDLINK_DEPMETHOD.boost-libs= build
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"