summaryrefslogtreecommitdiff
path: root/share/mk
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>1999-02-18 19:22:46 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>1999-02-18 19:22:46 +0000
commit612e0f32dfc9a2fe7b6803f8ff72d21102e2c60f (patch)
treeafa0cb20116042afef11c9ce21666e20e0a8382c /share/mk
parenteb9350286db6bc78c797ad10a57a7eea17fea041 (diff)
display ${PKGDIR}/MESSAGE after install (if it exists);
use cat(1) instead of more(1), though, so the port need not be marked as interactive; problem noted by fgsch@openbsd.org
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.port.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/share/mk/bsd.port.mk b/share/mk/bsd.port.mk
index 998abefa212..37fe9d21220 100644
--- a/share/mk/bsd.port.mk
+++ b/share/mk/bsd.port.mk
@@ -1,6 +1,6 @@
#-*- mode: Fundamental; tab-width: 4; -*-
# ex:ts=4
-# $OpenBSD: bsd.port.mk,v 1.64 1999/02/18 00:01:47 marc Exp $
+# $OpenBSD: bsd.port.mk,v 1.65 1999/02/18 19:22:45 marc Exp $
#
# bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain.
@@ -28,7 +28,7 @@ OpenBSD_MAINTAINER= marc@OpenBSD.ORG
# NEED_VERSION: we need at least this version of bsd.port.mk for this
# port to build
-FULL_REVISION=$$OpenBSD: bsd.port.mk,v 1.64 1999/02/18 00:01:47 marc Exp $$
+FULL_REVISION=$$OpenBSD: bsd.port.mk,v 1.65 1999/02/18 19:22:45 marc Exp $$
.if defined(NEED_VERSION)
VERSION_REVISION=${FULL_REVISION:M[0-9]*.*}
@@ -1432,6 +1432,9 @@ _PORT_USE: .USE
.endfor
.endif
.endif
+.if make(real-install) && exists(${PKGDIR}/MESSAGE)
+ @${CAT} ${PKGDIR}/MESSAGE
+.endif
.if make(real-install) && !defined(NO_PKG_REGISTER)
@cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} fake-pkg
.endif