diff options
Diffstat (limited to 'www/trac-gantt/Makefile')
-rw-r--r-- | www/trac-gantt/Makefile | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/www/trac-gantt/Makefile b/www/trac-gantt/Makefile index 0ff5c871d8b5..8a6516dc4f37 100644 --- a/www/trac-gantt/Makefile +++ b/www/trac-gantt/Makefile @@ -7,7 +7,7 @@ PORTNAME= TracGantt PORTVERSION= 0.3.2a -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www devel python MASTER_SITES= http://willbarton.com/files/ \ http://dryice.name/computer/FreeBSD/distfiles/ @@ -16,30 +16,26 @@ 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 +RUN_DEPENDS+= trac>=0.11:${PORTSDIR}/www/trac +NO_BUILD= yes USE_PYTHON= 2.3+ +USE_PYDISTUTILS=yes PLIST_SUB+= PORTVERSION=${PORTVERSION} PYTHONVERSION=${_PYTHON_VERSION} +PYDISTUTILS_NOEGGINFO= yes .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 +.include <bsd.port.pre.mk> +post-install: .if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} -.for i in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} -.endfor + @${INSTALL} -d ${DOCSDIR} + @cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${DOCSDIR} .endif + @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |