blob: f41f5072f54e5f41e93a7023bedd53ee2d04b01f (
plain)
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
36
37
38
39
40
41
42
43
44
|
# New ports collection makefile for: trac-gantt
# Date created: July 12 2006
# Whom: Dryice Liu <dryice@dryice.name>
#
# $FreeBSD$
#
PORTNAME= TracGantt
PORTVERSION= 0.2.4
CATEGORIES= www devel python
MASTER_SITES= http://ideas.water-powered.com/gantt/ \
http://dryice.name/computer/FreeBSD/distfiles/
PKGNAMEPREFIX= trac-
MAINTAINER= dryice@dryice.name
COMMENT= A plugin to creates Gantt charts for trac
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac
BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools
USE_PYTHON= 2.3+
PLIST_SUB+= PORTVERSION=${PORTVERSION} PYTHONVERSION=${_PYTHON_VERSION}
.if !defined(NOPORTDOCS)
PORTDOCS= PKG-INFO README
.endif
do-build:
cd ${WRKSRC}; \
${PYTHON_CMD} setup.py bdist_egg
do-install:
.for i in *
${INSTALL_DATA} ${WRKSRC}/dist/${i} ${PYTHON_SITELIBDIR}/
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|