freebsd-ports/math/mpfr/Makefile
Alex Dupre 0962b19b20 Update to patch level 3.
Feature safe:	yes
2011-11-13 12:16:00 +00:00

53 lines
1.1 KiB
Makefile

# New ports collection makefile for: mpfr
# Date created: 28 Aug 2005
# Whom: Alex Dupre <ale@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= mpfr
PORTVERSION= 3.1.0
PORTREVISION= 2
CATEGORIES= math devel
MASTER_SITES= http://www.mpfr.org/mpfr-current/
DIST_SUBDIR= ${DISTNAME}
PATCH_SITES= ${MASTER_SITES}
PATCH_DIST_STRIP= -p1
MAINTAINER= ale@FreeBSD.org
COMMENT= A library for multiple-precision floating-point computations
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/COPYING.LESSER
LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp
PATCHLEVEL= 3
PATCHFILES!= /usr/bin/jot -s " " -w patch%02d ${PATCHLEVEL} 1 ${PATCHLEVEL}
USE_AUTOTOOLS= libtool
USE_GNOME= ltverhack
USE_XZ= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gmp=${LOCALBASE} \
--disable-thread-safe
USE_LDCONFIG= yes
INFO= mpfr
PORTDOCS= *
.if defined(NOPORTDOCS)
post-patch:
@${REINPLACE_CMD} 's/install-nobase_dist_docDATA$$//' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} 's/install-data-am: install-dist_docDATA/install-data-am:/' \
${WRKSRC}/doc/Makefile.in
.endif
regression-test: build
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
.include <bsd.port.mk>