freebsd-ports/math/py-networkx/Makefile
2012-01-21 20:05:59 +00:00

30 lines
710 B
Makefile

# Ports collection makefile for: py-networkx
# Date created: June, 20 2008
# Whom: dikshie
# $FreeBSD$
PORTNAME= networkx
PORTVERSION= 1.6
CATEGORIES= math python
MASTER_SITES= http://networkx.lanl.gov/download/networkx/ \
CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= dikshie@sfc.wide.ad.jp
COMMENT= Tools for complex network
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
PYSETUP= setup_egg.py
post-install:
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC}/examples \
&& ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/\{} \; \
&& ${FIND} . -type f -exec ${INSTALL_DATA} \{} ${EXAMPLESDIR}/\{} \;
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>