1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/www/mathopd/Makefile
Bernhard Froehlich 7712082b41
www/mathopd: Add CPE information
Approved by:    portmgr (blanket)
2021-08-31 12:00:27 +00:00

35 lines
996 B
Makefile

# Created by: tobez@plab.ku.dk
PORTNAME= mathopd
PORTVERSION= 1.5p8
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.mathopd.org/dist/
MAINTAINER= michiel@boland.org
COMMENT= Small, yet fast HTTP server
LICENSE= BSD3CLAUSE
USES= cpe
CFLAGS+= -DFREEBSD_SENDFILE
OPTIONS_DEFINE= DOCS
DOCS= CHANGES cgi.txt config.txt running.txt sample.cfg syntax.txt
do-install:
${INSTALL} -s ${WRKSRC}/src/mathopd ${STAGEDIR}${PREFIX}/sbin/
${INSTALL_DATA} ${WRKSRC}/doc/sample.cfg ${STAGEDIR}${PREFIX}/etc/mathopd.conf.sample
@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/mathopd
${INSTALL_DATA} ${WRKSRC}/COPYING ${STAGEDIR}${PREFIX}/share/doc/mathopd
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${PREFIX}/share/doc/mathopd
.for df in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${df} ${STAGEDIR}${PREFIX}/share/doc/mathopd
.endfor
${INSTALL_SCRIPT} ${FILESDIR}/mathopd.sh ${STAGEDIR}${PREFIX}/etc/rc.d/mathopd.sh-dist
@${SED} -e 's,/usr/local,${PREFIX},g' ${PKGMESSAGE}
.include <bsd.port.mk>