summaryrefslogtreecommitdiff
path: root/math/mpfr/Makefile
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2004-06-05 22:11:38 +0000
committerrh <rh@pkgsrc.org>2004-06-05 22:11:38 +0000
commitae77fc451b784e07f1819016338025c90b32c712 (patch)
treee8b58ad99b7402c21268f1eafbc5ae11eba3098b /math/mpfr/Makefile
parent7d8d42cfd76ee35cdcb62f97d777a7fa8a16a4bd (diff)
downloadpkgsrc-ae77fc451b784e07f1819016338025c90b32c712.tar.gz
Initial import of mpfr-2.0.3, a library for multiple-precision
floating-point computations
Diffstat (limited to 'math/mpfr/Makefile')
-rw-r--r--math/mpfr/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/math/mpfr/Makefile b/math/mpfr/Makefile
new file mode 100644
index 00000000000..9593eb4b068
--- /dev/null
+++ b/math/mpfr/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/06/05 22:11:38 rh Exp $
+#
+
+DISTNAME= mpfr-2.0.3
+CATEGORIES= math
+MASTER_SITES= http://www.mpfr.org/mpfr-current/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${GMP}${EXTRACT_SUFX}
+
+MAINTAINER= rh@NetBSD.org
+HOMEPAGE= http://www.mpfr.org/
+COMMENT= GMP-based library for multiple-precision floating-point computations
+
+USE_BUILDLINK3= yes
+USE_PKGLOCALEDIR= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-gmp-include=${GMP_DIR}
+CONFIGURE_DIRS= ${GMP_DIR} ${WRKSRC}
+
+INFO_FILES= mpfr.info
+
+GMP_VERSION?= 4.1.2
+GMP= gmp-${GMP_VERSION}
+GMP_DIR= ${WRKDIR}/${GMP}
+
+.include "../../devel/gmp/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"