PORTNAME=	clipr
PORTVERSION=	0.8.0
CATEGORIES=	devel
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	ports@MidnightBSD.org
COMMENT=	Read and Write from the System Clipboard
WWW=		https://cran.r-project.org/web/packages/clipr/

LICENSE=	gpl3

USES=		cran:auto-plist

OPTIONS_DEFINE=	XCLIP XSEL
OPTIONS_DEFAULT=	XCLIP
XCLIP_DESC=	Use xclip for interacting with X11 clipboard
XSEL_DESC=	Use xsel for interacting with X11 clipboard

XCLIP_RUN_DEPENDS=	xclip:x11/xclip
XSEL_RUN_DEPENDS=	xsel:x11/xsel-conrad

# magus test issue
NO_TEST=	yes

.include <bsd.port.mk>
