summaryrefslogtreecommitdiff
path: root/news/inn
diff options
context:
space:
mode:
authorTorsten Blum <torstenb@FreeBSD.org>1995-10-06 14:33:05 +0000
committerTorsten Blum <torstenb@FreeBSD.org>1995-10-06 14:33:05 +0000
commitddd2e38f205c299696f7973e5d57d552f683ed91 (patch)
tree7cd295ae87b45fa73591edee95e371a17f5e6d1b /news/inn
parentAdd LIB_DEPENDS to Xpm. (diff)
- add an `update' target (won't overwrite configuration files
- install libinn.a and it's header files
Notes
Notes: svn path=/head/; revision=2283
Diffstat (limited to 'news/inn')
-rw-r--r--news/inn/Makefile17
1 files changed, 16 insertions, 1 deletions
diff --git a/news/inn/Makefile b/news/inn/Makefile
index 94edbb483983..22f53c31cf36 100644
--- a/news/inn/Makefile
+++ b/news/inn/Makefile
@@ -3,7 +3,7 @@
# Date created: 20 Oct 1994
# Whom: torstenb
#
-# $Id: Makefile,v 1.9 1995/07/02 10:08:13 torstenb Exp $
+# $Id: Makefile,v 1.10 1995/08/08 21:50:39 torstenb Exp $
#
DISTNAME= inn1.4sec
@@ -25,7 +25,19 @@ NO_WRKSUBDIR= YES
pre-install:
mkdir -p ${PREFIX}/news
+update: build
+ @(cd ${WRKSRC} ; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} update)
+ @${MAKE} ${.MAKEFLAGS} post-install
+
post-install:
+ install -c -o bin -g bin -m 0444 ${WRKSRC}/lib/libinn.a \
+ ${PREFIX}/lib/
+ install -c -o bin -g bin -m 0444 ${WRKSRC}/include/inndcomm.h \
+ ${PREFIX}/include/
+ install -c -o bin -g bin -m 0444 ${WRKSRC}/include/libinn.h \
+ ${PREFIX}/include/
+ install -c -o bin -g bin -m 0444 ${WRKSRC}/include/qio.h \
+ ${PREFIX}/include/
if [ -d /var/spool/news ] && [ ! -d /var/news ]; then \
mkdir -m 0775 -p /var/spool/news/over.view; \
chown news.news /var/spool/news/over.view; \
@@ -33,6 +45,9 @@ post-install:
mkdir -m 0775 -p /var/news/over.view; \
chown news.news /var/news/over.view; \
fi
+ -mkdir ${PREFIX}/news/locks
+ chown news.news ${PREFIX}/news/locks
+ chmod 0755 ${PREFIX}/news/locks
gzip -9nf ${PREFIX}/man/man1/convdate.1 ${PREFIX}/man/man1/getlist.1 \
${PREFIX}/man/man1/grephistory.1 ${PREFIX}/man/man1/inews.1 \
${PREFIX}/man/man1/innconfval.1 ${PREFIX}/man/man1/installit.1 \