1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

add nx 0.2

A Python package for the networks (graph)
This commit is contained in:
Ying-Chieh Liao 2005-04-13 07:38:04 +00:00
parent ddce896694
commit 3f61220f6c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133209
4 changed files with 48 additions and 0 deletions

View File

@ -583,6 +583,7 @@
SUBDIR += ngpt
SUBDIR += noweb
SUBDIR += nspr
SUBDIR += nx
SUBDIR += oaf
SUBDIR += ocaml-camomile
SUBDIR += ocaml-classes

41
devel/nx/Makefile Normal file
View File

@ -0,0 +1,41 @@
# ex:ts=8
# Ports collection makefile for: NetworkX
# Date created: Apr 13, 2005
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= nx
PORTVERSION= 0.2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= networkx
DISTNAME= ${PORTNAME:U}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A Python package for the networks (graph)
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= yes
DATADIR= ${PREFIX}/share/${PORTNAME:U}
.include <bsd.port.pre.mk>
post-install:
.for d in ${DATADIR} ${PYTHON_SITELIBDIR}/NX
@${FIND} ${d} ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${d} -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.endfor
.include <bsd.port.post.mk>

2
devel/nx/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (NX-0.2.tar.gz) = dc3fce5ee652e9c7173dc1f7b368c3be
SIZE (NX-0.2.tar.gz) = 1194682

4
devel/nx/pkg-descr Normal file
View File

@ -0,0 +1,4 @@
NetworkX is a Python-based package for the creation, manipulation, and study
of the structure, dynamics, and function of complex networks.
WWW: http://networkx.sourceforge.net/