aboutsummaryrefslogtreecommitdiff
path: root/news/leafnode+
diff options
context:
space:
mode:
authorSADA Kenji <sada@FreeBSD.org>1999-07-05 18:59:58 +0000
committerSADA Kenji <sada@FreeBSD.org>1999-07-05 18:59:58 +0000
commit558151a7e60449fecbcd0c40d4665b3f0a7dd9c0 (patch)
tree5a52fc5cce85da2e75ca2b724ad5a4348d8e3f9d /news/leafnode+
parent9a12bc3253c30edde5b26fc498e0f8215d2e41a3 (diff)
downloadports-558151a7e60449fecbcd0c40d4665b3f0a7dd9c0.tar.gz
ports-558151a7e60449fecbcd0c40d4665b3f0a7dd9c0.zip
Notes
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