summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>2000-03-31 02:47:47 +0000
committerMichael Haro <mharo@FreeBSD.org>2000-03-31 02:47:47 +0000
commitb79f32a855852db3f475aa3b31f9ea1766c7bab2 (patch)
tree2ecce1dd4bc01fa7fc329b697b2285a8ba1cc0eb
parentPREFIX->X11BASE (portlint) (diff)
move post install instructions from ${ECHO} lines in Makefile to pkg/MESSAGE
Notes
Notes: svn path=/head/; revision=27162
Diffstat (limited to '')
-rw-r--r--www/mathopd/Makefile14
-rw-r--r--www/mathopd/pkg-message13
2 files changed, 14 insertions, 13 deletions
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 <bsd.port.mk>
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.
+
+=====================================================================