pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/R Replace DEPENDS line with appropriate buildlink...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b1d33a570f05
branches:  trunk
changeset: 515442:b1d33a570f05
user:      markd <markd%pkgsrc.org@localhost>
date:      Sun Jul 02 12:52:43 2006 +0000

description:
Replace DEPENDS line with appropriate buildlink3.mk.
Also allow passing arguments to the "R CMD INSTALL"

diffstat:

 math/R/Makefile.extension |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (33 lines):

diff -r 3f0d64e9ddb8 -r b1d33a570f05 math/R/Makefile.extension
--- a/math/R/Makefile.extension Sun Jul 02 12:42:39 2006 +0000
+++ b/math/R/Makefile.extension Sun Jul 02 12:52:43 2006 +0000
@@ -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 @@
 
 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}
 
-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_PACKLIST_DIRS_CMD}; \
                        ${R_PACKLIST_CMDS_CMD};
 GENERATE_PLIST+=       ${R_GENERATE_PLIST}
+
+.include "../../math/R/buildlink3.mk"



Home | Main Index | Thread Index | Old Index