diff options
author | steve <steve@FreeBSD.org> | 1999-11-26 19:38:30 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-11-26 19:38:30 +0000 |
commit | 973395bbf7e2f10ce37d5762ef07230b26b04b04 (patch) | |
tree | 5d0d8c8ad4e87837c7d10b6b947b801129e22a79 /www/mathopd/Makefile | |
parent | f3f97ca7df6ac3bbc8696b65223fe6952138e7cb (diff) | |
download | FreeBSD-ports-973395bbf7e2f10ce37d5762ef07230b26b04b04.zip FreeBSD-ports-973395bbf7e2f10ce37d5762ef07230b26b04b04.tar.gz |
Initial import of mathopd version 1.3.
A very samll, yet very fast HTTP server.
PR: 14624
Submitted by: Anton Berezin <tobez@plab.ku.dk>
Diffstat (limited to 'www/mathopd/Makefile')
-rw-r--r-- | www/mathopd/Makefile | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/www/mathopd/Makefile b/www/mathopd/Makefile new file mode 100644 index 0000000..f645a28 --- /dev/null +++ b/www/mathopd/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: mathopd HTTPD +# Version required: 1.3 +# Date created: Sun Oct 31 1999 +# Whom: tobez@plab.ku.dk +# +# $FreeBSD$ +# + +DISTNAME= mathopd-1.3 +CATEGORIES= www +MASTER_SITES= http://mathop.diva.nl/dist/ \ + ftp://ftp.prima.eu.org/pub/mirrored_files/mathop.diva.nl/ + +MAINTAINER= tobez@plab.ku.dk + +WRKSRC= ${WRKDIR}/mathopd + +post-install: + @${INSTALL_DATA} ${FILESDIR}/mathopd.conf.sample ${PREFIX}/etc +.if !defined(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/mathopd + @${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/mathopd + @${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/mathopd + @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mathopd +.endif + @if [ ! -f ${PREFIX}/etc/rc.d/mathopd.sh ]; then \ + ${ECHO} "#! ${SH}" > ${PREFIX}/etc/rc.d/mathopd.sh; \ + ${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} "=====================================================================" + +.include <bsd.port.mk> |