1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/www/web2ldap/pkg-install
Marcus Alves Grando 3c605eed51 Update to 0.16.0
Reorganize Makefile
Use pkg-install to create some dirs

PR:		88608
Submitted by:	Boris B. Samorodov <bsam[@]ipt.ru> (maintainer)
2005-11-08 03:26:59 +00:00

21 lines
281 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
PREFIX=${PKG_PREFIX:-/usr/local}
DATADIR=${PREFIX}/share/web2ldap
MKDIR=/bin/mkdir
case "$2" in
POST-INSTALL)
${MKDIR} -p ${DATADIR}/var ${DATADIR}/var/log ${DATADIR}/var/run
if [ -w /var/log ]; then
${MKDIR} /var/log/web2ldap
fi
;;
esac
exit 0