# Created by: Hung-Yi Chen <gaod@hychen.org>
# $FreeBSD: tags/RELEASE_10_1_0/www/trac-tracdragdrop/Makefile 358166 2014-06-17 19:29:01Z mva $

PORTNAME=	tracdragdrop
PORTVERSION=	0.12.0.10.${SVN_REV}
PORTREVISION=	1
CATEGORIES=	www devel python
MASTER_SITES=	http://distfiles.cse.tw/ \
		http://trac-hacks.org/changeset/${SVN_REV}/tracdragdropplugin?old_path=/&format=zip&filename=/
PKGNAMEPREFIX=	trac-
DISTNAME=	${PORTNAME}plugin-r${SVN_REV}

MAINTAINER=	gaod@hychen.org
COMMENT=	Provides extends attachments list of Trac

LICENSE=	BSD

SVN_REV=	12822

RUN_DEPENDS+=	tracd:${PORTSDIR}/www/trac

WRKSRC=		${WRKDIR}/${PORTNAME}plugin/0.12
USES=		zip
USE_PYTHON=		2
USE_PYDISTUTILS=	yes
PYDISTUTILS_AUTOPLIST=	yes

FETCH_BEFORE_ARGS=	-o ${DISTFILES}

.include "${.CURDIR}/../../www/trac/plugin.mk"
.include <bsd.port.mk>
