2012-02-06 13:40:37 +01:00
|
|
|
# $NetBSD: Makefile,v 1.6 2012/02/06 12:40:52 wiz Exp $
|
2005-11-04 08:42:19 +01:00
|
|
|
#
|
|
|
|
|
2012-02-06 13:40:37 +01:00
|
|
|
PKGREVISION= 2
|
2005-11-04 08:42:19 +01:00
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= ${MASTER_SITE_R_CRAN:=contrib/}
|
|
|
|
|
|
|
|
MAINTAINER= mchittur@cs.nmsu.edu
|
2008-10-13 13:12:52 +02:00
|
|
|
HOMEPAGE= ${R_HOMEPAGE_BASE}/CGIwithR/
|
2005-11-04 08:42:19 +01:00
|
|
|
COMMENT= Facilities for the use of R to write CGI scripts
|
|
|
|
|
|
|
|
R_PKGNAME= CGIwithR
|
2011-05-10 20:55:55 +02:00
|
|
|
R_PKGVER= 0.73-0
|
2008-10-13 13:12:52 +02:00
|
|
|
|
|
|
|
REPLACE_INTERPRETER+= r
|
|
|
|
REPLACE.r.old= .*R
|
|
|
|
REPLACE.r.new= ${PREFIX}/bin/R
|
|
|
|
REPLACE_FILES.r= inst/examples/dangerous.R inst/examples/trivial.R
|
2005-11-04 08:42:19 +01:00
|
|
|
|
2011-05-10 20:55:55 +02:00
|
|
|
SUBST_CLASSES+= fix-paths
|
|
|
|
SUBST_STAGE.fix-paths= post-patch
|
|
|
|
SUBST_MESSAGE.fix-paths= Fixing absolute paths.
|
|
|
|
SUBST_FILES.fix-paths= inst/cgi-bin/R.cgi
|
|
|
|
SUBST_SED.fix-paths= -e 's,/usr/local,${PREFIX},g'
|
|
|
|
|
2005-11-04 08:42:19 +01:00
|
|
|
.include "../../math/R/Makefile.extension"
|
2011-05-10 20:55:55 +02:00
|
|
|
.include "../../print/ghostscript/buildlink3.mk"
|
2005-11-04 08:42:19 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|