diff options
author | pat <pat@FreeBSD.org> | 2002-02-08 12:08:02 +0800 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-02-08 12:08:02 +0800 |
commit | 1965fc0bb1e9446b4f24ca66de6bec482d5d7e50 (patch) | |
tree | 1c7be349c99f4c6b124b739ed79959519a6395fb /mail/tmda | |
parent | 079e00ee923f233675e2cc8998fa75c1dc098f0f (diff) | |
download | freebsd-ports-gnome-1965fc0bb1e9446b4f24ca66de6bec482d5d7e50.tar.gz freebsd-ports-gnome-1965fc0bb1e9446b4f24ca66de6bec482d5d7e50.tar.zst freebsd-ports-gnome-1965fc0bb1e9446b4f24ca66de6bec482d5d7e50.zip |
Update to 0.46
PR: 34701
Submitted by: maintainer
Diffstat (limited to 'mail/tmda')
-rw-r--r-- | mail/tmda/Makefile | 9 | ||||
-rw-r--r-- | mail/tmda/distinfo | 2 | ||||
-rw-r--r-- | mail/tmda/pkg-plist | 2 | ||||
-rw-r--r-- | mail/tmda/pkg-req | 17 |
4 files changed, 25 insertions, 5 deletions
diff --git a/mail/tmda/Makefile b/mail/tmda/Makefile index d900ed51b536..746cb70ec85d 100644 --- a/mail/tmda/Makefile +++ b/mail/tmda/Makefile @@ -6,10 +6,10 @@ # PORTNAME= tmda -PORTVERSION= 0.44 +PORTVERSION= 0.46 CATEGORIES= mail python -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= tmda +MASTER_SITES= http://software.libertine.org/tmda/releases/ \ + http://software.libertine.org/tmda/releases/old/ EXTRACT_SUFX= .tgz MAINTAINER= jason@mastaler.com @@ -19,6 +19,9 @@ USE_PYTHON= yes do-build: (cd ${WRKSRC}; ${PYTHON_CMD} ./compileall) +pre-install: + @${SH} ${PKGREQ} INSTALL + do-install: ${MKDIR} ${PYTHON_SITELIBDIR}/TMDA ${INSTALL_SCRIPT} ${WRKSRC}/TMDA/*.py* ${PYTHON_SITELIBDIR}/TMDA diff --git a/mail/tmda/distinfo b/mail/tmda/distinfo index 8287d74ecdbd..03ea7c294b0f 100644 --- a/mail/tmda/distinfo +++ b/mail/tmda/distinfo @@ -1 +1 @@ -MD5 (tmda-0.44.tgz) = 66c80120099b046ab1c5974748da36ed +MD5 (tmda-0.46.tgz) = abdc1c160c74a92071fa586399ba02b7 diff --git a/mail/tmda/pkg-plist b/mail/tmda/pkg-plist index de7c370b7032..390ca609b990 100644 --- a/mail/tmda/pkg-plist +++ b/mail/tmda/pkg-plist @@ -55,10 +55,10 @@ lib/%%PYTHON_VERSION%%/site-packages/TMDA/__init__.pyc %%PORTDOCS%%share/doc/tmda/htdocs/index.html %%PORTDOCS%%share/doc/tmda/htdocs/install.html %%PORTDOCS%%share/doc/tmda/htdocs/inuse.html -%%PORTDOCS%%share/doc/tmda/htdocs/lists.html %%PORTDOCS%%share/doc/tmda/htdocs/requirements.html %%PORTDOCS%%share/doc/tmda/htdocs/resources.html %%PORTDOCS%%share/doc/tmda/htdocs/results.html +%%PORTDOCS%%share/doc/tmda/htdocs/trouble.html share/tmda/confirm_accept.txt share/tmda/confirm_request.txt @dirrm share/tmda diff --git a/mail/tmda/pkg-req b/mail/tmda/pkg-req new file mode 100644 index 000000000000..f2b70eeb6d6e --- /dev/null +++ b/mail/tmda/pkg-req @@ -0,0 +1,17 @@ +#!/bin/sh + +PATH=$PATH:/usr/local/bin + +if [ "x$1" = "xINSTALL" -o "x$2" = "xINSTALL" ]; then + PYTHON_GT=`python -c 'import string, sys; \ + print string.split(sys.version)[0] >= "2.0"'` + if [ "x${PYTHON_GT}" = "x1" ]; then + exit 0 + else + echo "-----------------------------------------------------------" + echo " TMDA requires Python version 2.0 or greater -" + echo " please update your Python installation before proceeding." + echo "-----------------------------------------------------------" + exit 1 + fi +fi |