freebsd-ports/www/mathopd/Makefile
Simon L. B. Nielsen 4f8235cc1c - Update to mathopd 1.5p3.
- Fix a portlint warning about missing @dirrm %%DOCSDIR%%.

PR:		ports/66325
Approved by:	vs, maintainer timeout
2004-06-24 11:47:12 +00:00

31 lines
935 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.5p3
CATEGORIES= www
MASTER_SITES= http://www.mathopd.org/dist/
MAINTAINER= tobez@FreeBSD.org
COMMENT= A very small, yet very fast HTTP server
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>