From owner-svn-ports-all@freebsd.org Tue Oct 25 18:18:58 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5D0FDC20CDE; Tue, 25 Oct 2016 18:18:58 +0000 (UTC) (envelope-from jrm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 13530D60; Tue, 25 Oct 2016 18:18:58 +0000 (UTC) (envelope-from jrm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u9PIIvPY000229; Tue, 25 Oct 2016 18:18:57 GMT (envelope-from jrm@FreeBSD.org) Received: (from jrm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u9PIIv3M000227; Tue, 25 Oct 2016 18:18:57 GMT (envelope-from jrm@FreeBSD.org) Message-Id: <201610251818.u9PIIv3M000227@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jrm set sender to jrm@FreeBSD.org using -f From: Joseph Mingrone Date: Tue, 25 Oct 2016 18:18:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r424642 - head/math/libRmath X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Oct 2016 18:18:58 -0000 Author: jrm Date: Tue Oct 25 18:18:56 2016 New Revision: 424642 URL: https://svnweb.freebsd.org/changeset/ports/424642 Log: math/libRmath: make standalone (free from math/R) and unmark as BROKEN Approved by: swills (mentor) Differential Revision: https://reviews.freebsd.org/D8289 Added: head/math/libRmath/distinfo (contents, props changed) Modified: head/math/libRmath/Makefile Modified: head/math/libRmath/Makefile ============================================================================== --- head/math/libRmath/Makefile Tue Oct 25 17:57:29 2016 (r424641) +++ head/math/libRmath/Makefile Tue Oct 25 18:18:56 2016 (r424642) @@ -1,17 +1,44 @@ # Created by: Eric van Gyzen # $FreeBSD$ -PORTNAME= libRmath +PORTNAME= libRmath +PORTVERSION= 3.3.1 +CATEGORIES= math lang +MASTER_SITES= CRAN/src/base/R-${PORTVERSION:C|\..*||} +DISTNAME= R-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} + +MAINTAINER= jrm@FreeBSD.org +COMMENT= Standalone math library from R + +LICENSE= GPLv2 + +LIB_DEPENDS= libcurl.so:ftp/curl \ + libpcre.so:devel/pcre + +BUILD_WRKSRC= ${WRKSRC}/src/nmath/standalone +CONFIGURE_ARGS= --disable-nls --with-ICU=no --with-cairo=no \ + --with-jpeglib=no --with-libpng=no --with-libtiff=no \ + --with-readline=no --with-tcltk=no --with-x=no \ + --without-libintl-prefix +CONFIGURE_ENV+= ac_cv_header_iconv_h=no +GNU_CONFIGURE= yes +RMATH_SOVERSION= 1 +USES= fortran localbase +USE_LDCONFIG= yes + +PLIST_SUB= RMATH_SOVERSION="${RMATH_SOVERSION}" + +post-patch: + @${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g'\ + ${WRKSRC}/src/nmath/standalone/Makefile.in \ + ${WRKSRC}/src/unix/Makefile.in + @${REINPLACE_CMD} -e "s|/usr/local|${LOCALBASE}|g" \ + ${WRKSRC}/configure + +do-install: + ${INSTALL_DATA} ${WRKSRC}/src/include/Rmath.h ${STAGEDIR}${PREFIX}/include + ${INSTALL_DATA} ${BUILD_WRKSRC}/libRmath.a ${STAGEDIR}${PREFIX}/lib + ${INSTALL_LIB} ${BUILD_WRKSRC}/libRmath.so ${STAGEDIR}${PREFIX}/lib/libRmath.so + (cd ${STAGEDIR}${PREFIX}/lib; ${LN} -sf libRmath.so libRmath.so.${RMATH_SOVERSION}) -COMMENT= The standalone math library from R - -BROKEN= fails to configure - -DESCR= ${.CURDIR}/pkg-descr -LIBRMATH_SLAVEPORT= yes -MASTERDIR= ${.CURDIR}/../R -PLIST= ${.CURDIR}/pkg-plist - -BROKEN_powerpc64= Does not build - -.include "${MASTERDIR}/Makefile" +.include Added: head/math/libRmath/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/libRmath/distinfo Tue Oct 25 18:18:56 2016 (r424642) @@ -0,0 +1,3 @@ +TIMESTAMP = 1476901394 +SHA256 (R-3.3.1.tar.gz) = 3dc59ae5831f5380f83c169bac2103ad052efe0ecec4ffa74bde4d85a0fda9e2 +SIZE (R-3.3.1.tar.gz) = 29848329