blob: a5d59a202441463cb8fde450308f7f63d11c0cf4 (
plain) (
tree)
|
|
PORTNAME= mpdecimal
DISTVERSION= 2.5.1
CATEGORIES= math
MASTER_SITES= https://www.bytereef.org/software/mpdecimal/releases/
MAINTAINER= skrah@bytereef.org
COMMENT= C/C++ arbitrary precision decimal floating point libraries
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= compiler:c++11-lang gmake
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
ALL_TARGET= default
TEST_TARGET= check_local
PORTDOCS= libmpdec++/* libmpdec/*
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
.if ${CHOSEN_COMPILER_TYPE} == gcc
CONFIGURE_ARGS= LD="${CC}" LDXX="${CXX}"
.endif
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmpdec.so.${DISTVERSION}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmpdec++.so.${DISTVERSION}
.include <bsd.port.post.mk>
|