diff options
author | jlam <jlam@pkgsrc.org> | 2001-07-23 13:14:44 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-07-23 13:14:44 +0000 |
commit | cbee525ae72bf7d2012d44f9d95760000b636a50 (patch) | |
tree | 20edc4c8932e79bd48ffd0881efd15e75be453e5 /math/R/Makefile | |
parent | 1934a5ae419c055068a53f0eb5541b73ef68b6d6 (diff) | |
download | pkgsrc-cbee525ae72bf7d2012d44f9d95760000b636a50.tar.gz |
Update R to 1.3.0. This is a two-generation upgrade from the previous 1.1.1
version in pkgsrc. There are many, many bugfixes, better compliance with
S3/S4, and many additional statistical analysis functions added to the
base library. There is also an improved (faster) garbage collector and
support for dynamically sizing the memory used by R. The full summary of
changes may be found on the R Project website.
Diffstat (limited to 'math/R/Makefile')
-rw-r--r-- | math/R/Makefile | 71 |
1 files changed, 42 insertions, 29 deletions
diff --git a/math/R/Makefile b/math/R/Makefile index 2130f20582b..2b14e855a24 100644 --- a/math/R/Makefile +++ b/math/R/Makefile @@ -1,11 +1,10 @@ -# $NetBSD: Makefile,v 1.24 2001/06/12 20:33:05 jlam Exp $ -# +# $NetBSD: Makefile,v 1.25 2001/07/23 13:14:44 jlam Exp $ -DISTNAME= R-1.1.1 +DISTNAME= R-1.3.0 CATEGORIES= math -MASTER_SITES= http://cran.r-project.org/src/base/ \ +MASTER_SITES= http://lib.stat.cmu.edu/R/CRAN/src/base/ \ + http://cran.r-project.org/src/base/ \ ftp://cran.r-project.org/pub/R/src/base/ \ - http://lib.stat.cmu.edu/R/CRAN/src/base/ \ http://cran.stat.wisc.edu/src/base/ \ http://SunSITE.auc.dk/R/src/base/ \ ftp://ftp.u-aizu.ac.jp/pub/lang/R/CRAN/src/base/ \ @@ -18,36 +17,41 @@ EXTRACT_SUFX= .tgz MAINTAINER= jlam@netbsd.org HOMEPAGE= http://www.R-project.org/ -COMMENT= Statistical language for data analysis and graphics BUILD_DEPENDS+= autoconf-2.13:../../devel/autoconf -DEPENDS+= readline>=4.0:../../devel/readline -DEPENDS+= jpeg-*:../../graphics/jpeg -DEPENDS+= png>=1.0.11:../../graphics/png - -# Requires IEEE math -NOT_FOR_PLATFORM= *-*-alpha -USE_FORTRAN= # defined +USE_BUILDLINK_ONLY= # defined USE_X11= # defined USE_PERL5= # defined USE_GMAKE= # defined +USE_GNU_READLINE= # uses callback interface GNU_CONFIGURE= # defined CONFIGURE_ARGS+= --with-x CONFIGURE_ARGS+= --with-readline -CONFIGURE_ARGS+= --without-gnome # not yet stable -CONFIGURE_ARGS+= --without-tcltk # not yet stable +CONFIGURE_ARGS+= --with-tcltk +CONFIGURE_ARGS+= --with-tcl-config=${BUILDLINK_DIR}/lib/tclConfig.sh +CONFIGURE_ARGS+= --with-tk-config=${BUILDLINK_DIR}/lib/tkConfig.sh +CONFIGURE_ARGS+= --without-gnome # not yet stable +CONFIGURE_ENV+= XMKMF="${XMKMF}" + +# Use BLAS (math/blas) +# CONFIGURE_ARGS+= --without-atlas -CONFIGURE_ARGS+= --without-blas +CONFIGURE_ARGS+= --with-blas CONFIGURE_ARGS+= --without-blas_risc CONFIGURE_ARGS+= --without-dxml CONFIGURE_ARGS+= --without-libmoto -CONFIGURE_ENV+= MAKE="${MAKE_PROGRAM}" +# Work around missing MAIN__() definition used in -lF77 by AC_CHECK_LIB. +CONFIGURE_ENV+= ac_cv_lib_blas_dgemm=yes +CONFIGURE_ENV+= ac_cv_lib_blas_dgemm_=yes -CPPFLAGS+= -I${LOCALBASE}/include # readline/readline.h -LIBS+= -ltermcap # -lreadline -ltermcap +# Pass the Fortran compiler to the configure script in case it's overridden +# by the package builder. +# +USE_FORTRAN= # defined +CONFIGURE_ENV+= FC="${FC}" .include "../../mk/bsd.prefs.mk" @@ -72,8 +76,11 @@ PLIST_SRC= ${WRKDIR}/.PLIST_SRC R_LIBDIR= ${PREFIX}/lib/R INSTALL_DIRS= ${R_LIBDIR} +REPLACE_BUILDLINK= src/scripts/R.fe +REPLACE_BUILDLINK_SED= -e "s|${BUILDLINK_DIR}/|${LOCALBASE}/|g" + pre-configure: - cd ${WRKSRC} && ${LOCALBASE}/bin/autoreconf + cd ${WRKSRC} && ${LOCALBASE}/bin/autoreconf --force # Generate the PLIST dynamically as it changes in each version only in a # specific subtree. This will make maintaining this package a little easier @@ -83,15 +90,21 @@ post-install: ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${R_LIBDIR} ${RM} -f ${PLIST_SRC} ${CAT} ${PKGDIR}/PLIST > ${PLIST_SRC} - ( cd ${PREFIX}; \ - for dir in ${INSTALL_DIRS}; do \ + ( cd ${PREFIX}; \ + for dir in ${INSTALL_DIRS}; do \ ${FIND} $${dir#${PREFIX}/} \( -type f -or -type l \) -print; \ - done; \ - ) | sort -u >> ${PLIST_SRC} - ( cd ${PREFIX}; \ - for dir in ${INSTALL_DIRS}; do \ - ${FIND} $${dir#${PREFIX}/} -type d -print; \ - done; \ - ) | sort -ur | ${SED} -e "s,^,@dirrm ," >> ${PLIST_SRC} + done; \ + ) | ${SORT} -u >> ${PLIST_SRC} + ( cd ${PREFIX}; \ + for dir in ${INSTALL_DIRS}; do \ + ${FIND} $${dir#${PREFIX}/} -type d -print; \ + done; \ + ) | ${SORT} -ur | ${SED} -e "s|^|@dirrm |" >> ${PLIST_SRC} +.include "../../devel/readline/buildlink.mk" +.include "../../devel/zlib/buildlink.mk" +.include "../../graphics/jpeg/buildlink.mk" +.include "../../graphics/png/buildlink.mk" +.include "../../math/blas/buildlink.mk" +.include "../../x11/tk/buildlink.mk" .include "../../mk/bsd.pkg.mk" |