# ex:ts=8 # Ports collection makefile for: NetworkX # Date created: Apr 13, 2005 # Whom: ijliao # # $FreeBSD$ # PORTNAME= nx PORTVERSION= 0.37 CATEGORIES= devel MASTER_SITES= https://networkx.lanl.gov/download/networkx/ DISTNAME= networkx-${PORTVERSION} MAINTAINER= araujo@FreeBSD.org COMMENT= Python package for studying network structure, dynamics, and function BUILD_DEPENDS= ${PYNUMERIC} \ ${PYTHON_SITELIBDIR}/pygsl/__init__.py:${PORTSDIR}/math/py-gsl \ ipython:${PORTSDIR}/devel/ipython \ ${PYTHON_SITELIBDIR}/matplotlib/__init__.py:${PORTSDIR}/math/py-matplotlib \ ${PYTHON_SITELIBDIR}/pydot.py:${PORTSDIR}/graphics/py-pydot \ dot:${PORTSDIR}/graphics/graphviz RUN_DEPENDS= ${BUILD_DEPENDS} USE_PYTHON= 2.3+ USE_PYDISTUTILS= easy_install PYDISTUTILS_PKGNAME= networkx PORTDOCS= * post-install: .ifndef(NOPORTDOCS) ${MKDIR} ${DOCSDIR} (cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} \* ${DOCSDIR}) .endif .include