aboutsummaryrefslogtreecommitdiffstats
path: root/mail/py-turbomail
diff options
context:
space:
mode:
authornivit <nivit@FreeBSD.org>2007-02-17 22:15:41 +0800
committernivit <nivit@FreeBSD.org>2007-02-17 22:15:41 +0800
commitd5a88210802db00b415dfdec10da22c3fa8c7991 (patch)
tree0a464c61f4018c4f487e0cada8fe42e20f71815a /mail/py-turbomail
parenta6ca84bfeb4ff3067ceb3342b172a684be9d88fa (diff)
downloadfreebsd-ports-gnome-d5a88210802db00b415dfdec10da22c3fa8c7991.tar.gz
freebsd-ports-gnome-d5a88210802db00b415dfdec10da22c3fa8c7991.tar.zst
freebsd-ports-gnome-d5a88210802db00b415dfdec10da22c3fa8c7991.zip
TurboMail is a TurboGears extension, meaning that it starts up and
shuts down alongside any TurboGears applications you write, in the same way that visit tracking and identity do. TurboMail uses built-in Python modules for SMTP communication and MIME e-mail creation, but greatly simplifies these tasks by performing the grunt-work for you. Additionally, TurboMail is multi-threaded, allowing for single or batch enqueueing and background delivery of mail. Author: Top Floor Computer Systems Ltd. WWW: http://trac.orianagroup.com/turbomail/
Diffstat (limited to 'mail/py-turbomail')
-rw-r--r--mail/py-turbomail/Makefile36
-rw-r--r--mail/py-turbomail/distinfo3
-rw-r--r--mail/py-turbomail/files/pkg-deinstall.in17
-rw-r--r--mail/py-turbomail/files/pkg-install.in16
-rw-r--r--mail/py-turbomail/pkg-descr11
5 files changed, 83 insertions, 0 deletions
diff --git a/mail/py-turbomail/Makefile b/mail/py-turbomail/Makefile
new file mode 100644
index 000000000000..7e106f716f0c
--- /dev/null
+++ b/mail/py-turbomail/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: py-turbomail
+# Date created: 2007-01-24
+# Whom: Nicola Vitale <nivit@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= turbomail
+PORTVERSION= 2.0.3
+CATEGORIES= mail www
+MASTER_SITES= http://cheeseshop.python.org/packages/source/T/TurboMail/ \
+ http://nivi.interfree.it/distfiles/${PORTNAME}/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= TurboMail-${PORTVERSION}
+
+MAINTAINER= python@FreeBSD.org
+COMMENT= Multi-threaded mail queue manager for TurboGears applications
+
+BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools \
+ tg-admin:${PORTSDIR}/www/py-turbogears
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PLIST_FILES= ${PYTHON_SITELIBDIR:S|${PREFIX}/||}/${PYTURBOMAIL_EGG}
+
+SUB_FILES= pkg-deinstall pkg-install
+SUB_LIST= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} \
+ EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
+ EGG_VER="${PORTNAME}==${PORTVERSION}"
+
+USE_PYTHON= 2.4+
+USE_PYDISTUTILS= yes
+
+EASY_INSTALL_CMD?= easy_install-${PYTHON_VER}
+PYTURBOMAIL_EGG= TurboMail-${PORTVERSION}-py${PYTHON_VER}.egg
+
+.include <bsd.port.mk>
diff --git a/mail/py-turbomail/distinfo b/mail/py-turbomail/distinfo
new file mode 100644
index 000000000000..57a80f53f1e8
--- /dev/null
+++ b/mail/py-turbomail/distinfo
@@ -0,0 +1,3 @@
+MD5 (TurboMail-2.0.3.tar.gz) = a4474e3767c83d9a1c14134673fe1a57
+SHA256 (TurboMail-2.0.3.tar.gz) = ca7103ac2aa5a7fbddd8fb6c95f1e633b22e138bc1ad831100112e46391912e9
+SIZE (TurboMail-2.0.3.tar.gz) = 14025
diff --git a/mail/py-turbomail/files/pkg-deinstall.in b/mail/py-turbomail/files/pkg-deinstall.in
new file mode 100644
index 000000000000..18ccffddbb1e
--- /dev/null
+++ b/mail/py-turbomail/files/pkg-deinstall.in
@@ -0,0 +1,17 @@
+#!/bin/sh
+# $FreeBSD$
+PKGNAME=$1
+#
+case $2 in
+ DEINSTALL)
+ %%EASY_INSTALL_CMD%% -q -m -S %%PYTHON_SITELIBDIR%% %%EGG_VER%%
+ ;;
+ POST-DEINSTALL)
+ exit 0
+ ;;
+ *)
+ echo "Unexpected Argument $2!!!"
+ exit 1
+ ;;
+esac
+exit 0
diff --git a/mail/py-turbomail/files/pkg-install.in b/mail/py-turbomail/files/pkg-install.in
new file mode 100644
index 000000000000..f361d3b6c356
--- /dev/null
+++ b/mail/py-turbomail/files/pkg-install.in
@@ -0,0 +1,16 @@
+#!/bin/sh
+# $FreeBSD$
+PKGNAME=$1
+#
+case $2 in
+ POST-INSTALL)
+ %%EASY_INSTALL_CMD%% -q -S %%PYTHON_SITELIBDIR%% %%EGG_VER%%
+ ;;
+ PRE-INSTALL)
+ ;;
+ *)
+ echo "Unexpected Argument $2!!!"
+ exit 1
+ ;;
+esac
+exit 0
diff --git a/mail/py-turbomail/pkg-descr b/mail/py-turbomail/pkg-descr
new file mode 100644
index 000000000000..20dbe3a0cec7
--- /dev/null
+++ b/mail/py-turbomail/pkg-descr
@@ -0,0 +1,11 @@
+TurboMail is a TurboGears extension, meaning that it starts up and
+shuts down alongside any TurboGears applications you write, in the
+same way that visit tracking and identity do.
+
+TurboMail uses built-in Python modules for SMTP communication and
+MIME e-mail creation, but greatly simplifies these tasks by performing
+the grunt-work for you. Additionally, TurboMail is multi-threaded,
+allowing for single or batch enqueueing and background delivery of mail.
+
+Author: Top Floor Computer Systems Ltd.
+WWW: http://trac.orianagroup.com/turbomail/