blob: 2e4b830c499b61716556805e461bbf66f6b14e92 (
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
43
|
# ex:ts=8
# Ports collection makefile for: NetworkX
# Date created: Apr 13, 2005
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= nx
PORTVERSION= 0.24
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= networkx
DISTNAME= networkx-${PORTVERSION}
MAINTAINER= ports@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>
|