mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
4a4ec28d37
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a replacement for :U and :L (which has been marked as deprecated) bmake which is the default on FreeBSD 10+ only support by default :tu/:tl a hack has been added at the time to support :U and :L to ease migration. This hack is now not necessary anymore Note that this makes the ports tree incompatible with make(1) from FreeBSD 8.3 or earlier With hat: portmgr
32 lines
874 B
Makefile
32 lines
874 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= ${PYDISTUTILS_PKGNAME:S;^Trac;;S;Plugin$;;:tl}
|
|
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>
|