head	1.13;
access;
symbols
	RELEASE_8_3_0:1.11
	RELEASE_9_0_0:1.11
	RELEASE_7_4_0:1.11
	RELEASE_8_2_0:1.11
	RELEASE_6_EOL:1.11
	RELEASE_8_1_0:1.11
	RELEASE_7_3_0:1.9
	RELEASE_8_0_0:1.8
	RELEASE_7_2_0:1.6
	RELEASE_7_1_0:1.5
	RELEASE_6_4_0:1.5
	RELEASE_5_EOL:1.3
	RELEASE_7_0_0:1.2
	RELEASE_6_3_0:1.2;
locks; strict;
comment	@# @;


1.13
date	2012.11.17.06.03.08;	author svnexp;	state Exp;
branches;
next	1.12;

1.12
date	2012.10.26.18.58.07;	author rm;	state Exp;
branches;
next	1.11;

1.11
date	2010.05.18.04.08.00;	author pgollucci;	state Exp;
branches;
next	1.10;

1.10
date	2010.05.05.21.52.29;	author pgollucci;	state Exp;
branches;
next	1.9;

1.9
date	2009.12.13.16.28.03;	author miwi;	state Exp;
branches;
next	1.8;

1.8
date	2009.05.06.22.15.17;	author glarkin;	state Exp;
branches;
next	1.7;

1.7
date	2009.05.04.20.31.57;	author miwi;	state Exp;
branches;
next	1.6;

1.6
date	2009.01.19.23.49.38;	author beech;	state Exp;
branches;
next	1.5;

1.5
date	2008.07.07.11.45.24;	author miwi;	state Exp;
branches;
next	1.4;

1.4
date	2008.06.06.14.07.18;	author edwin;	state Exp;
branches;
next	1.3;

1.3
date	2008.01.03.21.03.54;	author miwi;	state Exp;
branches;
next	1.2;

1.2
date	2007.07.30.09.42.22;	author alexbl;	state Exp;
branches;
next	1.1;

1.1
date	2007.05.27.19.36.25;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.13
log
@Switch exporter over
@
text
@# Created by: Gerrit Beine <gerrit.beine@@gmx.de>
# $FreeBSD: head/www/trac-pendingticket/Makefile 306464 2012-10-26 18:58:07Z rm $

PORTNAME=	pendingticket
PORTVERSION=	0.0.4
PORTREVISION=	3
CATEGORIES=	www devel python
MASTER_SITES=	http://www.gerritbeine.de/download/trac/
PKGNAMEPREFIX=	trac-
DISTNAME=	${PORTNAME}plugin-${PORTVERSION}

MAINTAINER=	glarkin@@FreeBSD.org
COMMENT=	Support for pending tickets

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

WRKSRC=		${WRKDIR}/${PORTNAME}plugin/removependingplugin
USE_PYTHON=	-2.7
USE_PYDISTUTILS=	easy_install
PYDISTUTILS_PKGNAME=	RemovePendingStatusPlugin
PLIST_FILES=		bin/close_old_pending.py \
			bin/migrate_pending_attrib_to_status.py \
			%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%

post-patch:
	cd ${WRKDIR}/${PORTNAME}plugin && ${PATCH} < ${PATCHDIR}/close_old_pending.py.patch
	${REINPLACE_CMD} -e "s,%%PYTHON%%,${PYTHON_CMD}," ${WRKDIR}/${PORTNAME}plugin/close_old_pending.py
	cd ${WRKDIR}/${PORTNAME}plugin && ${PATCH} < ${PATCHDIR}/migrate_pending_attrib_to_status.py.patch
	${REINPLACE_CMD} -e "s,%%PYTHON%%,${PYTHON_CMD}," ${WRKDIR}/${PORTNAME}plugin/migrate_pending_attrib_to_status.py

post-install:
	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}plugin/close_old_pending.py ${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}plugin/migrate_pending_attrib_to_status.py ${PREFIX}/bin

.include <bsd.port.mk>
@


1.12
log
@SVN rev 306464 on 2012-10-26 18:58:07Z by rm

- do not directly depend on setuptools, use USE_DISTUTILS instead
- bump PORTREVISION because of dependency change
- trim Makefile header
- limit python version to 2.x only
- move pkg-plist contents into Makefile:PLIST_FILES

PR:		173108
Submitted by:	rm (myself)
Approved by:	glarkin (maintainer, by mail)
Feature safe:	yes
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.11
log
@- Chase devel/apr -> devel/apr1 shuffling

PR:             ports/146553
Submitted by:   myself (pgollucci@@)
With Hat:       apache@@
@
text
@d1 1
a1 4
# New ports collection makefile for: trac-pendingticket
# Date created:                      May 18 2007
# Whom:                              Gerrit Beine <gerrit.beine@@gmx.de>
#
a2 1
#
d6 1
a6 1
PORTREVISION=	2
a14 1
BUILD_DEPENDS+=	easy_install:${PORTSDIR}/devel/py-setuptools
d18 6
a23 5
NO_BUILD=	yes
USE_PYTHON=	2.5+
USE_PYDISTUTILS=yes
PLIST_SUB+=	PORTVERSION=${PORTVERSION} PYTHONVERSION=${_PYTHON_VERSION}
PYDISTUTILS_NOEGGINFO=	yes
@


1.10
log
@4/5: Chase devel/apr shlib bump

PR:             ports/146130
Approved by:    portmgr (pav)
Tested by:      -exp run (pav)
With Hat:       apache@@
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.9
log
@- Get rip python 2.3+

Note:
Python 2.3 is't longer supported and have a lot of security issues.
Convert 2.3+ to yes/or 2.4/5+

With hat:	portmgr
@
text
@d10 1
@


1.8
log
@- Take maintainership
@
text
@d23 1
a23 1
USE_PYTHON=	2.3+
@


1.7
log
@- Reset maintainer

PR:		133702
Submitted by:	Gerrit Beine <gerrit.beine@@gmx.de>
@
text
@d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
@


1.6
log
@- Update to version 0.0.4

PR:		ports/130710
Submitted by:	Gerrit Beine <gerrit.beine@@gmx.de> (maintainer)
@
text
@d15 1
a15 1
MAINTAINER=	gerrit.beine@@gmx.de
@


1.5
log
@- Bump PORTREVISION after arp update

PR:		125269 125274
@
text
@d9 1
a9 2
PORTVERSION=	0.0.2
PORTREVISION=	2
d31 2
d36 1
@


1.4
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.3
log
@- Update to 0.0.2

PR:		119254
Submitted by:	Gerrit Beine <gerrit.beine@@gmx.de> (maintainer)
@
text
@d10 1
@


1.2
log
@ - Make Python 2.5.1 the default Python version
 - Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
@
text
@d9 1
a9 1
PORTVERSION=	0.0.1
@


1.1
log
@The intent of this is to allow an administrator to mark a Ticket as "Pending"
to indicate that information has been requested from the reporter. If the
reporter doesn't reply with in the allotted timeframe, the ticket will
automatically be closed.

This works well when combined with the SimpleTicketPlugin

WWW: http://trac-hacks.org/wiki/PendingTicketPlugin

Submitted by:	Gerrit Beine <gerrit.beine at gmx.de>
@
text
@d26 1
@

