1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/www/mathopd/Makefile
Ruslan Makhmatkhanov 6b29d266d3 - update to 1.5p8
Previous version crashes if you send a HTTP/1.0 request with no Host header.

PR:		164737
Submitted by:	Michiel Boland <michiel at boland dot org> (maintainer)
2012-02-03 17:43:05 +00:00

35 lines
995 B
Makefile

# New ports collection makefile for: mathopd HTTPD
# Date created: Sun Oct 31 1999
# Whom: tobez@plab.ku.dk
#
# $FreeBSD$
#
PORTNAME= mathopd
PORTVERSION= 1.5p8
CATEGORIES= www
MASTER_SITES= http://www.mathopd.org/dist/
MAINTAINER= michiel@boland.org
COMMENT= A very small, yet very fast HTTP server
CFLAGS+= -DFREEBSD_SENDFILE
MAKE_ARGS= CFLAGS="${CFLAGS}"
DOCS= CHANGES cgi.txt config.txt running.txt sample.cfg syntax.txt
post-install:
@${INSTALL_DATA} ${WRKSRC}/doc/sample.cfg ${PREFIX}/etc/mathopd.conf.sample
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/mathopd
@${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/mathopd
@${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mathopd
.for df in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/doc/${df} ${PREFIX}/share/doc/mathopd
.endfor
.endif
${INSTALL_SCRIPT} ${FILESDIR}/mathopd.sh ${PREFIX}/etc/rc.d/mathopd.sh-dist
@${SED} -e 's,/usr/local,${PREFIX},g' ${PKGMESSAGE}
.include <bsd.port.mk>