2001-04-05 09:00:21 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.2 2001/04/05 13:00:21 espie Exp $
|
2001-03-21 22:26:23 -05:00
|
|
|
|
|
|
|
# R, a clone of the S-Plus (based on AT&T S) statistical package
|
|
|
|
|
2001-04-05 09:00:21 -04:00
|
|
|
COMMENT= "clone of S, a powerful math/statistics/graphics language"
|
2001-03-21 22:26:23 -05:00
|
|
|
DISTNAME= R-1.2.2
|
|
|
|
CATEGORIES= math
|
|
|
|
NEED_VERSION= 1.359
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.r-project.org/
|
|
|
|
|
|
|
|
MAINTAINER= Ian Darwin <ian@openbsd.org>
|
|
|
|
|
|
|
|
# Licensing: GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= http://cran.r-project.org/src/base/ \
|
2001-04-05 09:00:21 -04:00
|
|
|
http://cran.uk.r-project.org/src/base/ \
|
|
|
|
http://cran.us.r-project.org/src/base/ \
|
|
|
|
http://cran.dk.r-project.org/src/base/
|
2001-03-21 22:26:23 -05:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
FAKE_FLAGS=PREFIX=${PREFIX} DESTDIR=${WRKINST}
|
|
|
|
|
|
|
|
MAKE_ENV+= SUDO=${SUDO}
|
|
|
|
USE_X11= Yes
|
|
|
|
CONFIGURE_STYLE= gnu dest
|
|
|
|
CONFIGURE_ARGS+= --with-readline
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
|
2001-04-05 09:00:21 -04:00
|
|
|
post-install:
|
|
|
|
cd ${PREFIX}/bin && \
|
|
|
|
sed -e "s@^R_HOME_DIR=.*@R_HOME_DIR=${TRUEPREFIX}/lib/R@" R > R.new && \
|
|
|
|
rm -f R && ${INSTALL_PROGRAM} R.new R
|
2001-03-21 22:26:23 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|