#!/bin/sh
prefix=/usr/pkg
exec_prefix=${prefix}
bindir=${exec_prefix}/bin
sysconfdir=/usr/pkg/etc/syslog-ng
localstatedir=/var/db/syslog-ng

${bindir}/pdbtool merge -r --glob \*.pdb -D ${sysconfdir}/patterndb.d -p ${localstatedir}/patterndb.xml
