diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-05-27 19:35:35 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-05-27 19:35:35 +0000 |
commit | 772728a3bc7bb832b4f7c01ad57ca8a34534d605 (patch) | |
tree | 7ef1571d4f1470a2841808a2e93e74718d488830 /www/trac-remind | |
parent | 37562547005b6af5c28f2a618510c91418d5ad63 (diff) | |
download | ports-772728a3bc7bb832b4f7c01ad57ca8a34534d605.tar.gz ports-772728a3bc7bb832b4f7c01ad57ca8a34534d605.zip |
Send a text only mail with a reminder on new and open tickets
WWW: http://www.trac-hacks.org/wiki/TicketRemindScript
Submitted by: Gerrit Beine <gerrit.beine at gmx.de>
Notes
Notes:
svn path=/head/; revision=192097
Diffstat (limited to 'www/trac-remind')
-rw-r--r-- | www/trac-remind/Makefile | 35 | ||||
-rw-r--r-- | www/trac-remind/distinfo | 3 | ||||
-rw-r--r-- | www/trac-remind/files/patch-tracremind.py | 17 | ||||
-rw-r--r-- | www/trac-remind/pkg-descr | 3 |
4 files changed, 58 insertions, 0 deletions
diff --git a/www/trac-remind/Makefile b/www/trac-remind/Makefile new file mode 100644 index 000000000000..28f67bc4d9d3 --- /dev/null +++ b/www/trac-remind/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: trac-remind +# Date created: May 18 2007 +# Whom: Gerrit Beine <gerrit.beine@gmx.de> +# +# $FreeBSD$ +# + +PORTNAME= remind +PORTVERSION= 1 +CATEGORIES= www devel python +MASTER_SITES= http://www.unixmedia.it/ +PKGNAMEPREFIX= trac- +DISTNAME= trac${PORTNAME} + +MAINTAINER= gerrit.beine@gmx.de +COMMENT= Trac tickets reminder script + +BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools +RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac + +NO_BUILD= yes +USE_ZIP= yes +USE_PYTHON= 2.3+ + +PLIST_FILES= bin/tracremind.py etc/tracremind.conf + +post-patch: + ${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," \ + -e "s,%%PYTHON%%,${PYTHON_CMD}," ${WRKSRC}/tracremind.py + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/tracremind.py ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/tracremind.conf ${PREFIX}/etc + +.include <bsd.port.mk> diff --git a/www/trac-remind/distinfo b/www/trac-remind/distinfo new file mode 100644 index 000000000000..89603fab4764 --- /dev/null +++ b/www/trac-remind/distinfo @@ -0,0 +1,3 @@ +MD5 (tracremind.zip) = cfb5e5617b00c3c42b2c2135b29fb3cb +SHA256 (tracremind.zip) = 1b451aa6428e59bd9f908f47109a74c0d7b3c4df4987a0547a7cd6024219709d +SIZE (tracremind.zip) = 7262 diff --git a/www/trac-remind/files/patch-tracremind.py b/www/trac-remind/files/patch-tracremind.py new file mode 100644 index 000000000000..185d8c9cb228 --- /dev/null +++ b/www/trac-remind/files/patch-tracremind.py @@ -0,0 +1,17 @@ +--- tracremind.py.orig Sat Jan 20 01:33:00 2007 ++++ tracremind.py Fri May 18 20:13:23 2007 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!%%PYTHON%% + + import os + import sys +@@ -107,7 +107,7 @@ + if __name__ == '__main__': + # Default config file + # +- configfile = '/etc/tracremind.conf' ++ configfile = '%%PREFIX%%/etc/tracremind.conf' + project = '' + component = '' + ENABLE_SYSLOG = 0 diff --git a/www/trac-remind/pkg-descr b/www/trac-remind/pkg-descr new file mode 100644 index 000000000000..195228a8ce00 --- /dev/null +++ b/www/trac-remind/pkg-descr @@ -0,0 +1,3 @@ +Send a text only mail with a reminder on new and open tickets + +WWW: http://www.trac-hacks.org/wiki/TicketRemindScript |