# New ports collection makefile for:	trac-gitplugin
# Date created:				2 November 2009
# Whom:					Douglas Thrift
#
# $FreeBSD: ports/www/trac-gitplugin/Makefile,v 1.8 2012/02/19 13:05:58 culot Exp $
#

PORTNAME=	gitplugin
PORTVERSION=	0.12.0.5
PORTREVISION=	1
CATEGORIES=	www devel python
MASTER_SITES=	https://download.github.com/ \
		http://apt.douglasthrift.net/files/${PORTNAME}/ \
		http://code.douglasthrift.net/files/${PORTNAME}/
PKGNAMEPREFIX=	trac-
DISTNAME=	hvr-trac-git-plugin-v${PORTVERSION}-20-g${GITPLUGIN_HASH}

MAINTAINER=	douglas@douglasthrift.net
COMMENT=	Git plugin for Trac

LICENSE=	BSD

RUN_DEPENDS=	git:${PORTSDIR}/devel/git \
		tracd:${PORTSDIR}/www/trac

USE_PYTHON=		yes
USE_PYDISTUTILS=	easy_install
PYDISTUTILS_PKGNAME=	TracGit
PYDISTUTILS_PKGVERSION=	${PORTVERSION}dev
WRKSRC=			${WRKDIR}/hvr-trac-git-plugin-${GITPLUGIN_HASH}

PLIST_FILES=	%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%

GITPLUGIN_HASH=	722342e

.include <bsd.port.mk>
