1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/www/mathopd/Makefile
Akinori MUSHA 89a8ae829b 1.3pl4 -> 1.3p4
Grumbled by:	portlint
PR:		ports/19304
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2000-06-08 09:16:07 +00:00

33 lines
1.1 KiB
Makefile

# New ports collection makefile for: mathopd HTTPD
# Date created: Sun Oct 31 1999
# Whom: tobez@plab.ku.dk
#
# $FreeBSD$
#
PORTNAME= mathopd
PORTVERSION= 1.3p4
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@plab.ku.dk
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 \
${ECHO} "#! ${SH}" > ${PREFIX}/etc/rc.d/mathopd.sh; \
${ECHO} "[ -x ${PREFIX}/sbin/mathopd ] && ${PREFIX}/sbin/mathopd < ${PREFIX}/etc/mathopd.conf && ${ECHO} -n ' mathopd'" >> ${PREFIX}/etc/rc.d/mathopd.sh; \
${CHMOD} 440 ${PREFIX}/etc/rc.d/mathopd.sh; \
fi
@${SED} -e 's,/usr/local,${PREFIX},g' ${PKGMESSAGE}
.include <bsd.port.mk>