9c811ce3e3
This fixes the brokeness introduced in the previous SWIG bandaid. A lawyer might want to check if the license is also less restrictive now ;) Sponsored by: simon & erwin of tb3.droso.net
30 lines
796 B
Makefile
30 lines
796 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.22
|
|
CATEGORIES= graphics python
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= networkx
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= pygraphviz-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Python interface to GraphViz agraph
|
|
|
|
BUILD_DEPENDS= dot:${PORTSDIR}/graphics/graphviz
|
|
RUN_DEPENDS= dot:${PORTSDIR}/graphics/graphviz
|
|
|
|
NO_CDROM= "Can't be included in a commercial product"
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS=yes
|
|
PLIST_SUB= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S,^${LOCALBASE}/,,g}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's+%%LOCALBASE%%+${LOCALBASE}+' ${WRKSRC}/setup.py
|
|
|
|
.include <bsd.port.mk>
|