mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
2120cc98a2
PR: 19640 Submitted by: maintainer
31 lines
935 B
Makefile
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.3p5
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://mathop.diva.nl/dist/ \
|
|
ftp://ftp.prima.eu.org/pub/mirrored_files/mathop.diva.nl/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/p/pl/}
|
|
|
|
MAINTAINER= tobez@tobez.org
|
|
|
|
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 \
|
|
${INSTALL_SCRIPT} ${FILESDIR}/mathopd.sh ${PREFIX}/etc/rc.d/mathopd.sh; \
|
|
fi
|
|
@${SED} -e 's,/usr/local,${PREFIX},g' ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|