pkgsrc/math/R/Makefile
markd 43a0a3b29e Update to R 2.7.2
NEW FEATURES

    o   sprintf() returns elements of the result in UTF-8 when the
        format or any character input has a corresponding element
        declared as UTF-8.  Similarly for paste(), elements of the
        result are in UTF-8 when any input to that element is declared
        as UTF-8.

    o   axis() has new arguments 'col.ticks' and 'lwd.ticks' to allow
        the colour and line width of ticks to be set separately from
        that of the line (e.g. to set one or the other to transparent
        or zero width).

    o   legend() has a new argument 'box.col' to set the colour of the
        enclosing box.

    o   legend() gains a 'xpd' argument to make it easier to place a
        legend in the margins or outer margins.

    o   stripchart() now passes '...' to title() (as well as to
        plot.default() and axis()). (Wish of PR#12202)

    o   help.search() has new argument 'searchEngine' to go
        directly to the search form: this is needed by users of
        Firefox 3 to workaround a bug in interpreting the search
        results pages.

+ BUG FIXES

2.7.1 NEW FEATURES

    o   tools::texi2dvi() has a new argument 'texinputs' to allow the
        TeX and bibtex input paths to be specified (even on MiKTeX).

    o   dev.copy2pdf() gains an 'out.type' argument to allow it to be
        used with cairo_pdf() or quartz(type = "pdf").

    o   poly() has additional checks against user error (as in PR#11243).

    o   The Mac OS quartz() device draws contiguous lines much faster.

    o   A field containing just a sign is no longer regarded as numeric
        (it was on all platforms in 2.7.0, but not on most in earlier
        versions of R).  Similarly, '.' is now always non-numeric.

    o   CITATION files are now read in Latin-1: quite a few were
        failing if used in a multibyte locale such as UTF-8.

    o   The DESCRIPTION file of a package can specify an 'OS_type' field
        as either 'unix' or 'windows' to confine installation to that
        OS type.

    o   HoltWinters() now uses optimize() rather than optim for
        one-parameter problems which should be more reliable (PR#11469).

    o   axis() now respects the setting of par("xpd") when clipping.

    o   The 'factor' method of format() now preserves names, dims and
        dimnames in the same way as for character and numeric inputs.
        (PR#11512)

    o   read.DIF(*, transpose=TRUE) now allows to correctly read DIF files
        produced by some versions of Excel.

DEPRECATED & DEFUNCT

    o   The use of unserialize() on character strings is deprecated:
        that was a format used in R < 2.4.0.

    o   The use of embedded nuls in character strings is deprecated:
        They will no longer be allowed in R 2.8.0.


UTILITIES

    o   R CMD check checks for possible check directories in the
        sources -- in mid-2008 there were about 20 examples on CRAN.

    o   R CMD build tries harder to clean up the inst/doc directory
        from the remnants of earlier builds.

        It also removes any directories with extension .Rcheck, and
        files .DS_Store and ._* (created by tar on Mac OS X under some
        circumstances: it now sets environment variables to ask for
        such files not to be created by that tar.)


+ BUG FIXES
2008-08-31 12:37:27 +00:00

114 lines
3.6 KiB
Makefile

# $NetBSD: Makefile,v 1.100 2008/08/31 12:37:27 markd Exp $
DISTNAME= R-2.7.2
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_R_CRAN:=base/R-2/}
MAINTAINER= markd@NetBSD.org
HOMEPAGE= http://www.R-project.org/
COMMENT= Statistical language for data analysis and graphics
#needs FPC code not found in older versions of NetBSD
NOT_FOR_PLATFORM= NetBSD-1.[0-4]*-alpha NetBSD-1.5-alpha \
NetBSD-1.5.*-alpha NetBSD-1.5[A-U]-alpha
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
TEST_TARGET= check
USE_TOOLS+= gmake gzip:run makeinfo perl:run sed unzip:run xmkmf
USE_GNU_READLINE= yes # uses callback interface
USE_GNU_ICONV= yes # latin1 support, iconvlist
USE_LANGUAGES= c fortran
USE_LIBTOOL= yes
TEXINFO_REQD= 4.7
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-R-shlib
CONFIGURE_ARGS+= --with-x
CONFIGURE_ARGS+= --with-readline
CONFIGURE_ARGS+= --with-tcltk
CONFIGURE_ARGS+= --with-tcl-config=${BUILDLINK_PREFIX.tcl}/lib/tclConfig.sh
CONFIGURE_ARGS+= --with-tk-config=${BUILDLINK_PREFIX.tk}/lib/tkConfig.sh
CONFIGURE_ARGS+= --without-gnome # not yet stable
CONFIGURE_ARGS+= --with-system-zlib
CONFIGURE_ARGS+= --with-system-bzlib
CONFIGURE_ARGS+= --with-system-pcre
# Disable Mac OS specific support used by R.app
CONFIGURE_ARGS+= --disable-R-framework
CONFIGURE_ARGS+= --without-aqua
# Use BLAS (math/blas)
#
CONFIGURE_ARGS+= --without-atlas
CONFIGURE_ARGS+= --with-blas
CONFIGURE_ARGS+= --without-blas_risc
CONFIGURE_ARGS+= --without-dxml
CONFIGURE_ARGS+= --without-libmoto
# Work around missing MAIN__() definition used in -lF77 by AC_CHECK_LIB.
# and other failures due to not linking to support libs during testing
CONFIGURE_ENV+= ac_cv_lib_blas_dgemm=yes
CONFIGURE_ENV+= ac_cv_lib_blas_dgemm_=yes
CONFIGURE_ENV+= r_cv_complete_blas=yes
# Broken test for bzlib >= 1.0.5 in R 2.7.0
CONFIGURE_ENV+= r_cv_have_bzlib=yes
CONFIGURE_ENV+= GETWD=${TOOLS_PWD_CMD:Q}
CONFIGURE_ENV+= lt_cv_path_LD=${LD:Q}
CONFIGURE_ENV+= lt_cv_path_SED=${TOOLS_SED:Q}
CONFIGURE_ENV+= ac_cv_path_R_GZIPCMD=${TOOLS_GZIP_CMD:Q}
CONFIGURE_ENV+= ac_cv_path_R_UNZIPCMD=${TOOLS_PATH.unzip}
# Package assumes it can append to files (specifically DESCRIPTION) that have
# been installed SHAREMODE
SHAREMODE= 644
.include "../../mk/bsd.prefs.mk"
# R_PAPERSIZE can be: A4, Letter, Legal, Executive
#
.if defined(PAPERSIZE)
R_PAPERSIZE?= ${PAPERSIZE}
.else
R_PAPERSIZE?= A4
.endif
.if (${R_PAPERSIZE} == "Letterdj")
R_PAPERSIZE= Letter
.endif
CONFIGURE_ENV+= R_PAPERSIZE=${R_PAPERSIZE:Q}
# These macros are used during the build, so strip off the -o,-g flags.
#
INSTALL_DATA= ${INSTALL} ${COPY} -m ${SHAREMODE}
INSTALL_SCRIPT= ${INSTALL} ${COPY} -m ${BINMODE}
BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.3
BUILDLINK_API_DEPENDS.bzip2+= bzip2>=1.0.5
.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M1.[0-6]*)
CONFIGURE_ARGS+= --enable-mbcs=no
.endif
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../math/blas/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
INSTALL_TEMPLATES+= ../../math/R/files/pkg-index.tmpl
DEINSTALL_TEMPLATES+= ../../math/R/files/pkg-index.tmpl
PRINT_PLIST_AWK+= /^lib\/R\/doc\/html\/packages.html$$/ { next; }
PRINT_PLIST_AWK+= /^lib\/R\/doc\/html\/search\/index.txt$$/ { next; }
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"