a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 23053 2007-03-23 20:35:47Z pipping@macports.org $
PortSystem 1.0
name mathopd
version 1.5p4
categories www
maintainers nomaintainer@macports.org
description small, yet very fast HTTP server
long_description \
Mathopd is a very small, yet very fast HTTP server for UN*X \
systems. Mathopd is designed specifically to handle a large \
number of connections with minimal fuss. It contains no \
unnecessary add-ons, but it does the trick for most things.
homepage http://www.mathopd.org/
platforms darwin
master_sites ${homepage}dist/
checksums md5 38b7bfd66b4bd18d4cb41b4ce4703e58
worksrcdir ${distname}/src
patch {
reinplace "s|LIBS = -lcrypt||" ${worksrcpath}/Makefile
}
use_configure no
destroot.destdir PREFIX=${destroot}${prefix}
post-destroot {
file mkdir ${destroot}${prefix}/share/doc
file copy ${worksrcpath}/../doc ${destroot}${prefix}/share/doc/mathopd
}
post-install {
ui_msg ""
ui_msg "Documentation installed into ${prefix}/share/doc/mathopd/"
ui_msg "Mathopd will require some configuration before it can be used."
}