summaryrefslogtreecommitdiff
path: root/databases/R-cran-RPostgreSQL/Makefile
blob: a93ed8d355dc6c234186eca406ffaf238557fd7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

PORTNAME=	RPostgreSQL
DISTVERSION=	0.6-2
PORTREVISION=	3
CATEGORIES=	databases
DISTNAME=	${PORTNAME}_${DISTVERSION}

MAINTAINER=	tota@FreeBSD.org
COMMENT=	R Interface to the 'PostgreSQL' Database System

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cran:auto-plist,compiles pgsql shebangfix

CRAN_DEPENDS=	R-cran-DBI>=0.3:databases/R-cran-DBI
BUILD_DEPENDS=	${CRAN_DEPENDS}
RUN_DEPENDS=	${CRAN_DEPENDS}

SHEBANG_FILES=	inst/devTests/*.r \
		inst/devTests/*.sh
SHEBANG_LANG=	r
r_OLD_CMD=	/usr/bin/r
r_CMD=		${LOCALBASE}/bin/R

.include <bsd.port.mk>