summaryrefslogtreecommitdiff
path: root/math/libgmp4/Makefile
blob: 06713f61c160e5d2fd879ea77f6d6dc5ee8cb00d (plain) (blame)
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
28
29
30
31
32
33
34
35
36
# ex:ts=8
# New ports collection makefile for:	libgmp3
# Date created:			Jan 11, 2001
# Whom:				Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	libgmp
PORTVERSION=	4.1.3
CATEGORIES=	math devel
MASTER_SITES=	${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR=	gmp
DISTNAME=	gmp-${PORTVERSION}

MAINTAINER=	ale@FreeBSD.org
COMMENT=	A free library for arbitrary precision arithmetic

CONFLICTS=	libgmp-2*
USE_REINPLACE=	yes
USE_GNOME=	lthack
USE_LIBTOOL_VER=13
CONFIGURE_ENV=	MAKEINFO="makeinfo --no-split"
CONFIGURE_ARGS=	--enable-cxx --enable-mpfr
INSTALLS_SHLIB=	yes

INFO=		gmp mpfr

post-extract:
	@${RM} -f ${WRKSRC}/gmp.info*

post-patch:
	@${FIND} ${WRKSRC} -name "Makefile.in" | \
		${XARGS} ${REINPLACE_CMD} -e 's|--tag=CC||g'

.include <bsd.port.mk>