diff options
author | markd <markd@pkgsrc.org> | 2006-07-02 12:52:43 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2006-07-02 12:52:43 +0000 |
commit | fcea772b33e909689b4646bf2941f0259af2f49f (patch) | |
tree | bdf2dfe4b83d326e92830e2f484da1c41ab200ae /math/R | |
parent | 67569812479f657611db37294b6935fa4dc4575d (diff) | |
download | pkgsrc-fcea772b33e909689b4646bf2941f0259af2f49f.tar.gz |
Replace DEPENDS line with appropriate buildlink3.mk.
Also allow passing arguments to the "R CMD INSTALL"
Diffstat (limited to 'math/R')
-rw-r--r-- | math/R/Makefile.extension | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/math/R/Makefile.extension b/math/R/Makefile.extension index 1f449baf06d..bb2d340c999 100644 --- a/math/R/Makefile.extension +++ b/math/R/Makefile.extension @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.extension,v 1.8 2006/06/09 11:15:32 rillig Exp $ +# $NetBSD: Makefile.extension,v 1.9 2006/07/02 12:52:43 markd Exp $ # # This Makefile fragment is included by packages for R library packages. # @@ -16,14 +16,12 @@ CATEGORIES+= math R_HOMEPAGE_BASE= http://cran.r-project.org/src/contrib/Descriptions -R_DEPENDS?= R>=1.7.0 -DEPENDS+= ${R_DEPENDS}:../../math/R - WRKSRC= ${WRKDIR}/${R_PKGNAME} -NO_BUILD= YES + +do-build: do-install: - R_LIBS= ${LOCALBASE}/bin/R CMD INSTALL ${WRKDIR}/${R_PKGNAME} + R_LIBS= ${LOCALBASE}/bin/R CMD INSTALL ${R_PKG_INSTALL_ARGS} ${WRKDIR}/${R_PKGNAME} # automatically generate the PLIST R_LIB= lib/R/library @@ -42,3 +40,5 @@ R_GENERATE_PLIST= ${R_PACKLIST_FILES_CMD}; \ ${R_PACKLIST_DIRS_CMD}; \ ${R_PACKLIST_CMDS_CMD}; GENERATE_PLIST+= ${R_GENERATE_PLIST} + +.include "../../math/R/buildlink3.mk" |