daemonic stable port information

Package: daemonic
Version: 20010902
Revision: 4
Maintainer: Fink Core Group
Depends: libxml2-bin, libxml2-shlibs
BuildDepends: libiconv-dev, libxml2
Recommends: bash-completion
Source: mirror:sourceforge:%n/%n-%v.tar.gz
Source-MD5: 20fde65b727578d721bc947d669de7b3
PatchScript: <<
#!/bin/sh -ex
perl -pi -e 's/static void/void/g' parse.c
cat >bash_completion < _daemonic_daemons()
{
ls %p/etc/daemons 2>/dev/null | sed -e 's/\.xml//'
}

_daemonic()
{
local cur prev special i

COMPREPLY=()
cur=\${COMP_WORDS[COMP_CWORD]}
prev=\${COMP_WORDS[COMP_CWORD-1]}

for (( i=0; i < \${#COMP_WORDS}-1; i++ )); do
if [[ \${COMP_WORDS[i]} == @(enable|disable|install|update|remove|dump) ]]; then
special=\${COMP_WORDS[i]}
fi
done

if [ -n "\${special}" ]; then
case \$special in
enable|disable|install|update|remove)
COMPREPLY=( \$( _daemonic_daemons ) )
;;
dump)
COMPREPLY=()
;;
esac

return 0
fi

COMPREPLY=( \$( compgen -W 'enable disable install update remove dump' -- \$cur ) )

return 0
}
complete -F _daemonic daemonic
EOF
<<
CompileScript: make prefix=%p
InstallScript: <<
make install prefix=%i
mkdir -p %i/etc/bash_completion.d
install -m755 bash_completion %i/etc/bash_completion.d/daemonic
<<
ConfFiles: %p/etc/bash_completion.d/daemonic
DocFiles: COPYING
#
Description: Interface to daemon init scripts
DescDetail: <<
daemonic provides daemon packages with a flexible, system-independent
interface to the init scripts (or whatever the system uses to start
daemons during system startup).
<<
DescPackaging: Previous versions by Christoph Pfisterer.
License: GPL
Homepage: http://daemonic.sourceforge.net/