# $FreeBSD: head/www/trac-graphviz/Makefile 412351 2016-04-01 14:33:55Z mat $ PORTNAME= ${PYDISTUTILS_PKGNAME:S;^Trac;;S;Plugin$;;:tl} PORTVERSION= 0.7.4 PORTREVISION= 8 CATEGORIES= www devel graphics python MASTER_SITES= LOCAL/brooks PKGNAMEPREFIX= trac- DISTNAME= ${PORTNAME}plugin-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Graphviz plugin for Trac's wiki LICENSE= BSD3CLAUSE RUN_DEPENDS+= urwfonts>0:x11-fonts/urwfonts \ dot:graphics/graphviz \ tracd:www/trac USES= python:2 USE_PYTHON= autoplist distutils PYDISTUTILS_PKGNAME= graphviz NO_ARCH= yes WRKSRC= ${WRKDIR}/${PORTNAME}plugin post-patch: ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ -e 's|%%PREFIX%%|${PREFIX}|' \ -e 's|%%OSMAJOR%%|${OSREL:C/\..*$//}|' \ ${WRKSRC}/graphviz/graphviz.py .include