aboutsummaryrefslogtreecommitdiffstats
path: root/devel/nx/Makefile
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-11-02 20:51:28 +0800
committervs <vs@FreeBSD.org>2005-11-02 20:51:28 +0800
commitfc1fabf5ecc6f86ee14b48a7fae1f067c7a5b48d (patch)
tree10cc104ca6ca285b33c8dfe3fd3c6069284291c9 /devel/nx/Makefile
parent76b59166b2bde977a64565624fff9ca889680707 (diff)
downloadfreebsd-ports-gnome-fc1fabf5ecc6f86ee14b48a7fae1f067c7a5b48d.tar.gz
freebsd-ports-gnome-fc1fabf5ecc6f86ee14b48a7fae1f067c7a5b48d.tar.zst
freebsd-ports-gnome-fc1fabf5ecc6f86ee14b48a7fae1f067c7a5b48d.zip
- Update to 0.24, project is now named "networkx"
- Massage COMMENT a bit
Diffstat (limited to 'devel/nx/Makefile')
-rw-r--r--devel/nx/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/devel/nx/Makefile b/devel/nx/Makefile
index f221e3ed1def..f27685c74f66 100644
--- a/devel/nx/Makefile
+++ b/devel/nx/Makefile
@@ -7,14 +7,14 @@
#
PORTNAME= nx
-PORTVERSION= 0.2
+PORTVERSION= 0.24
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= networkx
-DISTNAME= ${PORTNAME:U}-${PORTVERSION}
+DISTNAME= networkx-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-COMMENT= A Python package for the networks (graph)
+COMMENT= Python package for studying network structure, dynamics, and function
BUILD_DEPENDS= ${PYNUMERIC} \
${PYTHON_SITELIBDIR}/pygsl/__init__.py:${PORTSDIR}/math/py-gsl \
@@ -26,12 +26,13 @@ RUN_DEPENDS= ${BUILD_DEPENDS}
USE_PYTHON= 2.3+
USE_PYDISTUTILS= yes
-DATADIR= ${PREFIX}/share/${PORTNAME:U}
+DOCSDIR= ${PREFIX}/share/doc/networkx-${PORTVERSION}
+PORTDOCS= *
.include <bsd.port.pre.mk>
post-install:
-.for d in ${DATADIR} ${PYTHON_SITELIBDIR}/NX
+.for d in ${PYTHON_SITELIBDIR}/networkx
@${FIND} ${d} ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${d} -type d | ${SORT} -r | \