# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD: tags/RELEASE_12_0_0/math/R-cran-igraph/Makefile 476728 2018-08-09 08:48:26Z tota $

PORTNAME=	igraph
DISTVERSION=	1.2.2
CATEGORIES=	math
DISTNAME=	${PORTNAME}_${DISTVERSION}

MAINTAINER=	tota@FreeBSD.org
COMMENT=	Network Analysis and Visualization

LICENSE=	GPLv2+

BROKEN_sparc64=	Does not compile on sparc64: uses i386 assembler

LIB_DEPENDS=	libgmp.so:math/gmp
CRAN_DEPENDS=	R-cran-magrittr>0:devel/R-cran-magrittr \
		R-cran-pkgconfig>=2.0.0:devel/R-cran-pkgconfig
BUILD_DEPENDS=	${CRAN_DEPENDS}
RUN_DEPENDS=	${CRAN_DEPENDS}

USES=		cran:auto-plist,compiles
USE_GNOME=	libxml2

.include <bsd.port.mk>
