freebsd-ports/math/R-cran-igraph/Makefile
David Naylor 9920d3ae65 qa: add check for NO_ARCH
If NO_ARCH is set then check that no FreeBSD elf(5) files are in $STAGEDIR.
If an elf(5) file is bundles as part of the package, but is not meant to be
run directly (i.e. the elf(5) file is a payload, and not compiled) then
those files can be added to NO_ARCH_IGNORE to avoid the check from failing,

Changes to ports:
 - Ports that have NO_ARCH set, but actually compile files have had NO_ARCH
   removed.
 - Ports that have elf(5) payloads have had those files added to
   NO_ARCH_IGNORE.
 - R-cran ports that do not set USES=cran:compiles have NO_ARCH set,

PR:		218976
Reviewed by:	antoine, mat
Approved by:	portmgr
2017-06-18 18:09:16 +00:00

30 lines
637 B
Makefile

# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= igraph
PORTREVISION= 1
DISTVERSION= 1.0.1
CATEGORIES= math
DISTNAME= ${PORTNAME}_${DISTVERSION}
MAINTAINER= tota@FreeBSD.org
COMMENT= Network Analysis and Visualization
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
LIB_DEPENDS= libgmp.so:math/gmp
RUN_DEPENDS= R-cran-magrittr>0:devel/R-cran-magrittr \
R-cran-NMF>0:math/R-cran-NMF \
R-cran-irlba>0:math/R-cran-irlba
USES= cran:auto-plist,compiles
USE_GNOME= libxml2
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
BROKEN= Does not compile on sparc64: uses i386 assembler
.endif
.include <bsd.port.post.mk>