# vim: tabstop=8 softtabstop=0 noexpandtab # Ports Makefile for: libRmath # Date created: 14 May 2004 # Whom: Eric van Gyzen # # $FreeBSD$ # PORTNAME= libRmath PORTVERSION= 2.4.0 PORTREVISION= 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 BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42 WANT_FORTRAN= yes #dummy but future use FC= gfortran42 F77= gfortran42 GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS+=--without-x CONFIGURE_ENV+= F77="${F77}" 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