Page MenuHomeFreeBSD

D8289.id21513.diff
No OneTemporary

D8289.id21513.diff

Index: math/libRmath/Makefile
===================================================================
--- math/libRmath/Makefile
+++ math/libRmath/Makefile
@@ -1,17 +1,58 @@
# Created by: Eric van Gyzen <vangyzen@stat.duke.edu>
# $FreeBSD$
-PORTNAME= libRmath
+PORTNAME= libRmath
+PORTVERSION= 3.3.1
+CATEGORIES= math lang
+MASTER_SITES= http://cran.r-project.org/%SUBDIR%/ \
+ ftp://cran.r-project.org/pub/R/%SUBDIR%/ \
+ http://cran.at.r-project.org/%SUBDIR%/ \
+ http://cran.au.r-project.org/%SUBDIR%/ \
+ http://cran.br.r-project.org/%SUBDIR%/ \
+ http://cran.ch.r-project.org/%SUBDIR%/ \
+ http://cran.es.r-project.org/%SUBDIR%/ \
+ http://cran.dk.r-project.org/%SUBDIR%/ \
+ http://cran.uk.r-project.org/%SUBDIR%/ \
+ http://cran.us.r-project.org/%SUBDIR%/ \
+ ftp://ftp.u-aizu.ac.jp/pub/lang/R/CRAN/%SUBDIR%/ \
+ http://lib.stat.cmu.edu/R/CRAN/%SUBDIR%/ \
+ http://cran.stat.ucla.edu/%SUBDIR%/ \
+ http://probability.ca/cran/%SUBDIR%/
+MASTER_SITE_SUBDIR= 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 <bsd.port.mk>
Index: math/libRmath/distinfo
===================================================================
--- /dev/null
+++ math/libRmath/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1476901394
+SHA256 (R-3.3.1.tar.gz) = 3dc59ae5831f5380f83c169bac2103ad052efe0ecec4ffa74bde4d85a0fda9e2
+SIZE (R-3.3.1.tar.gz) = 29848329

File Metadata

Mime Type
text/plain
Expires
Sat, Jan 31, 7:25 PM (13 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28164707
Default Alt Text
D8289.id21513.diff (2 KB)

Event Timeline