1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/math/py-networkx/Makefile
Li-Wen Hsu bd18823475 - Update to 1.5 [1]
- Remove unneeded patch
- Respect DOCSDIR
- This port does not support NOPORTDOCS (yet)

PR:		ports/159140 [1]
Submitted by:	dikshie <dikshie@sfc.wide.ad.jp> (maintainer)
2011-08-15 19:05:54 +00:00

35 lines
811 B
Makefile

# Ports collection makefile for: py-networkx
# Date created: June, 20 2008
# Whom: dikshie
# $FreeBSD$
PORTNAME= networkx
PORTVERSION= 1.5
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= yes
.include <bsd.port.pre.mk>
post-patch:
${REINPLACE_CMD} "s,^docdirbase =.*,docdirbase = '${DOCSDIR}'," ${WRKSRC}/setup.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.post.mk>