summaryrefslogtreecommitdiff
path: root/math/mpdecimal/Makefile
blob: 0e87c82384ea8ead56df72310b49e0be46c697ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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=		gmake

GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
ALL_TARGET=	default
TEST_TARGET=	check_local

PORTDOCS=	libmpdec++/* libmpdec/*

OPTIONS_DEFINE=	DOCS

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmpdec.so.${DISTVERSION}
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmpdec++.so.${DISTVERSION}

.include <bsd.port.mk>