# vim: tabstop=8 softtabstop=0 noexpandtab # New ports collection makefile for: R # Date created: Fri Feb 9 10:50:25 EST 2001 # Whom: Maurice Castro # # $FreeBSD$ # PORTNAME= R PORTVERSION= 2.7.1 CATEGORIES= math lang MASTER_SITES= http://cran.r-project.org/src/base/R-2/ \ ftp://cran.r-project.org/pub/R/src/base/R-2/ \ http://cran.at.r-project.org/src/base/R-2/ \ http://cran.au.r-project.org/src/base/R-2/ \ http://cran.br.r-project.org/src/base/R-2/ \ http://cran.ch.r-project.org/src/base/R-2/ \ http://cran.es.r-project.org/src/base/R-2/ \ http://cran.dk.r-project.org/src/base/R-2/ \ http://cran.hu.r-project.org/src/base/R-2/ \ http://cran.uk.r-project.org/src/base/R-2/ \ http://cran.us.r-project.org/src/base/R-2/ \ http://cran.za.r-project.org/src/base/R-2/ \ ftp://ftp.u-aizu.ac.jp/pub/lang/R/CRAN/src/base/R-2/ \ http://lib.stat.cmu.edu/R/CRAN/src/base/R-2/ \ http://cran.stat.ucla.edu/src/base/R-2/ \ http://probability.ca/cran/src/base/R-2/ \ http://www.ibiblio.org/pub/languages/R/CRAN/src/base/R-2/ \ http://www.bioconductor.org/CRAN/src/base/R-2/ MAINTAINER= eric+fbports@vangyzen.net COMMENT= A language for statistical computing and graphics OPTIONS= ATLAS "Use ATLAS instead of BLAS/LAPACK" off \ TCLTK "Use Tcl/Tk (for the tcltk package)" on \ JPEG "Enable the jpeg() graphics device" on \ PNG "Enable the png() graphics device" on \ X11 "Enable the X11() graphics device" on \ GHOSTSCRIPT "Enable the [dev2]bitmap() graphics devices" on \ PCRE_PORT "Use PCRE port instead of bundled source" on \ DVI_MANUALS "Install DVI manuals (requires TeX)" off \ INFO_MANUALS "Install GNU info manuals" on \ LETTER_PAPER "Use US Letter paper" off MAN1= R.1 Rscript.1 USE_LDCONFIG= yes USE_FORTRAN= yes INSTALL_TARGET= install install-libR ALL_TARGET= all GNU_CONFIGURE= yes USE_ICONV= yes USE_PERL5= yes USE_GETTEXT= yes CONFIGURE_ENV= INSTALL_DATA="${INSTALL} ${COPY} ${_SHROWNGRP} -m 644" F77="${F77}" FC="${FC}" CONFIGURE_ARGS= --enable-R-shlib --with-system-bzlib --with-system-zlib \ rdocdir=${DOCSDIR} .include .ifndef WITHOUT_NLS USE_GETTEXT= yes PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " .endif .if defined(WITH_ATLAS) LIB_DEPENDS+= atlas.2:${PORTSDIR}/math/atlas CONFIGURE_ARGS+=--with-blas="-lf77blas -latlas" # A workaround to prevent hangs up during the build. .if ${ARCH} != "i386" CONFIGURE_ARGS+=--with-lapack="-lalapack -lcblas" .endif .else LIB_DEPENDS+= blas.2:${PORTSDIR}/math/blas \ lapack.4:${PORTSDIR}/math/lapack CONFIGURE_ARGS+=--with-blas="-lblas" --with-lapack="-llapack -lblas" .endif .if defined(WITHOUT_TCLTK) CONFIGURE_ARGS+=--without-tcltk PLIST_SUB+= TCLTK="@comment " .else LIB_DEPENDS+= tcl85:${PORTSDIR}/lang/tcl85 \ tk85:${PORTSDIR}/x11-toolkits/tk85 CONFIGURE_ARGS+=--with-tcltk PLIST_SUB+= TCLTK="" .endif .if defined(WITHOUT_JPEG) CONFIGURE_ARGS+=--without-jpeglib .else LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg CONFIGURE_ARGS+=--with-jpeglib .endif .if defined(WITHOUT_PNG) CONFIGURE_ARGS+=--without-libpng .else LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png CONFIGURE_ARGS+=--with-libpng .endif .if defined(WITHOUT_X11) CONFIGURE_ARGS+=--without-x PLIST_SUB+= X11="@comment " .else CONFIGURE_ARGS+=--with-x USE_XORG= x11 xt PLIST_SUB+= X11="" .endif .if !defined(WITHOUT_GHOSTSCRIPT) USE_GHOSTSCRIPT_RUN=yes .endif .if defined(WITHOUT_PCRE_PORT) CONFIGURE_ARGS+=--without-system-pcre .else LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre CONFIGURE_ARGS+=--with-system-pcre .endif .if defined(WITH_DVI_MANUALS) && !defined(NOPORTDOCS) BUILD_DEPENDS+= pdflatex:${PORTSDIR}/print/teTeX-base ALL_TARGET+= dvi INSTALL_TARGET+=install-dvi PLIST_SUB+= DVI_MANUAL="" .else PLIST_SUB+= DVI_MANUAL="@comment " .endif .if defined(WITH_INFO_MANUALS) && !defined(NOPORTDOCS) ALL_TARGET+= info INFO= R-FAQ R-admin R-data R-exts R-intro R-lang .endif .if defined(WITH_LETTER_PAPER) CONFIGURE_ENV+= R_PAPERSIZE=letter .endif post-patch: @${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g' \ ${WRKSRC}/src/nmath/standalone/Makefile.in \ ${WRKSRC}/src/unix/Makefile.in regression-test: build @(cd ${WRKSRC}; ${MAKE} check) check-all: build @(cd ${WRKSRC}; ${MAKE} check-all) post-install: ${MV} ${PREFIX}/lib/libR.so ${PREFIX}/lib/libR.so.0 ${LN} -sf ${PREFIX}/lib/libR.so.0 ${PREFIX}/lib/libR.so .if defined(WITH_INFO_MANUALS) && !defined(NOPORTDOCS) (cd ${WRKSRC}/doc/manual; \ for infofile in ${INFO}; do \ ${INSTALL_DATA} $${infofile}.info* ${PREFIX}/${INFO_PATH}/; \ done) .endif .include e-1.18 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Update KDE SC to 4.14.3alonso2015-03-121-0/+2
* Cleanup plistbapt2014-12-091-3/+0
* KDE/FreeBSD team presents KDE SC 4.14.2 and KDE Workspace 4.11.13!makc2014-10-191-1/+0
* Update the default version of GCC in the Ports Collection from GCC 4.7.4gerald2014-09-111-1/+1
* Upgrade OpenEXR and ilmbase to 2.2.0.mandree2014-08-161-0/+1
* KDE/FreeBSD team presents KDE SC 4.12.2 and KDE Workspace 4.11.6!makc2014-02-183-8/+5
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1
* Fix INDEX by really fixing the kde4-l10n portsbapt2013-07-101-0/+1
* KDE4 l10n fixes.rakuco2013-07-102-3/+1
* Update the KDE Software Compilation to 4.10.5.rakuco2013-07-051-2/+2
* Update to KDE SC 4.10.4, proudly presented by the KDE on FreeBSD team.rakuco2013-07-031-2/+2
* KDE/FreeBSD team presents KDE SC 4.10.3 ports!makc2013-05-192-4/+2
* KDE/FreeBSD team presents KDE SC 4.10.1 ports!makc2013-03-273-6/+3
* KDE/FreeBSD team presents KDE SC 4.9.5 ports!makc2013-02-043-16/+4
* KDE/FreeBSD team presents KDE SC 4.8.4, probably the last release in 4.8.x se...makc2012-06-152-3/+2
* - update png to 1.5.10dinoex2012-06-011-0/+1
* KDE/FreeBSD team presents long awaited KDE SC 4.8.3!makc2012-05-253-36/+46
* - Bump PORTREVISION to chase the update of multimedia/libvpxashish2012-02-161-0/+1
* - Get Rid MD5 supportmiwi2011-03-191-1/+0
* KDE FreeBSD team presents KDE SC 4.5.1.makc2010-09-031-0/+2
* Present KDE SC 4.4.5 for FreeBSD.makc2010-06-301-3/+3
* Present KDE SC 4.4.4 for FreeBSD.makc2010-06-021-3/+3
* - The FreeBSD KDE team is pleased to announce KDE SC 4.4.3 for FreeBSDfluffy2010-05-113-18/+7
* - update to 1.4.1dinoex2010-03-281-0/+1
* Presenting KDE 4.3.5 for FreeBSD. The official release notes for thismiwi2010-02-072-4/+3
* - update to jpeg-8dinoex2010-02-05