freebsd-ports/devel/nx/Makefile
Martin Wilke 81100672d4 - Update lang/python26 and make Python 2.6.2 to the default Python version
Tested by:	3 pointyhat runs
Thanks to:	pav, gahr, lwhsu, mva, amdmi3
2009-06-08 22:30:55 +00:00

39 lines
1,001 B
Makefile

# ex:ts=8
# Ports collection makefile for: NetworkX
# Date created: Apr 13, 2005
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= nx
PORTVERSION= 0.37
PORTREVISION= 1
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= *
PLIST_SUB= PYTHON_VER=${PYTHON_VER}
post-install:
.ifndef(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} \* ${DOCSDIR})
.endif
.include <bsd.port.mk>