# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id: Portfile 127025 2014-10-19 17:18:25Z khindenburg@macports.org $ PortSystem 1.0 name fcron version 3.2.0 categories sysutils platforms darwin license GPL-2 maintainers yahoo.com:compconsultant description fcron is an alternative scheduler aka cron daemon long_description fcron is a scheduler. It aims at replacing Vixie Cron, so \ it implements most of its functionalities. But contrary to \ Vixie Cron, fcron does not need your system to be up 7 \ days a week, 24 hours a day : it also works well with \ systems which are not running neither all the time nor \ regularly (contrary to anacrontab). homepage http://fcron.free.fr master_sites ${homepage}/archives extract.suffix .src.tar.gz checksums rmd160 4cba8ea99361f201b46194b91529ca77c59fd021 \ sha256 eb13b86ed96805d117e19847f1da30b834f1990f7ef4c38f5007234d44679564 configure.args --with-boot-install=no \ --with-pam=no \ --with-selinux=no set startup_root "" startupitem.create yes startupitem.name fcron startupitem.start "\[ -x ${prefix}/sbin/fcron \] && ${prefix}/sbin/fcron -b" startupitem.stop "\[ -r ${prefix}/var/run/fcron.pid \] \\" \ "&& kill -KILL `cat ${prefix}/var/run/fcron.pid`" destroot.keepdirs ${destroot}${prefix}/var/spool/fcron add_users fcron group=fcron shell=/bin/bash realname=fcronServer post-destroot { foreach file [glob ${destroot}${prefix}/etc/fcron*] { file rename ${file} ${file}.sample } } notes " Before starting ${name}, create the configuration file ${prefix}/etc/fcron.conf\ by using ${prefix}/etc/fcron.conf.sample as a reference. Before starting ${name}, create the file ${prefix}/etc/fcron.allow\ by using ${prefix}/etc/fcron.allow.sample as a reference. A startup item has been generated that will aid in\ starting ${name} with launchd. It is disabled\ by default. Execute the following command to start it,\ and to cause it to launch at startup: sudo launchctl load -w ${startup_root}/Library/LaunchDaemons/org.macports.fcron.plist " livecheck.type regex livecheck.regex {Stable : \<.*?\>([0-9.]+)\<}