aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-03-03 06:34:50 +0800
committerbapt <bapt@FreeBSD.org>2014-03-03 06:34:50 +0800
commite8c9f779893621db91c08f0a6cc2b5d1bec2474f (patch)
tree09239713ae6d351d521b7d86b221418d68d5c2a7 /math
parent07f4afb63778073fada547f3050f8673dc6443d0 (diff)
downloadfreebsd-ports-gnome-e8c9f779893621db91c08f0a6cc2b5d1bec2474f.tar.gz
freebsd-ports-gnome-e8c9f779893621db91c08f0a6cc2b5d1bec2474f.tar.zst
freebsd-ports-gnome-e8c9f779893621db91c08f0a6cc2b5d1bec2474f.zip
Convert to USES=libtool
While here remove code for unsupported version of FreeBSD Remove DOCS patches that is not necessary anymore with staging
Diffstat (limited to 'math')
-rw-r--r--math/mpfr/Makefile24
-rw-r--r--math/mpfr/pkg-plist1
2 files changed, 6 insertions, 19 deletions
diff --git a/math/mpfr/Makefile b/math/mpfr/Makefile
index db850c0c1339..9461b0a4773c 100644
--- a/math/mpfr/Makefile
+++ b/math/mpfr/Makefile
@@ -3,6 +3,7 @@
PORTNAME= mpfr
PORTVERSION= 3.1.2
+PORTREVISION= 1
CATEGORIES= math devel
MASTER_SITES= http://www.mpfr.org/mpfr-current/
DIST_SUBDIR= ${DISTNAME}
@@ -11,19 +12,18 @@ PATCH_SITES= ${MASTER_SITES}
PATCH_DIST_STRIP= -p1
MAINTAINER= ale@FreeBSD.org
-COMMENT= A library for multiple-precision floating-point computations
+COMMENT= Library for multiple-precision floating-point computations
LICENSE= LGPL3
#PATCH_DEPENDS= gpatch:${PORTSDIR}/devel/patch
-LIB_DEPENDS= gmp:${PORTSDIR}/math/gmp
+LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
#PATCHLEVEL= 10
#PATCHFILES!= /usr/bin/jot -s " " -w patch%02d ${PATCHLEVEL} 1 ${PATCHLEVEL}
#PATCH= ${LOCALBASE}/bin/gpatch
-USE_AUTOTOOLS= libtool
-USE_GNOME= ltverhack
+USES= libtool
USE_XZ= yes
GNU_CONFIGURE= yes
@@ -35,21 +35,7 @@ INFO= mpfr
PORTDOCS= *
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 803000
-CONFIGURE_ARGS+= --disable-thread-safe
-.endif
-
-.if ! ${PORT_OPTIONS:MDOCS}
-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.post.mk>
+.include <bsd.port.mk>
diff --git a/math/mpfr/pkg-plist b/math/mpfr/pkg-plist
index 9b215b8de728..fe97b4f613c2 100644
--- a/math/mpfr/pkg-plist
+++ b/math/mpfr/pkg-plist
@@ -4,3 +4,4 @@ lib/libmpfr.a
lib/libmpfr.la
lib/libmpfr.so
lib/libmpfr.so.4
+lib/libmpfr.so.4.1.2