freebsd-ports/graphics/py-graphviz/Makefile
Alexander Botero-Lowry 4942ce5a7d - Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
2007-07-30 09:42:28 +00:00

30 lines
836 B
Makefile

# New ports collection makefile for: py-graphviz
# Date created: 25 December 2001
# Whom: Hye-Shik Chang <perky@fallin.lv>
#
# $FreeBSD$
PORTNAME= graphviz
PORTVERSION= 0.33
PORTREVISION= 1
CATEGORIES= graphics python
MASTER_SITES= https://networkx.lanl.gov/download/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pygraphviz-${PORTVERSION}
MAINTAINER= rafan@FreeBSD.org
COMMENT= Python interface to GraphViz agraph
BUILD_DEPENDS= dot:${PORTSDIR}/graphics/graphviz
RUN_DEPENDS= dot:${PORTSDIR}/graphics/graphviz
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME= pygraphviz
PLIST_SUB= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S,^${LOCALBASE}/,,g}
post-patch:
@${REINPLACE_CMD} -e 's+%%LOCALBASE%%+${LOCALBASE}+; \
s+^docdirbase.*=.*+docdirbase = "${DOCSDIR:S/${PREFIX}\///}"+' ${WRKSRC}/setup.py
.include <bsd.port.mk>