1999-11-26 19:38:30 +00:00
|
|
|
# New ports collection makefile for: mathopd HTTPD
|
|
|
|
# Date created: Sun Oct 31 1999
|
|
|
|
# Whom: tobez@plab.ku.dk
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-10 00:07:29 +00:00
|
|
|
PORTNAME= mathopd
|
2001-02-18 15:37:58 +00:00
|
|
|
PORTVERSION= 1.3p7
|
1999-11-26 19:38:30 +00:00
|
|
|
CATEGORIES= www
|
2001-02-18 15:37:58 +00:00
|
|
|
MASTER_SITES= http://www.mathopd.org/dist/ \
|
|
|
|
ftp://ftp.prima.eu.org/pub/mirrored_files/mathop.diva.nl/ \
|
|
|
|
http://www.tobez.org/download/port-mirrors/www/mathopd/
|
2000-06-08 09:16:07 +00:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/p/pl/}
|
1999-11-26 19:38:30 +00:00
|
|
|
|
2001-06-12 19:25:41 +00:00
|
|
|
MAINTAINER= tobez@FreeBSD.org
|
1999-11-26 19:38:30 +00:00
|
|
|
|
|
|
|
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 \
|
2000-07-05 12:37:06 +00:00
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/mathopd.sh ${PREFIX}/etc/rc.d/mathopd.sh; \
|
1999-11-26 19:38:30 +00:00
|
|
|
fi
|
2000-03-31 02:47:47 +00:00
|
|
|
@${SED} -e 's,/usr/local,${PREFIX},g' ${PKGMESSAGE}
|
1999-11-26 19:38:30 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|