diff options
author | Nicola Vitale <nivit@FreeBSD.org> | 2007-02-17 14:15:41 +0000 |
---|---|---|
committer | Nicola Vitale <nivit@FreeBSD.org> | 2007-02-17 14:15:41 +0000 |
commit | 7d3fe10b5a0ddf4791eee6dd607e1dd0768cd921 (patch) | |
tree | 77909bf723b7f6c90814e91d50a33d06f6a9bc9d /mail/py-turbomail | |
parent | e6eda7191ab269200e59f69d1c6bc064f4677604 (diff) | |
download | ports-7d3fe10b5a0ddf4791eee6dd607e1dd0768cd921.tar.gz ports-7d3fe10b5a0ddf4791eee6dd607e1dd0768cd921.zip |
Notes
Diffstat (limited to 'mail/py-turbomail')
-rw-r--r-- | mail/py-turbomail/Makefile | 36 | ||||
-rw-r--r-- | mail/py-turbomail/distinfo | 3 | ||||
-rw-r--r-- | mail/py-turbomail/files/pkg-deinstall.in | 17 | ||||
-rw-r--r-- | mail/py-turbomail/files/pkg-install.in | 16 | ||||
-rw-r--r-- | mail/py-turbomail/pkg-descr | 11 |
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/ |