# vim: tabstop=8 softtabstop=0 noexpandtab # Ports Makefile for: libRmath # Date created: 14 May 2004 # Whom: Eric van Gyzen # # $FreeBSD$ # PORTNAME= libRmath PORTVERSION= 2.3.1 CATEGORIES= math MASTER_SITES= http://cran.r-project.org/src/base/R-2/ \ ftp://cran.r-project.org/pub/R/src/base/R-2/ \ http://cran.at.r-project.org/src/base/R-2/ \ http://cran.au.r-project.org/src/base/R-2/ \ http://cran.br.r-project.org/src/base/R-2/ \ http://cran.ch.r-project.org/src/base/R-2/ \ http://cran.es.r-project.org/src/base/R-2/ \ http://cran.dk.r-project.org/src/base/R-2/ \ http://cran.hu.r-project.org/src/base/R-2/ \ http://cran.uk.r-project.org/src/base/R-2/ \ http://cran.us.r-project.org/src/base/R-2/ \ http://cran.za.r-project.org/src/base/R-2/ \ ftp://ftp.u-aizu.ac.jp/pub/lang/R/CRAN/src/base/R-2/ \ http://lib.stat.cmu.edu/R/CRAN/src/base/R-2/ \ http://cran.stat.ucla.edu/src/base/R-2/ \ http://probability.ca/cran/src/base/R-2/ \ http://www.ibiblio.org/pub/languages/R/CRAN/src/base/R-2/ \ http://www.bioconductor.org/CRAN/src/base/R-2/ DISTNAME= R-${PORTVERSION} MAINTAINER= eric+fbports@vangyzen.net COMMENT= The standalone math library from R GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS+=--without-x PLIST_FILES= include/Rmath.h lib/libRmath.a lib/libRmath.so lib/libRmath.so.0 do-build: (cd ${WRKSRC}/src/nmath/standalone; ${MAKE}) do-install: ${INSTALL_DATA} ${WRKSRC}/src/include/Rmath.h ${PREFIX}/include ${INSTALL_DATA} ${WRKSRC}/src/nmath/standalone/libRmath.a ${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/src/nmath/standalone/libRmath.so \ ${PREFIX}/lib/libRmath.so.0 (cd ${PREFIX}/lib; ${LN} -sf libRmath.so.0 libRmath.so) .include