1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/www/trac-gantt/Makefile
2014-02-21 13:39:57 +00:00

38 lines
840 B
Makefile

# Created by: Dryice Liu <dryice@dryice.name>
# $FreeBSD$
PORTNAME= TracGantt
PORTVERSION= 0.3.2a
PORTREVISION= 6
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:${PORTSDIR}/www/trac
USE_PYTHON= 2
USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= TracGantt
PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
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
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>