summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1999-09-11 10:09:47 +0000
committerSatoshi Asami <asami@FreeBSD.org>1999-09-11 10:09:47 +0000
commitfacac52755f1acb4c81c72d6546785970c02a337 (patch)
tree2bbdecb646f3276c25c1c27571f1b734fd96a383 /news
parentNo need to create ${PORTINFORDIR}/dir explicitly -- install-info does it for (diff)
/var/spool/news doesn't exist by default, so create it in pre-install.
Notes
Notes: svn path=/head/; revision=21658
Diffstat (limited to 'news')
-rw-r--r--news/inn-current/Makefile3
-rw-r--r--news/inn/Makefile3
2 files changed, 6 insertions, 0 deletions
diff --git a/news/inn-current/Makefile b/news/inn-current/Makefile
index 3708920e9292..200e8946cf84 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
diff --git a/news/inn/Makefile b/news/inn/Makefile
index 3708920e9292..200e8946cf84 100644
--- a/news/inn/Makefile
+++ b/news/inn/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