aboutsummaryrefslogtreecommitdiffstats
path: root/www/web2ldap/pkg-install
blob: bf61fd239c867b392b3b3e839adf31981bcb3684 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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