ba1a5e5dee
Reported by: pointyhat
30 lines
710 B
Makefile
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>
|