summaryrefslogtreecommitdiffstats
path: root/net/bind8
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2001-02-16 09:08:59 +0000
committersf <sf@FreeBSD.org>2001-02-16 09:08:59 +0000
commitd4477dc6974a5deeef5e6d0464e7cfc6c8e9f50c (patch)
tree2467925a0902bdee022428b251f6a95e5238975b /net/bind8
parentaad2c8fd62dfd11a55b1ce109a963ec97a108508 (diff)
downloadFreeBSD-ports-d4477dc6974a5deeef5e6d0464e7cfc6c8e9f50c.zip
FreeBSD-ports-d4477dc6974a5deeef5e6d0464e7cfc6c8e9f50c.tar.gz
print warning message after install.
PR: 25054 Submitted by: Christoph Weber-Fahr <Christoph.Weber-Fahr@arcor.net> Approved by: maintainer
Diffstat (limited to 'net/bind8')
-rw-r--r--net/bind8/Makefile4
-rw-r--r--net/bind8/files/message14
2 files changed, 18 insertions, 0 deletions
diff --git a/net/bind8/Makefile b/net/bind8/Makefile
index bac0f25..be395c8 100644
--- a/net/bind8/Makefile
+++ b/net/bind8/Makefile
@@ -26,9 +26,13 @@ MAN8= named-bootconf.8 named-xfer.8 named.8 ndc.8 nslookup.8 \
PATCH_ARGS= -d ${WRKDIR}
PATCH_DIST_ARGS= -d ${WRKDIR}
+PKGMESSAGE= ${WRKDIR}/message
+
post-install:
@(cd ${WRKDIR}/doc/man && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} clean all ${INSTALL_TARGET})
${MKDIR} ${PREFIX}/share/doc/bind8
${INSTALL_DATA} ${WRKDIR}/doc/html/* ${PREFIX}/share/doc/bind8
+ ${SED} -e 's,@PREFIX@,${PREFIX},g' ${FILESDIR}/message > ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/net/bind8/files/message b/net/bind8/files/message
new file mode 100644
index 0000000..4edee36
--- /dev/null
+++ b/net/bind8/files/message
@@ -0,0 +1,14 @@
+============================================================
+ *** Attention ! *** Attention ! ***
+
+This port did NOT replace the named supplied with FreeBSD
+but installed in its own place.
+The executables reside now in @PREFIX@
+
+You MUST change /etc/rc.conf accordingly and give the full
+pathname to start named, both manually or from a config
+file.
+
+If you dont do that, the new named version will not run !
+============================================================
+
OpenPOWER on IntegriCloud