ports/66644: New Port: math/libRmath -- The standalone math library from R

Eric van Gyzen vangyzen at stat.duke.edu
Fri May 14 19:50:34 UTC 2004


>Number:         66644
>Category:       ports
>Synopsis:       New Port: math/libRmath -- The standalone math library from R
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 14 12:50:24 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Eric van Gyzen
>Release:        FreeBSD 5.2-RELEASE i386
>Organization:
Duke University Statistics
>Environment:

>Description:
New port: math/libRmath -- The standalone math library from R

>How-To-Repeat:

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	ports/math/libRmath
#	ports/math/libRmath/distinfo
#	ports/math/libRmath/Makefile
#	ports/math/libRmath/pkg-descr
#
echo c - ports/math/libRmath
mkdir -p ports/math/libRmath > /dev/null 2>&1
echo x - ports/math/libRmath/distinfo
sed 's/^X//' >ports/math/libRmath/distinfo << 'END-of-ports/math/libRmath/distinfo'
XMD5 (R-1.9.0.tgz) = 79ae9d20a7bed94d7c92504c8c130310
XSIZE (R-1.9.0.tgz) = 9505598
END-of-ports/math/libRmath/distinfo
echo x - ports/math/libRmath/Makefile
sed 's/^X//' >ports/math/libRmath/Makefile << 'END-of-ports/math/libRmath/Makefile'
X# ex: tabstop=8 softtabstop=0 noexpandtab
X# Ports collection Makefile for:	libRmath
X# Date created:				14 May 2004
X# Whom:					Eric van Gyzen <vangyzen at stat.duke.edu>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	libRmath
XPORTVERSION=	1.9.0
XCATEGORIES=	math
XMASTER_SITES=	http://cran.r-project.org/src/base/ \
X		ftp://cran.r-project.org/pub/R/src/base/ \
X		http://cran.at.r-project.org/src/base/ \
X		http://cran.au.r-project.org/src/base/ \
X		http://cran.br.r-project.org/src/base/ \
X		http://cran.ch.r-project.org/src/base/ \
X		http://cran.es.r-project.org/src/base/ \
X		http://cran.dk.r-project.org/src/base/ \
X		http://cran.hu.r-project.org/src/base/ \
X		http://cran.uk.r-project.org/src/base/ \
X		http://cran.us.r-project.org/src/base/ \
X		http://cran.za.r-project.org/src/base/ \
X		ftp://ftp.u-aizu.ac.jp/pub/lang/R/CRAN/src/base/ \
X		http://lib.stat.cmu.edu/R/CRAN/src/base/ \
X		http://cran.stat.ucla.edu/src/base/ \
X		http://probability.ca/cran/src/base/ \
X		http://www.ibiblio.org/pub/languages/R/CRAN/src/base/ \
X		http://www.bioconductor.org/CRAN/src/base/
XDISTNAME=	R-${PORTVERSION}
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	vangyzen at stat.duke.edu
XCOMMENT=	The standalone math library from R
X
XINSTALLS_SHLIB=	yes
XGNU_CONFIGURE=	yes
X
XPLIST_FILES=	include/Rmath.h lib/libRmath.a lib/libRmath.so lib/libRmath.so.0
X
Xdo-build:
X	(cd ${WRKSRC}/src/include; ${MAKE} Rmath.h)
X	(cd ${WRKSRC}/src/nmath/standalone; ${MAKE})
X
Xdo-install:
X	${MKDIR} ${PREFIX}/include ${PREFIX}/lib
X	${INSTALL_DATA} ${WRKSRC}/src/include/Rmath.h ${PREFIX}/include/
X	${INSTALL_DATA} ${WRKSRC}/src/nmath/standalone/libRmath.a ${PREFIX}/lib/
X	${INSTALL_DATA} ${WRKSRC}/src/nmath/standalone/libRmath.so \
X		${PREFIX}/lib/libRmath.so.0
X	(cd ${PREFIX}/lib; ${LN} -sf libRmath.so.0 libRmath.so)
X
X.include <bsd.port.mk>
END-of-ports/math/libRmath/Makefile
echo x - ports/math/libRmath/pkg-descr
sed 's/^X//' >ports/math/libRmath/pkg-descr << 'END-of-ports/math/libRmath/pkg-descr'
XThis is the standalone math library from R.  R is a language
Xand environment for statistical computing and graphics.  
XTo use the routines in your own C or C++ programs, include
X
X#define MATHLIB_STANDALONE
X#include <Rmath.h>
X
Xand link against -lRmath.
X
XWWW: http://www.R-project.org/
END-of-ports/math/libRmath/pkg-descr
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list