mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
1b0994ee1e
With hat: python@
33 lines
801 B
Makefile
33 lines
801 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= ${PYDISTUTILS_PKGNAME:S;^Trac;;S;Plugin$;;:tl}
|
|
PORTVERSION= 0.7.4
|
|
PORTREVISION= 7
|
|
CATEGORIES= www devel graphics python
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= brooks
|
|
PKGNAMEPREFIX= trac-
|
|
DISTNAME= ${PORTNAME}plugin-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Graphviz plugin for Trac's wiki
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
RUN_DEPENDS+= urwfonts>0:${PORTSDIR}/x11-fonts/urwfonts \
|
|
dot:${PORTSDIR}/graphics/graphviz \
|
|
tracd:${PORTSDIR}/www/trac
|
|
|
|
USES= python:2
|
|
USE_PYTHON= distutils
|
|
PYDISTUTILS_PKGNAME= graphviz
|
|
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 <bsd.port.mk>
|