2005-08-29 14:00:54 +00:00
|
|
|
# New ports collection makefile for: mpfr
|
|
|
|
# Date created: 28 Aug 2005
|
|
|
|
# Whom: Alex Dupre <ale@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mpfr
|
2011-10-06 12:28:46 +00:00
|
|
|
PORTVERSION= 3.1.0
|
2005-08-29 14:00:54 +00:00
|
|
|
CATEGORIES= math devel
|
|
|
|
MASTER_SITES= http://www.mpfr.org/mpfr-current/
|
2006-11-19 18:15:12 +00:00
|
|
|
DIST_SUBDIR= mpfr
|
|
|
|
|
2011-05-10 10:12:45 +00:00
|
|
|
PATCH_SITES= ${MASTER_SITES}
|
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
|
2005-08-29 14:00:54 +00:00
|
|
|
MAINTAINER= ale@FreeBSD.org
|
|
|
|
COMMENT= A library for multiple-precision floating-point computations
|
|
|
|
|
2010-04-19 10:43:42 +00:00
|
|
|
LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp
|
2005-08-29 14:00:54 +00:00
|
|
|
|
2011-10-06 12:28:46 +00:00
|
|
|
#PATCHLEVEL= 1
|
|
|
|
#PATCHFILES!= /usr/bin/jot -s " " -w patch%02d ${PATCHLEVEL} 1 ${PATCHLEVEL}
|
2011-05-10 10:12:45 +00:00
|
|
|
|
2010-06-11 15:08:51 +00:00
|
|
|
LICENSE= LGPL3
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING.LESSER
|
|
|
|
|
2011-10-06 12:28:46 +00:00
|
|
|
USE_AUTOTOOLS= libtool
|
|
|
|
USE_GNOME= ltverhack
|
|
|
|
|
2010-06-04 08:09:20 +00:00
|
|
|
USE_XZ= yes
|
2006-02-23 10:40:44 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2011-10-06 12:28:46 +00:00
|
|
|
CONFIGURE_ARGS= --with-gmp=${LOCALBASE} \
|
|
|
|
--disable-thread-safe
|
2006-11-19 18:15:12 +00:00
|
|
|
USE_LDCONFIG= yes
|
2005-08-29 14:00:54 +00:00
|
|
|
|
|
|
|
INFO= mpfr
|
|
|
|
|
2009-12-01 11:33:12 +00:00
|
|
|
PORTDOCS= *
|
|
|
|
|
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} 's/install-nobase_dist_docDATA$$//' \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
|
|
|
|
2008-06-25 10:34:43 +00:00
|
|
|
regression-test: build
|
|
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
|
|
|
|
|
2005-08-29 14:00:54 +00:00
|
|
|
.include <bsd.port.mk>
|