aboutsummaryrefslogtreecommitdiffstats
path: root/www/trac-remind
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-05-28 03:35:35 +0800
committermiwi <miwi@FreeBSD.org>2007-05-28 03:35:35 +0800
commit77bb98bacb3c55c2323a43869e955bf5dd50be83 (patch)
treeb124aa1f827899c919193f262c24e5eee26721fe /www/trac-remind
parent6d0baa1c0fe0809ba43a1fad3ff1c3f5169f4fc3 (diff)
downloadfreebsd-ports-gnome-77bb98bacb3c55c2323a43869e955bf5dd50be83.tar.gz
freebsd-ports-gnome-77bb98bacb3c55c2323a43869e955bf5dd50be83.tar.zst
freebsd-ports-gnome-77bb98bacb3c55c2323a43869e955bf5dd50be83.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>
Diffstat (limited to 'www/trac-remind')
-rw-r--r--www/trac-remind/Makefile35
-rw-r--r--www/trac-remind/distinfo3
-rw-r--r--www/trac-remind/files/patch-tracremind.py17
-rw-r--r--www/trac-remind/pkg-descr3
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