blob: b9a3836af667276fd4cae9ff3ad7c418cadcd006 (
plain) (
blame)
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@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= 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>
|