2004-12-27 02:41:44 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2004/12/27 07:41:44 alek Exp $
|
2001-03-21 22:26:23 -05:00
|
|
|
|
2004-09-15 05:11:58 -04:00
|
|
|
SHARED_ONLY= Yes
|
2001-03-21 22:26:23 -05:00
|
|
|
|
2001-04-05 09:00:21 -04:00
|
|
|
COMMENT= "clone of S, a powerful math/statistics/graphics language"
|
2004-08-08 11:06:23 -04:00
|
|
|
DISTNAME= R-1.9.1
|
2004-04-28 17:40:31 -04:00
|
|
|
CATEGORIES= math
|
|
|
|
HOMEPAGE= http://www.r-project.org/
|
2001-03-21 22:26:23 -05:00
|
|
|
|
2004-04-28 17:40:31 -04:00
|
|
|
# GPL
|
2001-03-21 22:26:23 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-27 02:41:44 -05:00
|
|
|
WANTLIB= ICE SM X11 c g2c m ncurses readline z
|
2001-03-21 22:26:23 -05:00
|
|
|
|
2004-10-11 09:01:05 -04:00
|
|
|
MASTER_SITES= http://cran.r-project.org/src/base/R-1/ \
|
|
|
|
http://cran.uk.r-project.org/src/base/R-1/ \
|
|
|
|
http://cran.us.r-project.org/src/base/R-1/ \
|
|
|
|
http://cran.dk.r-project.org/src/base/R-1/
|
2004-04-28 17:40:31 -04:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
USE_X11= Yes
|
|
|
|
LIB_DEPENDS= bz2.10::archivers/bzip2 \
|
|
|
|
jpeg.62::graphics/jpeg \
|
|
|
|
png.2::graphics/png \
|
|
|
|
pcre.0::devel/pcre
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu dest
|
|
|
|
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/tools
|
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
|
|
--with-readline --without-tcltk \
|
|
|
|
--with-zlib --with-bzlib --with-pcre
|
|
|
|
CONFIGURE_ENV= FFLAGS="${FFLAGS}"
|
|
|
|
|
|
|
|
MAKE_FLAGS= INSTALL='install -c' \
|
|
|
|
INSTALL_DATA='install -c -m 644' \
|
|
|
|
INSTALL_PROGRAM='install -c -s -m 555' \
|
|
|
|
INSTALL_SCRIPT='install -c -m 555'
|
|
|
|
|
|
|
|
FAKE_FLAGS= PREFIX=${PREFIX} DESTDIR=${WRKINST}
|
2003-05-17 00:46:04 -04:00
|
|
|
|
2001-04-05 09:00:21 -04:00
|
|
|
post-install:
|
2004-04-28 17:40:31 -04:00
|
|
|
perl -i -pe 's:^R_HOME_DIR=.*:R_HOME_DIR=${TRUEPREFIX}/lib/R:' \
|
|
|
|
${PREFIX}/bin/R
|
2001-03-21 22:26:23 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|