Bug 6503

Summary: R port
Product: Ports & Packages Reporter: Maurice Castro <maurice>
Component: Individual Port(s)Assignee: mph <mph>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.shar none

Description Maurice Castro 1998-05-04 05:00:02 UTC

	New port of R

Fix: Shar archive of port	 math/R
Comment 1 mph freebsd_committer freebsd_triage 1998-05-04 05:59:22 UTC
State Changed
From-To: open->feedback

In your Makefile, you define PATCH_SITES, but you do not list any 
PATCHFILES.  Can I remove PATCH_SITES, or should there be some 
PATCHFILES added? 


Comment 2 mph freebsd_committer freebsd_triage 1998-05-04 05:59:22 UTC
Responsible Changed
From-To: freebsd-ports->mph


Comment 3 Maurice Castro 1998-05-04 06:12:20 UTC
PATCH_SITES can go...
The previous version of the port had patches, but this one does not.

    Maurice Castro
Comment 4 ac199 1998-05-04 07:37:01 UTC
On Mon, 4 May 1998, Maurice Castro wrote:

> X# Default Printer Paper Size
> X# Choose one of the following
> X# R_PAPERSIZE="a4"
> X# R_PAPERSIZE="letter"
> X# R_PAPERSIZE="none"
> XR_PAPERSIZE=a4
> Xexport R_PAPERSIZE

Instead of hardcoding this, it would be better to change the 2nd
last line to something like

R_PAPERSIZE=PAPERSIZETOKEN

And then add something into the port Makefile to substitute
${PAPERSIZE} at port configure-time for PAPERSIZETOKEN.

Mechanisms to help with this will be added to bsd.port.mk
sometime before 3.0-RELEASE (yes, I swear it!!), but the above is
probably the quick fix. 


--
This .sig is not innovative, witty, or profund.
Comment 5 mph freebsd_committer freebsd_triage 1998-05-04 18:54:04 UTC
State Changed
From-To: feedback->closed

Commited, thanks.  There is one major change, suggested by Tim 
Vanderhoek.  Setting PAPERSIZE to "a4" or "letter" during build will 
configure for the appropriate paper size.  If you know this software 
well enough to produce printed output, could you please confirm that 
it works?
Comment 6 Maurice Castro 1998-05-05 01:08:16 UTC
Here is a script that produces a sine wave ... just copy it into the
text window and print the file test.ps. Answer n to the question asked
by q.

    Maurice Castro

postscript(file="test.ps")
x <- c(1:314 * 0.1)
y <- sin(x)
plot(x,y,type="l")
x11()
q()