summaryrefslogtreecommitdiffstats
path: root/news/inn-current
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1999-09-11 10:09:47 +0000
committerasami <asami@FreeBSD.org>1999-09-11 10:09:47 +0000
commitf4c0559107e1bd238d64bf4904f5e2ab0c577e05 (patch)
treed7165d033267cd1d7171cf68759c068c5fa6663b /news/inn-current
parent3f4f3c1b2b0fe88dddc2c5f15c8880b3868e821d (diff)
downloadFreeBSD-ports-f4c0559107e1bd238d64bf4904f5e2ab0c577e05.zip
FreeBSD-ports-f4c0559107e1bd238d64bf4904f5e2ab0c577e05.tar.gz
/var/spool/news doesn't exist by default, so create it in pre-install.
Diffstat (limited to 'news/inn-current')
-rw-r--r--news/inn-current/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/news/inn-current/Makefile b/news/inn-current/Makefile
index 3708920..200e8946c 100644
--- a/news/inn-current/Makefile
+++ b/news/inn-current/Makefile
@@ -58,6 +58,9 @@ MAN8= actived.8 actsync.8 actsyncd.8 archive.8 batcher.8 buffchan.8 \
pgpverify.8 prunehistory.8 pullnews.8 scanlogs.8 send-uucp.8 sm.8 \
tally.control.8 tally.unwanted.8 writelog.8
+pre-install:
+ ${MKDIR} /var/spool/news
+
post-install:
${SED} <${FILESDIR}/innd.sh >${PREFIX}/etc/rc.d/innd.sh \
s+!!PREFIX!!+${PREFIX}+g && chmod +x ${PREFIX}/etc/rc.d/innd.sh
OpenPOWER on IntegriCloud