aboutsummaryrefslogtreecommitdiffstats
path: root/www/trac-subtickets/Makefile
blob: ae56bb080ac7761e860732a569ccdf95b478eef6 (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
# Created by: Hung-Yi Chen <gaod@hychen.org>
# $FreeBSD$

PORTNAME=   subtickets
PORTVERSION=    0.2.0.${GITDATE}
CATEGORIES= www devel python
MASTER_SITES=   http://distfiles.cse.tw/ \
        https://github.com/itota/trac-subtickets-plugin/tarball/${GITVERSION}/
PKGNAMEPREFIX=  trac-
DISTNAME=   itota-trac-subtickets-plugin-a0fc153

MAINTAINER= gaod@hychen.org
COMMENT=    Offers sub-ticket feature for managing tickets

LICENSE=    BSD

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

GITVERSION= a0fc153
GITDATE=    20130328

WRKSRC=     ${WRKDIR}/${PORTNAME}plugin/0.12
WRKSRC=     ${WRKDIR}/itota-trac-${PORTNAME}-plugin-${GITVERSION}
USE_PYTHON= -2.7
USE_PYDISTUTILS=    easy_install

FETCH_ARGS= -Fpr
PYDISTUTILS_PKGNAME=    TracSubTicketsPlugin
PYDISTUTILS_PKGVERSION= ${PORTVERSION:C/${GITDATE}//g}dev
PLIST_FILES=        bin/check-trac-subtickets \
            %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%

.include <bsd.port.mk>