aboutsummaryrefslogtreecommitdiff
path: root/www/trac-gitplugin/Makefile
blob: aec607774b0c15f8824af7c0cf64dd876c5530eb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# New ports collection makefile for:	trac-gitplugin
# Date created:				2 November 2009
# Whom:					Douglas Thrift
#
# $FreeBSD$
#

PORTNAME=	gitplugin
PORTVERSION=	0.11.0.2.7034
PORTREVISION=	1
CATEGORIES=	www devel python
MASTER_SITES=	http://apt.douglasthrift.net/files/${PORTNAME}/ \
		http://code.douglasthrift.net/files/${PORTNAME}/
PKGNAMEPREFIX=	trac-
DISTNAME=	${PORTNAME}-r${PORTVERSION:E}

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

RUN_DEPENDS=	git:${PORTSDIR}/devel/git \
		tracd:${PORTSDIR}/www/trac
BUILD_DEPENDS=	easy_install:${PORTSDIR}/devel/py-setuptools

USE_PYTHON=		yes
USE_PYDISTUTILS=	easy_install
USE_ZIP=		yes
PYDISTUTILS_PKGNAME=	TracGit
PYDISTUTILS_PKGVERSION=	${PORTVERSION:R}
WRKSRC=			${WRKDIR}/${PORTNAME}/${PORTVERSION:C/(.[0-9]+){3}$//}

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

pre-configure:
	${CHMOD} -R a+r ${WRKSRC}

.include <bsd.port.mk>