From b79f32a855852db3f475aa3b31f9ea1766c7bab2 Mon Sep 17 00:00:00 2001 From: Michael Haro Date: Fri, 31 Mar 2000 02:47:47 +0000 Subject: move post install instructions from ${ECHO} lines in Makefile to pkg/MESSAGE --- www/mathopd/Makefile | 14 +------------- www/mathopd/pkg-message | 13 +++++++++++++ 2 files changed, 14 insertions(+), 13 deletions(-) create mode 100644 www/mathopd/pkg-message diff --git a/www/mathopd/Makefile b/www/mathopd/Makefile index 9aca212fe6a3..13c04e7d3bfc 100644 --- a/www/mathopd/Makefile +++ b/www/mathopd/Makefile @@ -26,18 +26,6 @@ post-install: ${ECHO} "[ -x ${PREFIX}/sbin/mathopd ] && ${PREFIX}/sbin/mathopd < ${PREFIX}/etc/mathopd.conf && ${ECHO} -n ' mathopd'" >> ${PREFIX}/etc/rc.d/mathopd.sh; \ ${CHMOD} 440 ${PREFIX}/etc/rc.d/mathopd.sh; \ fi - @${ECHO} "=====================================================================" - @${ECHO} "" - @${ECHO} "Before you start the server you must create a config file." - @${ECHO} "The easiest way to do it is to copy ${PREFIX}/etc/mathopd.conf.sample" - @${ECHO} "to ${PREFIX}/etc/mathopd.conf and edit this file to your taste." - @${ECHO} "" - @${ECHO} "After you've done with that, chmod 540 ${PREFIX}/etc/rc.d/mathopd.sh" - @${ECHO} "and run it." - @${ECHO} "" - @${ECHO} "Also do not forget to create your web hierarchy and to set its" - @${ECHO} "permissions to something secure." - @${ECHO} "" - @${ECHO} "=====================================================================" + @${SED} -e 's,/usr/local,${PREFIX},g' ${PKGMESSAGE} .include diff --git a/www/mathopd/pkg-message b/www/mathopd/pkg-message new file mode 100644 index 000000000000..a83acc6b4f77 --- /dev/null +++ b/www/mathopd/pkg-message @@ -0,0 +1,13 @@ +===================================================================== + +Before you start the server you must create a config file. +The easiest way to do it is to copy /usr/local/etc/mathopd.conf.sample +to /usr/local/etc/mathopd.conf and edit this file to your taste. + +After you've done with that, chmod 540 /usr/local/etc/rc.d/mathopd.sh +and run it. + +Also do not forget to create your web hierarchy and to set its +permissions to something secure. + +===================================================================== -- cgit v1.2.3