blob: 5c5b63ca9acb8787430b01ec298a02292f9ce025 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# ex:ts=8
# Ports collection makefile for: NetworkX
# Date created: Apr 13, 2005
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= nx
PORTVERSION= 0.33
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= https://networkx.lanl.gov/download/
DISTNAME= networkx-${PORTVERSION}
MAINTAINER= araujo@bsdmail.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= yes
DOCSDIR= ${PREFIX}/share/doc/networkx-${PORTVERSION}
PORTDOCS= *
.include <bsd.port.pre.mk>
post-install:
.for d in ${PYTHON_SITELIBDIR}/networkx
@${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>
|