source: trunk/dports/mail/archivemail/Portfile @ 34110

Last change on this file since 34110 was 34110, checked in by simon@…, 12 years ago

mail/archivemail: Updated to version 0.7.2. Also removed unnecessary compression of man page.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 34110 2008-02-13 17:16:14Z simon@macports.org $
2
3PortSystem          1.0
4
5name                archivemail
6version             0.7.2
7categories          mail python
8platforms           darwin
9maintainers         nomaintainer
10description         archive and compress old email
11long_description    archivemail is a tool written in Python for archiving \
12                    and compressing old email in mailboxes. It can move \
13                    messages older than the specified number of days to a \
14                    separate mbox format mailbox that is compressed with \
15                    gzip, or optionally just delete old email.
16
17homepage            http://archivemail.sourceforge.net
18master_sites        sourceforge
19checksums           md5 e444424688e6ec063e829176e4eb62e2 \
20                    sha1 0ff9b8991b04f09cf9536c45b6f9e05d2427a459 \
21                    rmd160 da85dff5114100d76f8f5ac19172d8a557801455
22
23depends_lib         bin:python:python24
24
25use_configure       no
26build               {}
27
28# I don't know a better way so it works even if python_select is not
29# installed. If there is please tell me (simon@macports.org) or just change
30# it.
31if {[file exists ${prefix}/bin/python]} {
32    set python python
33} else {
34    set python python2.4
35}
36
37destroot.cmd        ${prefix}/bin/${python} setup.py install
38destroot.destdir    --prefix=${prefix} \
39                    --root=${destroot} \
40                    --install-data=${prefix}/share
41post-destroot {
42    xinstall -d ${destroot}${prefix}/share/doc/${name}
43    xinstall -W ${worksrcpath} CHANGELOG FAQ README TODO \
44        ${destroot}${prefix}/share/doc/${name}
45}
Note: See TracBrowser for help on using the repository browser.