freebsd-ports/www/trac-graphviz/Makefile
Dmitry Marakasov bdb06fad8a www/trac-*: minor cleanup
- Don't use trac/plugin.mk which is now empty and unneeded
- Add some NO_ARCH'es
- Add/fix some LICENSEs and LICENSE_FILES
- Pet portlint
- Regenerate some patches

Approved by:	portmgr blanket
2016-05-29 01:29:08 +00:00

33 lines
785 B
Makefile

# $FreeBSD$
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
LICENSE_FILE= ${WRKSRC}/COPYING
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 <bsd.port.mk>