View | Details | Raw Unified | Return to bug 173108
Collapse All | Expand All

(-)Makefile (-12 / +8 lines)
Lines 1-13 Link Here
1
# New ports collection makefile for: trac-pendingticket
1
# Created by: Gerrit Beine <gerrit.beine@gmx.de>
2
# Date created:                      May 18 2007
3
# Whom:                              Gerrit Beine <gerrit.beine@gmx.de>
4
#
5
# $FreeBSD$
2
# $FreeBSD$
6
#
7
3
8
PORTNAME=	pendingticket
4
PORTNAME=	pendingticket
9
PORTVERSION=	0.0.4
5
PORTVERSION=	0.0.4
10
PORTREVISION=	2
6
PORTREVISION=	3
11
CATEGORIES=	www devel python
7
CATEGORIES=	www devel python
12
MASTER_SITES=	http://www.gerritbeine.de/download/trac/
8
MASTER_SITES=	http://www.gerritbeine.de/download/trac/
13
PKGNAMEPREFIX=	trac-
9
PKGNAMEPREFIX=	trac-
Lines 16-30 Link Here
16
MAINTAINER=	glarkin@FreeBSD.org
12
MAINTAINER=	glarkin@FreeBSD.org
17
COMMENT=	Support for pending tickets
13
COMMENT=	Support for pending tickets
18
14
19
BUILD_DEPENDS+=	easy_install:${PORTSDIR}/devel/py-setuptools
20
RUN_DEPENDS+=	tracd:${PORTSDIR}/www/trac
15
RUN_DEPENDS+=	tracd:${PORTSDIR}/www/trac
21
16
22
WRKSRC=		${WRKDIR}/${PORTNAME}plugin/removependingplugin
17
WRKSRC=		${WRKDIR}/${PORTNAME}plugin/removependingplugin
23
NO_BUILD=	yes
18
USE_PYTHON=	-2.7
24
USE_PYTHON=	2.5+
19
USE_PYDISTUTILS=	easy_install
25
USE_PYDISTUTILS=yes
20
PYDISTUTILS_PKGNAME=	RemovePendingStatusPlugin
26
PLIST_SUB+=	PORTVERSION=${PORTVERSION} PYTHONVERSION=${_PYTHON_VERSION}
21
PLIST_FILES=		bin/close_old_pending.py \
27
PYDISTUTILS_NOEGGINFO=	yes
22
			bin/migrate_pending_attrib_to_status.py \
23
			%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
28
24
29
post-patch:
25
post-patch:
30
	cd ${WRKDIR}/${PORTNAME}plugin && ${PATCH} < ${PATCHDIR}/close_old_pending.py.patch
26
	cd ${WRKDIR}/${PORTNAME}plugin && ${PATCH} < ${PATCHDIR}/close_old_pending.py.patch
(-)pkg-plist (-3 lines)
Lines 1-3 Link Here
1
bin/close_old_pending.py
2
bin/migrate_pending_attrib_to_status.py
3
%%PYTHON_SITELIBDIR%%/RemovePendingStatusPlugin-%%PORTVERSION%%-py%%PYTHONVERSION%%.egg

Return to bug 173108