source: trunk/dports/sysutils/fcron/Portfile @ 33297

Last change on this file since 33297 was 33297, checked in by ryandesign@…, 11 years ago

For all nomaintainer and openmaintainer ports, remove occurrences of

platform darwin 8 {
    configure.compiler gcc-4.0
}

MacPorts 1.6 already ensures that GCC 4.0 is used by default on Tiger. See #14046.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 33297 2008-01-23 09:32:47Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    fcron
6version                 3.0.2
7categories              sysutils
8platforms               darwin
9maintainers             nomaintainer
10description             fcron is an alternative scheduler aka cron daemon
11long_description        fcron is a scheduler. It aims at replacing Vixie Cron, so \
12                                        it implements most of its functionalities. But contrary to \
13                                        Vixie Cron, fcron does not need your system to be up 7 \
14                                        days a week, 24 hours a day : it also works well with \
15                                        systems which are not running neither all the time nor \
16                                        regularly (contrary to anacrontab).
17
18homepage                http://fcron.free.fr/
19master_sites    ${homepage}/archives/
20worksrcdir              ${distname}
21distname                ${distname}.src
22checksums               md5 f35e6af41d356ebcb38882f86a14fb94 \
23                                sha1 76df8bdfb874df78e81885eca90f1b9c91b0bd24 \
24                                rmd160 822f559550780c61c5822f4034fe99dd47577847
25patchfiles              patch-configure
26
27
28configure.args  --with-etcdir=${prefix}/etc \
29                                --with-piddir=${prefix}/var/run/fcron \
30                                --with-fifodir=${prefix}/var/run/fcron \
31                                --with-spooldir=${prefix}/var/spool/fcron \
32                                --with-boot-install=no \
33                                --with-pam=no
34
35startupitem.create      yes
36startupitem.name        fcron
37startupitem.start       "\[ -x ${prefix}/sbin/fcron \] && ${prefix}/sbin/fcron -b"
38startupitem.stop        "\[ -r ${prefix}/var/run/fcron/fcron.pid \] \\" \
39                                        "&& kill -KILL `cat ${prefix}/var/run/fcron/fcron.pid`"
40
41pre-destroot    {
42        # add user:group 'fcron:fcron'
43        addgroup fcron
44        set gid [existsgroup fcron]
45        adduser fcron shell=/bin/sh gid=${gid} \
46                        home=${prefix}/var/run/fcron realname=fcron\ Server
47}
48post-destroot {
49        set dp ${destroot}${prefix}
50        xinstall -m 755 -d ${dp}/var/run/fcron/ ${dp}/var/spool/fcron
51        system "touch ${dp}/var/spool/fcron/fcron ${dp}/var/run/fcron/fcron.pid"
52        file attributes ${dp}/var/spool/fcron -owner fcron -group fcron
53        file attributes ${dp}/var/spool/fcron/fcron -owner fcron -group fcron
54        file attributes ${dp}/var/run/fcron/fcron.pid -owner root -group wheel
55}
56
Note: See TracBrowser for help on using the repository browser.