1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

Update to 0.46

PR:		34701
Submitted by:	maintainer
This commit is contained in:
Patrick Li 2002-02-08 04:08:02 +00:00
parent 186aa08603
commit 83b57cf817
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=54336
4 changed files with 25 additions and 5 deletions

View File

@ -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

View File

@ -1 +1 @@
MD5 (tmda-0.44.tgz) = 66c80120099b046ab1c5974748da36ed
MD5 (tmda-0.46.tgz) = abdc1c160c74a92071fa586399ba02b7

View File

@ -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

17
mail/tmda/pkg-req Normal file
View File

@ -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