1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/news/diablo/pkg-install
Thomas Zander d2600dae47 Resurrect news/diablo
- Stagify
- Assign maintainership to  Nikolai Lifanov <lifanov@mail.lifanov.com>
- General cleanup of diablo port
- Add LICENSE
- Bump PORTREVISION

PR:		193239
Submitted by:	lifanov@mail.lifanov.com
2014-09-07 07:23:56 +00:00

25 lines
404 B
Bash

#!/bin/sh
PKGNAME=$1
case $2 in
PRE-INSTALL)
;;
POST-INSTALL)
NEWSBASE=${PREFIX:-/usr/local}/news
install -d \
${NEWSBASE}/dqueue \
${NEWSBASE}/spool \
${NEWSBASE}/spool/news \
${NEWSBASE}/spool/cache \
${NEWSBASE}/spool/group \
${NEWSBASE}/spool/postq
chown -R news:news ${NEWSBASE}
;;
*)
echo "Unexpected Argument $2!!!"
exit 1
;;
esac
exit 0