aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dns/bind8/Makefile4
-rw-r--r--dns/bind8/files/message14
-rw-r--r--net/bind8/Makefile4
-rw-r--r--net/bind8/files/message14
4 files changed, 36 insertions, 0 deletions
diff --git a/dns/bind8/Makefile b/dns/bind8/Makefile
index bac0f25555c9..be395c83225c 100644
--- a/dns/bind8/Makefile
+++ b/dns/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/dns/bind8/files/message b/dns/bind8/files/message
new file mode 100644
index 000000000000..4edee36ff0c1
--- /dev/null
+++ b/dns/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 !
+============================================================
+
diff --git a/net/bind8/Makefile b/net/bind8/Makefile
index bac0f25555c9..be395c83225c 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 000000000000..4edee36ff0c1
--- /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 !
+============================================================
+