source: trunk/dports/python/py-sisyphus/Portfile @ 5179

Last change on this file since 5179 was 5179, checked in by mww, 16 years ago

file copy -> xinstall

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1# $Id: Portfile,v 1.7 2004/02/04 00:04:38 mww Exp $
2
3PortSystem 1.0
4
5name            py-sisyphus
6version         0.9
7categories      python devel
8maintainers     mww@opendarwin.org
9platforms       darwin freebsd
10description     python module for running python stuff as cron jobs
11long_description        This module simplifies running Python stuff as cron \
12                jobs. There will be no more than one sisyphus job of a certain \
13                name running at every given time. When the job is already \
14                running and a second is started, the second one will quit \
15                immediately if the first one hasn't exceeded its maximum \
16                allowed lifetime yet. If it has exceeded the allowed lifetime \
17                the first job will be killed and the second will start \
18                running. In addition to that, logging features are provided.
19
20homepage        http://www.livinglogic.de/Python/sisyphus/
21master_sites    http://ftp.livinglogic.de/sisyphus
22distname        ll-sisyphus-${version}
23checksums       md5 4c61bd152d559124b819343d97586d0b
24
25depends_lib     bin:python:python
26
27use_configure   no
28
29build.cmd       python setup.py
30build.target    build
31
32destroot.cmd    python setup.py
33destroot.destdir        --prefix=${destroot}${prefix}
34
35post-destroot   {
36        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples
37        xinstall -m 644 -W ${worksrcpath} INSTALL NEWS README NEWS.xml \
38                INSTALL.xml ${destroot}${prefix}/share/doc/${name}
39        xinstall -m 644 ${worksrcpath}/examples/Fetch.py \
40                ${destroot}${prefix}/share/doc/${name}/examples
41}
Note: See TracBrowser for help on using the repository browser.