1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00
freebsd-ports/devel/nx/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

43 lines
1.1 KiB
Makefile

# 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>