xref: /mports/math/mpdecimal/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1PORTNAME=	mpdecimal
2DISTVERSION=	4.0.0
3CATEGORIES=	math
4MASTER_SITES=	https://www.bytereef.org/software/mpdecimal/releases/
5
6MAINTAINER=	ports@MidnightBSD.org
7COMMENT=	C/C++ arbitrary precision decimal floating point libraries
8WWW=		https://www.bytereef.org/mpdecimal/index.html
9
10LICENSE=	bsd2
11LICENSE_FILE=	${WRKSRC}/COPYRIGHT.txt
12
13USES=		compiler:c++11-lang gmake
14
15GNU_CONFIGURE=	yes
16GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
17USE_LDCONFIG=	yes
18ALL_TARGET=	default
19#TEST_TARGET=	check_local
20
21NO_TEST=	yes
22
23.include <bsd.port.pre.mk>
24
25.if ${CHOSEN_COMPILER_TYPE} == gcc
26CONFIGURE_ARGS=	LD="${CC}" LDXX="${CXX}"
27.endif
28
29CONFIGURE_ARGS+=	LDXXFLAGS="${LDFLAGS}"
30
31post-install:
32	${STRIP_CMD} ${PREFIX}/lib/libmpdec.so.${DISTVERSION}
33	${STRIP_CMD} ${PREFIX}/lib/libmpdec++.so.${DISTVERSION}
34
35.include <bsd.port.post.mk>
36

served by {OpenGrok

Last Index Update: Sun Mar 22 17:06:33 EDT 2026