diff options
author | mharo <mharo@FreeBSD.org> | 2000-03-31 10:47:47 +0800 |
---|---|---|
committer | mharo <mharo@FreeBSD.org> | 2000-03-31 10:47:47 +0800 |
commit | ea50b6e50a5cf01f213a9a2dee71b18245308730 (patch) | |
tree | 4aaec3f894f49b2adf0592dc489563f1a635f216 /www | |
parent | 879cd5d2e04173d7d65f06497ef2de08b675c021 (diff) | |
download | freebsd-ports-gnome-ea50b6e50a5cf01f213a9a2dee71b18245308730.tar.gz freebsd-ports-gnome-ea50b6e50a5cf01f213a9a2dee71b18245308730.tar.zst freebsd-ports-gnome-ea50b6e50a5cf01f213a9a2dee71b18245308730.zip |
move post install instructions from ${ECHO} lines in Makefile to pkg/MESSAGE
Diffstat (limited to 'www')
-rw-r--r-- | www/mathopd/Makefile | 14 | ||||
-rw-r--r-- | www/mathopd/pkg-message | 13 |
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. + +===================================================================== |