print warning message after install.

PR:		25054
Submitted by:	Christoph Weber-Fahr <Christoph.Weber-Fahr@arcor.net>
Approved by:	maintainer
This commit is contained in:
FUJISHIMA Satsuki 2001-02-16 09:08:59 +00:00
parent 5949b97641
commit 29e9e34f92
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38400
4 changed files with 36 additions and 0 deletions

View file

@ -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>

14
dns/bind8/files/message Normal file
View file

@ -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 !
============================================================

View file

@ -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>

14
net/bind8/files/message Normal file
View file

@ -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 !
============================================================