diff options
author | mph <mph@FreeBSD.org> | 1998-05-07 06:08:25 +0000 |
---|---|---|
committer | mph <mph@FreeBSD.org> | 1998-05-07 06:08:25 +0000 |
commit | c5325d204ebaa6e69dddc044c3245c8ec968e2a8 (patch) | |
tree | 033e5a59455a56582ef961d7f6cc2815fc341c70 /math/R-letter | |
parent | 10528e827b5174a8036cb0a9c40441f6746f4304 (diff) | |
download | FreeBSD-ports-c5325d204ebaa6e69dddc044c3245c8ec968e2a8.zip FreeBSD-ports-c5325d204ebaa6e69dddc044c3245c8ec968e2a8.tar.gz |
Change package name from "r" to "R" (after discussion with Mark
Murray and Satoshi Asami).
Correct the handling of paper sizes.
PR: 6520
Submitted by: Maurice Castro <maurice@atum.castro.aus.net>
Diffstat (limited to 'math/R-letter')
-rw-r--r-- | math/R-letter/Makefile | 6 | ||||
-rw-r--r-- | math/R-letter/files/R | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/math/R-letter/Makefile b/math/R-letter/Makefile index ac1cd75..186721d 100644 --- a/math/R-letter/Makefile +++ b/math/R-letter/Makefile @@ -3,11 +3,11 @@ # Date created: Mon May 4 10:03:02 EST 1998 # Whom: Maurice Castro <maurice@serc.rmit.edu.au> # -# $Id$ +# $Id: Makefile,v 1.1.1.1 1998/05/04 17:53:34 mph Exp $ # DISTNAME= R-0.61.2 -PKGNAME= r-${PAPERSIZE:S/A4/a4/:S/LETTER/letter/:S/Letter/letter/}-0.61.2 +PKGNAME= R-${PAPERSIZE:S/A4/a4/:S/LETTER/letter/:S/Letter/letter/}-0.61.2 CATEGORIES= math MASTER_SITES= http://lib.stat.cmu.edu/R/CRAN/src/base/ \ ftp://ftp.stat.math.ethz.ch/R/ \ @@ -43,7 +43,7 @@ post-configure: cd ${WRKSRC}/etc; && ${PREFIX}/bin/perl -pi -e "s#/usr/bin/perl#${PREFIX}/bin/perl#" `grep -l /usr/bin/perl *` do-install: - ${SED} 's:PREFIX:${PREFIX}:' ${FILESDIR}/R > ${PREFIX}/bin/R + ${SED} 's:PREFIX:${PREFIX}:;s:DEFAULTPAPER:${PAPERSIZE}:' ${FILESDIR}/R > ${PREFIX}/bin/R (cd ${WRKSRC}; find . -type d -exec chmod a+rx \{\} \; ) (cd ${WRKSRC}; find . -type f -exec chmod a+r \{\} \; ) chmod a+x ${PREFIX}/bin/R diff --git a/math/R-letter/files/R b/math/R-letter/files/R index 493f41b..fdb5823 100644 --- a/math/R-letter/files/R +++ b/math/R-letter/files/R @@ -51,7 +51,7 @@ fi # R_PAPERSIZE="a4" # R_PAPERSIZE="letter" # R_PAPERSIZE="none" -R_PAPERSIZE=a4 +R_PAPERSIZE=DEFAULTPAPER export R_PAPERSIZE # Default Print Command |