freebsd-ports/graphics/py-graphviz/Makefile

30 lines
754 B
Makefile
Raw Normal View History

# Created by: Hye-Shik Chang <perky@fallin.lv>
# $FreeBSD$
PORTNAME= graphviz
2012-01-23 05:31:34 +01:00
PORTVERSION= 1.1
2012-06-01 07:26:28 +02:00
PORTREVISION= 1
CATEGORIES= graphics python
MASTER_SITES= CHEESESHOP \
http://networkx.lanl.gov/download/pygraphviz/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pygraphviz-${PORTVERSION}
MAINTAINER= rafan@FreeBSD.org
2003-02-25 07:25:35 +01:00
COMMENT= Python interface to GraphViz agraph
BUILD_DEPENDS= dot:${PORTSDIR}/graphics/graphviz
RUN_DEPENDS= dot:${PORTSDIR}/graphics/graphviz
USES= python
USE_PYTHON= distutils
PYDISTUTILS_PKGNAME= pygraphviz
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
post-patch:
@${REINPLACE_CMD} -e 's+%%LOCALBASE%%+${LOCALBASE}+; \
s+^docdirbase.*=.*+docdirbase = "${DOCSDIR:S/${PREFIX}\///}"+' ${WRKSRC}/setup.py
.include <bsd.port.mk>