Date: Tue, 19 Jul 2005 08:56:17 +0200 From: Philippe Waelti <philippe.waelti@eivd.ch> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Philippe Waelti <philippe.waelti@eivd.ch> Subject: ports/83707: [NEW PORT] math/p5-Statistics-R: Controls the R (R-project) interpreter through Perl Message-ID: <20050719065617.GB12763@pwiux01.eivd.ch> Resent-Message-ID: <200507190700.j6J70LOZ064601@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 83707 >Category: ports >Synopsis: [NEW PORT] math/p5-Statistics-R: Controls the R (R-project) interpreter through Perl >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: Tue Jul 19 07:00:21 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Philippe Waelti >Release: FreeBSD 5.4-RELEASE-p4 i386 >Organization: EiVD >Environment: System: FreeBSD pwiux01.eivd.ch 5.4-RELEASE-p4 FreeBSD 5.4-RELEASE-p4 #6: Thu Jul 7 08:56:27 CEST >Description: This will permit the control of the the R (R-project) interpreter through Perl. You can for example, start only one instance of the R interpreter and have different Perl process accessing it. WWW: http://search.cpan.org/dist/Statistics-R-0.02 - Walter philippe.waelti@eivd.ch Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- p5-Statistics-R-0.02.shar begins here --- # 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: # # p5-Statistics-R # p5-Statistics-R/distinfo # p5-Statistics-R/Makefile # p5-Statistics-R/pkg-descr # p5-Statistics-R/files # p5-Statistics-R/files/patch-bridge-linux # p5-Statistics-R/pkg-plist # echo c - p5-Statistics-R mkdir -p p5-Statistics-R > /dev/null 2>&1 echo x - p5-Statistics-R/distinfo sed 's/^X//' >p5-Statistics-R/distinfo << 'END-of-p5-Statistics-R/distinfo' XMD5 (Statistics-R-0.02.tar.gz) = 8c6c260ab0031d9191a293543e650d74 XSIZE (Statistics-R-0.02.tar.gz) = 9129 END-of-p5-Statistics-R/distinfo echo x - p5-Statistics-R/Makefile sed 's/^X//' >p5-Statistics-R/Makefile << 'END-of-p5-Statistics-R/Makefile' X# New ports collection makefile for: p5-Statistics-R X# Date created: 12 July 2005 X# Whom: pwaelti X# X# $FreeBSD$ X# X XPORTNAME= Statistics-R XPORTVERSION= 0.02 XCATEGORIES= math perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= Statistics XPKGNAMEPREFIX= p5- X XMAINTAINER= philippe.waelti@eivd.ch XCOMMENT= Controls the R (R-project) interpreter through Perl X XBUILD_DEPENDS= R:${PORTSDIR}/math/R XRUN_DEPENDS= ${BUILD_DEPENDS} X XPERL_CONFIGURE= yes X XMAN3= Statistics::R::Bridge.3 Statistics::R::Bridge::pipe.3 \ X Statistics::R.3 Statistics::R::Bridge::Linux.3 \ X Statistics::R::Bridge::Win32.3 X X.include <bsd.port.mk> END-of-p5-Statistics-R/Makefile echo x - p5-Statistics-R/pkg-descr sed 's/^X//' >p5-Statistics-R/pkg-descr << 'END-of-p5-Statistics-R/pkg-descr' XThis will permit the control of the the R (R-project) interpreter Xthrough Perl. X XYou can for example, start only one instance of the R interpreter and have Xdifferent Perl process accessing it. X XWWW: http://search.cpan.org/dist/Statistics-R-0.02 X X- Walter Xphilippe.waelti@eivd.ch END-of-p5-Statistics-R/pkg-descr echo c - p5-Statistics-R/files mkdir -p p5-Statistics-R/files > /dev/null 2>&1 echo x - p5-Statistics-R/files/patch-bridge-linux sed 's/^X//' >p5-Statistics-R/files/patch-bridge-linux << 'END-of-p5-Statistics-R/files/patch-bridge-linux' X--- lib/Statistics/R/Bridge/Linux.pm.orig Tue Jul 12 10:35:30 2005 X+++ lib/Statistics/R/Bridge/Linux.pm Tue Jul 12 10:35:54 2005 X@@ -95,11 +95,11 @@ X if ( !-s $this->{R_BIN} ) { $this->error("Can'find R binary!") ; return UNDEF ;} X if ( !-d $this->{R_DIR} ) { $this->error("Can'find R directory!") ; return UNDEF ;} X X- $this->{START_CMD} = "$this->{R_BIN} --slave --vanilla --gui=none" ; X+ $this->{START_CMD} = "$this->{R_BIN} --slave --vanilla" ; X X if ( !$args{log_dir} ) { $args{log_dir} = "$this->{TMP_DIR}/Statistics-R" ;} X X- $this->{OS} = 'linux' ; X+ $this->{OS} = 'FreeBSD' ; X X $this->SUPER::pipe(%args) ; X } END-of-p5-Statistics-R/files/patch-bridge-linux echo x - p5-Statistics-R/pkg-plist sed 's/^X//' >p5-Statistics-R/pkg-plist << 'END-of-p5-Statistics-R/pkg-plist' Xbin/statistics-r.pl X%%SITE_PERL%%/Statistics/R.pm X%%SITE_PERL%%/Statistics/R/Bridge.pm X%%SITE_PERL%%/Statistics/R/Bridge/Linux.pm X%%SITE_PERL%%/Statistics/R/Bridge/Win32.pm X%%SITE_PERL%%/Statistics/R/Bridge/pipe.pm X%%SITE_PERL%%/mach/auto/Statistics/R/.packlist X@dirrm %%SITE_PERL%%/mach/auto/Statistics/R X@dirrm %%SITE_PERL%%/Statistics/R/Bridge X@dirrm %%SITE_PERL%%/Statistics/R X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Statistics 2>/dev/null || true X@unexec rmdir %D/%%SITE_PERL%%/Statistics 2>/dev/null || true END-of-p5-Statistics-R/pkg-plist exit --- p5-Statistics-R-0.02.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050719065617.GB12763>