freebsd-ports/www/trac-keywords/Makefile
Marcus von Appen 1b0994ee1e - Convert USE_PYTHON to new USES in www/
With hat:	python@
2015-01-03 08:41:20 +00:00

29 lines
875 B
Makefile

# Created by: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
# $FreeBSD$
PORTNAME= keywords
PORTVERSION= 0.2
PORTREVISION= 3
CATEGORIES= www python
MASTER_SITES= http://dist.codelabs.ru/fbsd/
PKGNAMEPREFIX= trac-
DISTNAME= trackeywordsplugin-r${REL}
MAINTAINER= rea@FreeBSD.org
COMMENT= Plugin for using pre-configured keywords
RUN_DEPENDS+= trac>=0.11:${PORTSDIR}/www/trac
USES= python:2 zip
USE_PYTHON= distutils autoplist
WRKSRC= ${WRKDIR}/trackeywordsplugin/0.11
REL= 7273
post-extract:
# Fix misplaced Genshi template: https://trac-hacks.org/ticket/6104
@${MV} ${WRKDIR}/trackeywordsplugin/0.10/trackeywords/templates/keywords.html ${WRKSRC}/trackeywords/templates/
# Seems like web_ui.py was misplaced too.
@${MV} ${WRKDIR}/trackeywordsplugin/0.10/trackeywords/web_ui.py ${WRKSRC}/trackeywords/
.include "${.CURDIR}/../../www/trac/plugin.mk"
.include <bsd.port.mk>