diff options
Diffstat (limited to 'www/trac-gantt/Makefile')
-rw-r--r-- | www/trac-gantt/Makefile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/www/trac-gantt/Makefile b/www/trac-gantt/Makefile new file mode 100644 index 0000000..f41f507 --- /dev/null +++ b/www/trac-gantt/Makefile @@ -0,0 +1,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> |