# $Id: Portfile 46099 2009-01-29 14:37:40Z macsforever2000@macports.org $ PortSystem 1.0 name fcron version 3.0.4 categories sysutils platforms darwin 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 md5 5a26a1dfd91fdc7e87401e98aef870e6 \ sha1 daaa5287be026a425ea5bb56959ad38b1b6d030a \ rmd160 2bb8eb489251eaa1380b4e37b6526d2040291313 patchfiles patch-fcrontab.c.diff configure.args --with-boot-install=no \ --with-pam=no \ --with-selinux=no startupitem.create yes startupitem.name fcron startupitem.start "\[ -x ${prefix}/sbin/fcron \] && ${prefix}/sbin/fcron -b" startupitem.stop "\[ -r ${prefix}/var/run/fcron/fcron.pid \] \\" \ "&& kill -KILL `cat ${prefix}/var/run/fcron/fcron.pid`" destroot.keepdirs ${destroot}${prefix}/var/spool/fcron \ ${destroot}${prefix}/var/run/fcron pre-destroot { addgroup fcron set gid [existsgroup fcron] adduser fcron shell=/bin/bash gid=${gid} \ realname=fcronServer } post-destroot { set dp ${destroot}${prefix} foreach file [glob ${dp}/etc/fcron*] { file rename ${file} ${file}-default } }