# $NetBSD$

DISTNAME=	excelviewerplugin-0.1dev_r${SVN_REV}
PKGNAME=	trac-plugins-excelviewer-0.1pre${SVN_REV}
EGG_NAME=	TracExcelViewer-0.1
CATEGORIES=	www
MASTER_SITES=	-http://trac-hacks.org/changeset/${SVN_REV}/${SVN_MOD}?old_path=/&format=zip
EXTRACT_SUFX=	.zip

MAINTAINER=	obache@users.sourceforge.net
HOMEPAGE=	http://trac-hacks.org/wiki/ExcelViewerPlugin
COMMENT=	Excel viewer plugin for trac

DEPENDS+=	{ja-,}trac>=0.10:../../www/trac
DEPENDS+=	${PYPKGPREFIX}-xlrd>=0:../../textproc/py-xlrd

SVN_REV=	687
SVN_MOD=	excelviewerplugin/0.10
WRKSRC=		${WRKDIR}/${SVN_MOD}

post-extract:
	find ${WRKSRC} -type f -print | xargs chmod +r

.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
