most recent changes, diff for archivemail

Index: mail/archivemail/Portfile
--- mail/archivemail/Portfile (revision 34109)
+++ mail/archivemail/Portfile (revision 34110)
@@ -3,7 +3,7 @@
PortSystem 1.0

name archivemail
-version 0.7.0
+version 0.7.2
categories mail python
platforms darwin
maintainers nomaintainer
@@ -16,20 +16,30 @@

homepage http://archivemail.sourceforge.net
master_sites sourceforge
-checksums sha1 fcba04b7ae748d54b8ebcbecb0aad08c4f58e927
+checksums md5 e444424688e6ec063e829176e4eb62e2 \
+ sha1 0ff9b8991b04f09cf9536c45b6f9e05d2427a459 \
+ rmd160 da85dff5114100d76f8f5ac19172d8a557801455

depends_lib bin:python:python24

use_configure no
build {}

-destroot.cmd ${prefix}/bin/python setup.py install
+# I don't know a better way so it works even if python_select is not
+# installed. If there is please tell me (simon@macports.org) or just change
+# it.
+if {[file exists ${prefix}/bin/python]} {
+ set python python
+} else {
+ set python python2.4
+}
+
+destroot.cmd ${prefix}/bin/${python} setup.py install
destroot.destdir --prefix=${prefix} \
--root=${destroot} \
--install-data=${prefix}/share
post-destroot {
- system "gzip -9 ${destroot}${prefix}/share/man/man1/archivemail.1"
- xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
xinstall -W ${worksrcpath} CHANGELOG FAQ README TODO \
${destroot}${prefix}/share/doc/${name}
}