aboutsummaryrefslogtreecommitdiff
path: root/news/leafnode+
diff options
context:
space:
mode:
Diffstat (limited to 'news/leafnode+')
-rw-r--r--news/leafnode+/Makefile9
-rw-r--r--news/leafnode+/files/INSTALL.in1
2 files changed, 6 insertions, 4 deletions
diff --git a/news/leafnode+/Makefile b/news/leafnode+/Makefile
index 047341fe2813..27a5d4a58c7c 100644
--- a/news/leafnode+/Makefile
+++ b/news/leafnode+/Makefile
@@ -3,7 +3,7 @@
# Date created: 19 November 1998
# Whom: Tom Hukins <tom@FreeBSD.org>
#
-# $Id: Makefile,v 1.6 1999/04/22 00:17:13 scrappy Exp $
+# $Id: Makefile,v 1.7 1999/07/04 19:40:32 sada Exp $
#
DISTNAME= leafnode+-2.6
@@ -47,10 +47,11 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/leafnode+
.endfor
.endif
- @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
post-install:
- @test -d /var/spool/news -a -d ${PREFIX}/lib/leafnode || \
- ${CAT} ${PKGDIR}/MESSAGE
+ @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+ @if test \( ! -d ${LEAFSPOOLDIR} \) -o \( ! -d ${LEAFLIBDIR} \) ; then \
+ ${CAT} ${PKGDIR}/MESSAGE; \
+ fi
.include <bsd.port.mk>
diff --git a/news/leafnode+/files/INSTALL.in b/news/leafnode+/files/INSTALL.in
index b8c1ccf4296f..c71fb6930b6f 100644
--- a/news/leafnode+/files/INSTALL.in
+++ b/news/leafnode+/files/INSTALL.in
@@ -1,4 +1,5 @@
#!/bin/sh
+# $Id$
LIBDIR=@LIBDIR@
SPOOLDIR=@SPOOLDIR@
if [ x$2 = xPOST-INSTALL -a x$LEAFNODE_SETUP_WRKDIRS != x ]; then