blob: e02489291bb929f86613cbc3476d2b1cb6060e17 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $FreeBSD$
PORTNAME= ${PYDISTUTILS_PKGNAME:S;^Trac;;S;Plugin$;;:L}
PORTVERSION= 0.7.4
PORTREVISION= 6
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
RUN_DEPENDS+= ${LOCALBASE}/lib/X11/fonts/URW/fonts.dir:${PORTSDIR}/x11-fonts/urwfonts \
dot:${PORTSDIR}/graphics/graphviz \
tracd:${PORTSDIR}/www/trac
USE_PYTHON= 2
USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= graphviz
WRKSRC= ${WRKDIR}/${PORTNAME}plugin
PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
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>
|