aboutsummaryrefslogtreecommitdiffstats
path: root/www/trac-gantt/Makefile
blob: 566a0273b95b5386cce9a3872793cebe3583332c (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
32
33
34
35
# Created by: Dryice Liu <dryice@dryice.name>
# $FreeBSD$

PORTNAME=   TracGantt
PORTVERSION=    0.3.2a
PORTREVISION=   7
CATEGORIES= www devel python
MASTER_SITES=   http://willbarton.com/files/ \
        http://dryice.name/computer/FreeBSD/distfiles/
PKGNAMEPREFIX=  trac-

MAINTAINER= dryice@dryice.name
COMMENT=    Plugin to creates Gantt charts for trac

RUN_DEPENDS+=   trac>=0.11:www/trac

USES=       python:2
USE_PYTHON= distutils autoplist

OPTIONS_DEFINE= DOCS

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MDOCS}
PORTDOCS=   PKG-INFO README
.endif

post-install:
.if ${PORT_OPTIONS:MDOCS}
    @${INSTALL} -d ${STAGEDIR}${DOCSDIR}
    @cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}
.endif

.include "${.CURDIR}/../../www/trac/plugin.mk"
.include <bsd.port.mk>