mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
372363f832
- Add python knob - Add WITH_TAGGED_HASH (from PR 36587 (thanks to Thomas Seck) - clean/move stuff from do-install: to post-install: - make "portlint -A" happy PR: 55108 Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org> (maintainer) Pointed out by: Thomas Seck <tmseck@netcologne.de>
29 lines
560 B
Bash
29 lines
560 B
Bash
#!/bin/sh
|
|
|
|
PKGNAME=$1
|
|
[ ! -n PKG_PREFIX ] && exit 1
|
|
|
|
case $2 in
|
|
PRE-INSTALL)
|
|
;;
|
|
POST-INSTALL)
|
|
NEWSBASE=${PKG_PREFIX}/news
|
|
install -d -o news -g news -m 755 \
|
|
${NEWSBASE}/run \
|
|
${NEWSBASE}/spool \
|
|
${NEWSBASE}/spool/archive \
|
|
${NEWSBASE}/spool/articles \
|
|
${NEWSBASE}/spool/incoming \
|
|
${NEWSBASE}/spool/incoming/bad \
|
|
${NEWSBASE}/spool/innfeed \
|
|
${NEWSBASE}/spool/outgoing \
|
|
${NEWSBASE}/spool/overview \
|
|
${NEWSBASE}/spool/tmp
|
|
;;
|
|
*)
|
|
echo "Unexpected Argument $2!!!"
|
|
exit 1
|
|
;;
|
|
esac
|
|
exit 0
|