pkgsrc/net/freeradius/HEADER
jmmv 6a4cd0d9be Convert to the bsd.pkg.install.mk framework:
- Install all configuration files under the examples directory.
- Copy configuration files to PKG_SYSCONFDIR using CONF_FILES.
- Honour PKG_SYSCONFDIR.
- Use OWN_DIRS to handle the /var/run/radiusd status directory.
- Use RCD_SCRIPTS to handle the rc.d script automatically.
As a result, bump PKGREVISION to 3.
2003-07-30 14:50:07 +00:00

12 lines
273 B
Text

# $NetBSD: HEADER,v 1.1 2003/07/30 14:50:07 jmmv Exp $
EGDIR="${PKG_PREFIX}/share/examples/freeradius"
case ${STAGE} in
POST-INSTALL|DEINSTALL)
for fp in ${EGDIR}/*; do
f="`${BASENAME} $fp`"
CONF_FILES="${CONF_FILES} ${EGDIR}/$f ${PKG_SYSCONFDIR}/$f"
done
;;
esac