1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/math/mpfr/Makefile

55 lines
1.2 KiB
Makefile
Raw Normal View History

# 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= 3
CATEGORIES= math devel
MASTER_SITES= http://www.mpfr.org/mpfr-current/
2011-10-07 07:42:43 +00:00
DIST_SUBDIR= ${DISTNAME}
2006-11-19 18:15:12 +00:00
2011-05-10 10:12:45 +00:00
PATCH_SITES= ${MASTER_SITES}
PATCH_DIST_STRIP= -p1
MAINTAINER= ale@FreeBSD.org
COMMENT= A library for multiple-precision floating-point computations
LICENSE= LGPL3
PATCH_DEPENDS= gpatch:${PORTSDIR}/devel/patch
LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp
PATCHLEVEL= 10
2011-10-07 07:42:43 +00:00
PATCHFILES!= /usr/bin/jot -s " " -w patch%02d ${PATCHLEVEL} 1 ${PATCHLEVEL}
PATCH= ${LOCALBASE}/bin/gpatch
2011-05-10 10:12:45 +00:00
USE_AUTOTOOLS= libtool
USE_GNOME= ltverhack
USE_XZ= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gmp=${LOCALBASE} \
--disable-thread-safe
2006-11-19 18:15:12 +00:00
USE_LDCONFIG= yes
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
@${REINPLACE_CMD} 's/install-data-am: install-dist_docDATA/install-data-am:/' \
${WRKSRC}/doc/Makefile.in
2009-12-01 11:33:12 +00:00
.endif
regression-test: build
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
.include <bsd.port.mk>